dry-stack 0.1.20 → 0.1.21

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: 5ab436bec3dbf1350bfb81b1593fe002a3e5b59e9684320386bb6f2233955277
4
- data.tar.gz: 5e04bf7862264a5b61c9638ac348dc3b882239104ca053c1532bf459881faef8
3
+ metadata.gz: 4bd5ab47b63266a1e1e54a8844b924e9455c72f320d68506ff174dafd7571b1b
4
+ data.tar.gz: 623bee4d0cb0c75e33071ab68c2f6c74d999be29c273f996279116aab5869959
5
5
  SHA512:
6
- metadata.gz: efb9473eeedb34f7786935baecd2660021c1c3e0e6012fb9c14e2c6e366e3398da9958cde7a18f2ebdd9848538dc3fe8f15759415f09bfc329735c96860496e0
7
- data.tar.gz: 06c5e16805ca23f4681ad0be7a505c60778764044da8d415e567058e336df64743227fb522334d3b8010d63f770dbfc94da976d910dc5a56dc966efffc0d4690
6
+ metadata.gz: 4955082fb8d0ff8571e146729aadee84e2719e2184c82cb6b8fc7d6e4a0752e9a2bea6b1d025452bdd7640915e4ed732f011ae87f489a286bdece84d0f54cb09
7
+ data.tar.gz: a862676215c6897fc6fabe7dc496b03f0a01c7c20068e0956f148581b28b4de116d41094269ffb71a9e795072cba7a870582dea1dd6d96b01c9ded1249578f88
@@ -276,6 +276,8 @@ module Dry
276
276
  end
277
277
 
278
278
  service[:networks]&.each do |name, network|
279
+ # raise "network name is invalid: #{name}" unless name.is_a? String, Symbol # https://bugs.ruby-lang.org/issues/20793
280
+ raise "network name is invalid: #{name}" unless [String, Symbol].include?(name.class)
279
281
  next unless network.is_a? Hash
280
282
 
281
283
  (compose[:networks][name] ||= {}).merge! network.except(:aliases)
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  class Stack
3
- VERSION = '0.1.20'
3
+ VERSION = '0.1.21'
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.1.20
4
+ version: 0.1.21
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-10-09 00:00:00.000000000 Z
11
+ date: 2024-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake