ops_team 0.9.6 → 0.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/builtins/exec.rb +6 -1
- data/lib/ops.rb +10 -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: cf41e11aef46cc62ac4ce648aac3c84ed2de854a23ffe8cc2a89d9a678fde503
|
4
|
+
data.tar.gz: 84bb677017c9e7ff084f6c3635a6228c26080736c1f27ccfdb6b9a761f3b1f33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6319116434905f139d5b9853f96cfe7efa9934d34f66df17a0abc1aed531b4389ab163039c867560a53b27738c472f5642aa9de1af7d528b9e2f2d9b6073dc49
|
7
|
+
data.tar.gz: ff9c8c68c014e39616e572e6fe74fc988d15807da12fd4c99fc7d91144d667bb7e386c62f68af659ca349116566adbc5a473b77a8be33c75dffcd69b6fbfd661
|
data/lib/builtins/exec.rb
CHANGED
data/lib/ops.rb
CHANGED
@@ -77,8 +77,16 @@ class Ops
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def actions
|
80
|
-
|
81
|
-
|
80
|
+
@actions ||= begin
|
81
|
+
if config["actions"]
|
82
|
+
config["actions"]&.transform_values do |config|
|
83
|
+
Action.new(config, @args)
|
84
|
+
end
|
85
|
+
else
|
86
|
+
# only print this error if ops.yml had something in it
|
87
|
+
Output.warn("'ops.yml' has no 'actions' defined.") if config.any?
|
88
|
+
{}
|
89
|
+
end
|
82
90
|
end
|
83
91
|
end
|
84
92
|
|
data/ops_team.gemspec
CHANGED