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 +4 -4
- data/lib/dry-stack/stack.rb +2 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bd5ab47b63266a1e1e54a8844b924e9455c72f320d68506ff174dafd7571b1b
|
4
|
+
data.tar.gz: 623bee4d0cb0c75e33071ab68c2f6c74d999be29c273f996279116aab5869959
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4955082fb8d0ff8571e146729aadee84e2719e2184c82cb6b8fc7d6e4a0752e9a2bea6b1d025452bdd7640915e4ed732f011ae87f489a286bdece84d0f54cb09
|
7
|
+
data.tar.gz: a862676215c6897fc6fabe7dc496b03f0a01c7c20068e0956f148581b28b4de116d41094269ffb71a9e795072cba7a870582dea1dd6d96b01c9ded1249578f88
|
data/lib/dry-stack/stack.rb
CHANGED
@@ -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
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.
|
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-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|