dry-configurable 0.8.1 → 0.8.2

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: 5a40d3c74b923a52b7d74d96600f67bad483625a248d83ee0139c7fb285bec50
4
- data.tar.gz: d97935f57d0ae4183b8ce3731d9ec70556247f9b8f877e0834e4400d0cdc06e7
3
+ metadata.gz: d887f103c0ed0fd736431078b05c29ce450fa8ab88ed96889b2d05cb8670c6ce
4
+ data.tar.gz: 84fb60565b1c59c61073c55a99ce3b5024c5512d03b6d1b0ac0d59669a445540
5
5
  SHA512:
6
- metadata.gz: b8316a1e6452893883125f7cd4f5d365ee72f1a6c5a5d0f465d8902f0b689b9a735bc6603bea1c7e6dfb84899554ce414684677cd9895067d595a84b89d6ad59
7
- data.tar.gz: b41eb7442aaf0e0c8440215d61927bd32f13aa2ae70950b05228b49f28d2dd226d12ef3750fac712b1813f5416487a78e4021419778c6c59837dbdc9d3945864
6
+ metadata.gz: 5db9fe27dc5b96dfc2a376d07c538e437b2b155aa623b8a393a974a8798aea3174780cc5f4eaeee9e094c74cbc22a39152eca7165ac7d8e12c632cc4367d6fa4
7
+ data.tar.gz: 74d8b6c381e846179a4eb7c65ff3baac6a05e5eb520c188a005867e1124a2f456b47d983c4684824f8533c92787ace4df20aedb35470bfec4676b5a44b9fdbbc
@@ -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.0
15
- - jruby-9.2.5.0
12
+ - 2.6.1
13
+ - jruby-9.2.6.0
16
14
  env:
17
15
  global:
18
16
  - JRUBY_OPTS='--dev -J-Xmx1024M'
@@ -1,3 +1,11 @@
1
+ ## 0.8.2 - 2019-02-25
2
+
3
+ ## Fixed
4
+
5
+ * Test interface support for modules ([Neznauy](https://github.com/Neznauy))
6
+
7
+ [Compare v0.8.1...v0.8.2](https://github.com/dry-rb/dry-configurable/compare/v0.8.1...v0.8.2)
8
+
1
9
  ## 0.8.1 - 2019-02-06
2
10
 
3
11
  ## Fixed
@@ -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?(Class)
12
- @config = _settings.create_config
13
- else
14
- @config = self.class._settings.create_config
15
- end
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
 
@@ -1,6 +1,6 @@
1
1
  module Dry
2
2
  module Configurable
3
3
  # @api public
4
- VERSION = '0.8.1'.freeze
4
+ VERSION = '0.8.2'.freeze
5
5
  end
6
6
  end
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.1
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-06 00:00:00.000000000 Z
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: