dry-stack 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dry-stack/stack.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a4fed59cd07dcdeb1788798186be34846af81162c9c1b79671338b3a6846de7
|
4
|
+
data.tar.gz: 3aa8628ba5a4a367c96d5374d1bf1b410390f04ec7955e7640897bbe486d0c78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be22124fb07f4086a0371bef1ff8aea337818b2810555ba51d8da7e966c828af09607f12ef8e53712f0ca3933fd65a7882b58914cfa9c653c7f04a7d43167073
|
7
|
+
data.tar.gz: b082153e1198e1ca4f6ae130ceef4763e938a8cff911e809d0bbb840341e1d40513c71556f356b2a7ad298aef97edc837cac114458565b8b1ac4e7d85ca1c4a7
|
data/lib/dry-stack/stack.rb
CHANGED
@@ -382,11 +382,11 @@ module Dry
|
|
382
382
|
yield if block_given?
|
383
383
|
end
|
384
384
|
|
385
|
-
def Configuration(name, opts = {}, &)
|
385
|
+
def Configuration(name, opts = {}, &b)
|
386
386
|
configuration = @configurations[name.to_sym] ||= {}
|
387
387
|
configuration.merge! opts
|
388
388
|
configuration.merge! block_function: -> {
|
389
|
-
instance_exec(&) if block_given? # https://rubyreferences.github.io/rubychanges/3.3.html#anonymous-parameters-forwarding-inside-blocks-are-disallowed
|
389
|
+
instance_exec(&b) if block_given? # https://rubyreferences.github.io/rubychanges/3.3.html#anonymous-parameters-forwarding-inside-blocks-are-disallowed
|
390
390
|
}
|
391
391
|
end
|
392
392
|
|
data/lib/version.rb
CHANGED