dry-configurable 0.11.3 → 0.11.4

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: b4e11fe2beb3ca860f4ef98b8f3fc6ea85d9a6f6057b655e8bc75390ec5e467f
4
- data.tar.gz: 56492140c1b08b72debe6e949ef1b267620aced64ddfb723b9f46ac547cc998a
3
+ metadata.gz: 0ce88823de6e7eee294f11a792b0f22448792fdb5a716208aae79218877600ae
4
+ data.tar.gz: 256cb4668c2f734701f9b70869b5c3e836ca487e3b87d569e702f180b2703976
5
5
  SHA512:
6
- metadata.gz: 7b5fee57d11e0e146e94c9b238b8f54244faab044168f62c1e34b29c597603dc99da65ddb65cf6572a5e8a2c695c706e00df4170ca5f9d3f6d8d16e6adb83fc4
7
- data.tar.gz: 92706b85b212df1a27323e074dfcaf652a52c9e7ba08ef1c9905e1db33d99b8dc1ae88797ac56dde2110862cf76381d5d09db67f8d5e9a5afbc08f1f887aa375
6
+ metadata.gz: dd015b360b01f42e98f2df1936b5ebadbf027077fc6e7be5ff9c8aee06a1973099e67ef26488ffca0c869d45c988c5534a7d4c616d5a3ac8616fe04f337077b1
7
+ data.tar.gz: f2f69619243a1e9571060da0b568b804711ed70f100f6facf3e3eee6c7fcbcd47034ca71d25e51a47f582b0e5ed68332ad4f80d3f86fbb4442c10184d1dae351
@@ -1,3 +1,16 @@
1
+ ## 0.11.4 2020-03-16
2
+
3
+
4
+ ### Fixed
5
+
6
+ - `Config#update` returns `self` again (issue #60 fixed via #92) (@solnic)
7
+
8
+ ### Changed
9
+
10
+ - `Setting#inspect` no longer uses its value - this could cause crashes when inspecting settings that are yet to have a value applied (e.g. when they have a constructor that expects a value to be present) (@timriley)
11
+
12
+ [Compare v0.11.3...v0.11.4](https://github.com/dry-rb/dry-configurable/compare/v0.11.3...v0.11.4)
13
+
1
14
  ## 0.11.3 2020-02-22
2
15
 
3
16
 
@@ -50,7 +50,7 @@ module Dry
50
50
 
51
51
  # Update config with new values
52
52
  #
53
- # @param [Hash] A hash with new values
53
+ # @param values [Hash] A hash with new values
54
54
  #
55
55
  # @return [Config]
56
56
  #
@@ -64,6 +64,7 @@ module Dry
64
64
  self[key] = value
65
65
  end
66
66
  end
67
+ self
67
68
  end
68
69
 
69
70
  # Dump config into a hash
@@ -13,7 +13,7 @@ module Dry
13
13
  #
14
14
  # @api private
15
15
  class Setting
16
- include Dry::Equalizer(:name, :value, :options)
16
+ include Dry::Equalizer(:name, :value, :options, inspect: false)
17
17
 
18
18
  OPTIONS = %i[input default reader constructor settings].freeze
19
19
 
@@ -3,6 +3,6 @@
3
3
  module Dry
4
4
  module Configurable
5
5
  # @api public
6
- VERSION = '0.11.3'
6
+ VERSION = '0.11.4'
7
7
  end
8
8
  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.11.3
4
+ version: 0.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Holland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-22 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby