dry-configurable 0.8.0 → 0.8.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: b54f274cf2ae374ac89bd1e3342da1ccf4c066ab220bdb8fd19c726be6f5d717
4
- data.tar.gz: 6045cf60f22c40d231335ec10b84207fda52e888ca6eeba5d953267af782f148
3
+ metadata.gz: 5a40d3c74b923a52b7d74d96600f67bad483625a248d83ee0139c7fb285bec50
4
+ data.tar.gz: d97935f57d0ae4183b8ce3731d9ec70556247f9b8f877e0834e4400d0cdc06e7
5
5
  SHA512:
6
- metadata.gz: 02f95a505041d9b8d6ea199ce17aff5fd37e076577be2d5fd690a6350956f46c553a9d9972d447acdf6a97d370a44c6605c2c0c88f59ec821034977d9e33d6e1
7
- data.tar.gz: af67f8149439b833d1898671ed187a5d1ca1e7d85aa6670723759016188092d8476b0a66574eedd70972c7f52f6534039a58854864c5e913f3d2f724696de9cc
6
+ metadata.gz: b8316a1e6452893883125f7cd4f5d365ee72f1a6c5a5d0f465d8902f0b689b9a735bc6603bea1c7e6dfb84899554ce414684677cd9895067d595a84b89d6ad59
7
+ data.tar.gz: b41eb7442aaf0e0c8440215d61927bd32f13aa2ae70950b05228b49f28d2dd226d12ef3750fac712b1813f5416487a78e4021419778c6c59837dbdc9d3945864
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ tmp/
6
6
  .idea/
7
7
  Gemfile.lock
8
8
  spec/examples.txt
9
+ pkg/
@@ -1,3 +1,11 @@
1
+ ## 0.8.1 - 2019-02-06
2
+
3
+ ## Fixed
4
+
5
+ * `.configure` doesn't require a block, this makes the behavior consistent with the previous versions ([flash-gordon](https://github.com/flash-gordon))
6
+
7
+ [Compare v0.8.0...v0.8.1](https://github.com/dry-rb/dry-configurable/compare/v0.8.0...v0.8.1)
8
+
1
9
  ## 0.8.0 - 2019-02-05
2
10
 
3
11
  ## Fixed
@@ -157,7 +157,7 @@ module Dry
157
157
  # @api public
158
158
  def configure
159
159
  raise FrozenConfig, 'Cannot modify frozen config' if frozen?
160
- yield(config)
160
+ yield(config) if block_given?
161
161
  self
162
162
  end
163
163
 
@@ -1,6 +1,6 @@
1
1
  module Dry
2
2
  module Configurable
3
3
  # @api public
4
- VERSION = '0.8.0'.freeze
4
+ VERSION = '0.8.1'.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.0
4
+ version: 0.8.1
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-05 00:00:00.000000000 Z
11
+ date: 2019-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby