dry-configurable 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -4
- data/CHANGELOG.md +8 -0
- data/dry-configurable.gemspec +5 -0
- data/lib/dry/configurable/test_interface.rb +5 -5
- data/lib/dry/configurable/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d887f103c0ed0fd736431078b05c29ce450fa8ab88ed96889b2d05cb8670c6ce
|
|
4
|
+
data.tar.gz: 84fb60565b1c59c61073c55a99ce3b5024c5512d03b6d1b0ac0d59669a445540
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5db9fe27dc5b96dfc2a376d07c538e437b2b155aa623b8a393a974a8798aea3174780cc5f4eaeee9e094c74cbc22a39152eca7165ac7d8e12c632cc4367d6fa4
|
|
7
|
+
data.tar.gz: 74d8b6c381e846179a4eb7c65ff3baac6a05e5eb520c188a005867e1124a2f456b47d983c4684824f8533c92787ace4df20aedb35470bfec4676b5a44b9fdbbc
|
data/.travis.yml
CHANGED
|
@@ -3,16 +3,14 @@ dist: trusty
|
|
|
3
3
|
sudo: required
|
|
4
4
|
cache: bundler
|
|
5
5
|
bundler_args: --without console
|
|
6
|
-
script:
|
|
7
|
-
- bundle exec rake spec
|
|
8
6
|
after_success:
|
|
9
7
|
- '[ -d coverage ] && bundle exec codeclimate-test-reporter'
|
|
10
8
|
rvm:
|
|
11
9
|
- 2.3.8
|
|
12
10
|
- 2.4.5
|
|
13
11
|
- 2.5.3
|
|
14
|
-
- 2.6.
|
|
15
|
-
- jruby-9.2.
|
|
12
|
+
- 2.6.1
|
|
13
|
+
- jruby-9.2.6.0
|
|
16
14
|
env:
|
|
17
15
|
global:
|
|
18
16
|
- JRUBY_OPTS='--dev -J-Xmx1024M'
|
data/CHANGELOG.md
CHANGED
data/dry-configurable.gemspec
CHANGED
|
@@ -14,6 +14,11 @@ Gem::Specification.new do |spec|
|
|
|
14
14
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
15
15
|
spec.require_paths = ['lib']
|
|
16
16
|
|
|
17
|
+
spec.metadata = {
|
|
18
|
+
'source_code_uri' => 'https://github.com/dry-rb/dry-configurable',
|
|
19
|
+
'changelog_uri' => 'https://github.com/dry-rb/dry-configurable/blob/master/CHANGELOG.md'
|
|
20
|
+
}
|
|
21
|
+
|
|
17
22
|
spec.required_ruby_version = ">= 2.3.0"
|
|
18
23
|
spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
|
|
19
24
|
spec.add_runtime_dependency 'dry-core', '~> 0.4', '>= 0.4.7'
|
|
@@ -8,11 +8,11 @@ module Dry
|
|
|
8
8
|
#
|
|
9
9
|
# @api public
|
|
10
10
|
def reset_config
|
|
11
|
-
if self.is_a?(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
@config = if self.is_a?(Module)
|
|
12
|
+
_settings.create_config
|
|
13
|
+
else
|
|
14
|
+
self.class._settings.create_config
|
|
15
|
+
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
18
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dry-configurable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andy Holland
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-02-
|
|
11
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: concurrent-ruby
|
|
@@ -117,7 +117,9 @@ files:
|
|
|
117
117
|
homepage: https://github.com/dry-rb/dry-configurable
|
|
118
118
|
licenses:
|
|
119
119
|
- MIT
|
|
120
|
-
metadata:
|
|
120
|
+
metadata:
|
|
121
|
+
source_code_uri: https://github.com/dry-rb/dry-configurable
|
|
122
|
+
changelog_uri: https://github.com/dry-rb/dry-configurable/blob/master/CHANGELOG.md
|
|
121
123
|
post_install_message:
|
|
122
124
|
rdoc_options: []
|
|
123
125
|
require_paths:
|