dry-stack 0.0.72 → 0.0.73

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: 7f35a469754d680757e756d963d51626b61036f72ded01624da7b83c265df270
4
- data.tar.gz: 505a63cfb76e1f52e616ad8db6d2a61f4d1c414c2db1e2930f47678669b4efdc
3
+ metadata.gz: 37226df6d0e55d14a71d2d58fe9bb9c2cbff43fc7f91e81f23d33bb9a1deb37f
4
+ data.tar.gz: 18e0f8893cb5cc8b26fe7ed0ae23d0b60c91b93c4fa06799d333ac553ee3e9f1
5
5
  SHA512:
6
- metadata.gz: b31cdaa49ea775772f96b7975cf2948eefb0aa2889efa4177aae65f6932d376e433c1cb3c857f1090b6576fb373c6fb0c087eef5957009d808dcbab620eba563
7
- data.tar.gz: 2f5840ec782285994e355950fe7d3fa856f275729351160999c973f81520867f41f35934c9636ae3f49efe4ed0207afc5ea9b34991e23fc24063e44e53bd0578
6
+ metadata.gz: 713ede878b90a841206f6ecc51dc6468de0168a6b401f5c3b9d9f054329b0f190cd7c6e9730befb21a631a08353dd97590ce25107c2b7ec7da0e92468bc4b6a2
7
+ data.tar.gz: 0e61ba0b8a116d1d386e1b032f08f85fa4dd73acc1e3e1b46b6529a126480ba0c24255e55083df2be204348d0887cd51d048b934db8dd10bc4c157e74e7fde3f
@@ -313,10 +313,15 @@ module Dry
313
313
  yield if block_given?
314
314
  end
315
315
 
316
- def Logging(names, opts = {})
317
- [names].flatten.each do |name|
318
- @logging[name.to_sym] = opts
316
+ def Logging(names = nil, opts )
317
+ if names
318
+ [names].flatten.each do |name|
319
+ (@logging[name.to_sym] ||= {}).merge! expand_hash(opts)
320
+ end
321
+ else
322
+ @logging.merge! expand_hash(opts)
319
323
  end
324
+
320
325
  end
321
326
 
322
327
  def Volume(name, opts = {})
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  class Stack
3
- VERSION = '0.0.72'
3
+ VERSION = '0.0.73'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-stack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.72
4
+ version: 0.0.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-05 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake