ops_team 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dependencies/custom.rb +2 -2
- data/ops_team.gemspec +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: 5fd6e0089c344fed6c8996c7621409e15a9be58f8ea6230d42d9e9e2512caf0c
|
4
|
+
data.tar.gz: 2d5cf64ee8a5f76f1657b41721602c8df92d157a22d10a38bce4abc6b3777714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4af29af996f97cc07379cecc16a0a97f9ca4f656330d58242071cbda2221c5d7c6f94e3d28b465ff127ab478dab250b4eaec2384c1baa519918ec5ecdc3a6340
|
7
|
+
data.tar.gz: b33dc122c430a3fe53de740f1dd7b3df9a0cd908cecaf707d1d6d5ee080531e3301ed0cc7128a5a04bae39a6165face8871afb795ddf9784bc2b052af91f7dc3
|
data/lib/dependencies/custom.rb
CHANGED
@@ -31,11 +31,11 @@ module Dependencies
|
|
31
31
|
private
|
32
32
|
|
33
33
|
def up_command
|
34
|
-
@up_command ||= @definition.is_a?(Hash) ? @config
|
34
|
+
@up_command ||= @definition.is_a?(Hash) ? @config&.dig("up") : name
|
35
35
|
end
|
36
36
|
|
37
37
|
def down_command
|
38
|
-
@down_command ||= @config
|
38
|
+
@down_command ||= @config && @config&.dig("down") || nil
|
39
39
|
end
|
40
40
|
|
41
41
|
def parse_definition
|
data/ops_team.gemspec
CHANGED