prependers 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a1eac50893ccb55164b21b283e65e94391b83ffc31eda995e0f165563b061f3
4
- data.tar.gz: 38a7b5ef5a65a0f770c3d266a4f25f9ef70826619222e40e8fbdddd45af27c9f
3
+ metadata.gz: 39bb185024ffbd5e1990762b1ce35647de0ce67b4ca5439d56effc648a8b2a01
4
+ data.tar.gz: 40c40def58d727176833e52d70bd5e6493c2419893c0caad5fa5a3c1d9fa9059
5
5
  SHA512:
6
- metadata.gz: 717c6c18e4c420c290991b5875efbc665c06e52ab52fd2e06d683c0e9c3397645ded55cdc46b6b98247d030690d8a92a67f69d358fe250d4d06c3a0df6e70629
7
- data.tar.gz: b43b8612c46d2db304c9bfa7765a73f944ec4600e0edd84f6238cbb783ee99a1ed526c5ef45f03c36c68f2d41ff11b6e13fe79ab66f429eb3d8b26a9aea13ed3
6
+ metadata.gz: 34fbaadfbd900fb89f73cba677cb66c0849941b18388de06e30b2a00e1e34c33090ed66be3b9456ce3d9b9d6a0ab672f07740975352dc74dab2bdbbd512cbd38
7
+ data.tar.gz: a0aa3bbef7ce89d651ade152f433c0036d1f60b8aaeb4e865b8644833f1405f1813eeb40f32826916e1e0c3545ab8c15f22a37cf992df29eb203edfabd4f1e3d
data/CHANGELOG.md ADDED
@@ -0,0 +1,22 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
6
+ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.1] - 2019-06-21
11
+
12
+ ### Fixed
13
+
14
+ - Prependers are now always loaded in alphabetical order ([#3](https://github.com/nebulab/prependers/pull/3))
15
+
16
+ ## [0.1.0] - 2019-06-21
17
+
18
+ Initial release.
19
+
20
+ [Unreleased]: https://github.com/nebulab/prependers/compare/v0.1.1...HEAD
21
+ [0.1.1]: https://github.com/nebulab/prependers/compare/v0.1.0...v0.1.1
22
+ [0.1.0]: https://github.com/nebulab/prependers/releases/tag/v0.1.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prependers (0.1.0)
4
+ prependers (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -18,7 +18,7 @@ GEM
18
18
  rspec-core (~> 3.8.0)
19
19
  rspec-expectations (~> 3.8.0)
20
20
  rspec-mocks (~> 3.8.0)
21
- rspec-core (3.8.1)
21
+ rspec-core (3.8.2)
22
22
  rspec-support (~> 3.8.0)
23
23
  rspec-expectations (3.8.4)
24
24
  diff-lcs (>= 1.2.0, < 2.0)
@@ -57,4 +57,4 @@ DEPENDENCIES
57
57
  rubocop-rspec (~> 1.33)
58
58
 
59
59
  BUNDLED WITH
60
- 1.17.2
60
+ 1.17.3
data/README.md CHANGED
@@ -45,7 +45,9 @@ Animals::Dog.new.bark # => 'Woof!'
45
45
 
46
46
  ### Autoloading prependers
47
47
 
48
- If you don't want to include `Prependers::Prepender`, you can also autoload prependers from a path.
48
+ If you don't want to include `Prependers::Prepender`, you can also autoload prependers from a path,
49
+ they will be loaded in alphabetical order.
50
+
49
51
  Here's the previous example, but with autoloading:
50
52
 
51
53
  ```ruby
@@ -10,7 +10,7 @@ module Prependers
10
10
  end
11
11
 
12
12
  def load
13
- Dir.glob("#{base_path}/**/*.rb") do |path|
13
+ Dir.glob("#{base_path}/**/*.rb").sort.each do |path|
14
14
  absolute_path = Pathname.new(File.expand_path(path))
15
15
  relative_path = absolute_path.relative_path_from(base_path)
16
16
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prependers
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/prependers.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.authors = ["Alessandro Desantis"]
11
11
  spec.email = ["desa.alessandro@gmail.com"]
12
12
 
13
- spec.summary = 'Decorate vendor code with style.'
13
+ spec.summary = 'Easily and cleanly extend third-party code.'
14
14
  spec.homepage = 'https://github.com/nebulab/prependers'
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prependers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Desantis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-21 00:00:00.000000000 Z
11
+ date: 2019-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,6 +121,7 @@ files:
121
121
  - ".rubocop-https---relaxed-ruby-style-rubocop-yml"
122
122
  - ".rubocop.yml"
123
123
  - ".travis.yml"
124
+ - CHANGELOG.md
124
125
  - Gemfile
125
126
  - Gemfile.lock
126
127
  - LICENSE.txt
@@ -153,8 +154,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
154
  - !ruby/object:Gem::Version
154
155
  version: '0'
155
156
  requirements: []
156
- rubygems_version: 3.0.3
157
+ rubygems_version: 3.0.4
157
158
  signing_key:
158
159
  specification_version: 4
159
- summary: Decorate vendor code with style.
160
+ summary: Easily and cleanly extend third-party code.
160
161
  test_files: []