ops_team 1.9.1 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/builtins/down.rb +7 -1
- 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: 21ea800cf1d407a6b9e372b422ac29ae6e7ace9597e55181aaef981290382dca
|
4
|
+
data.tar.gz: 37f00565ecdcfa789df0022a83352966e2c54080979321d82baaa2a0e99868aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f5a443b2cc90a6d390a4f8f8805e1ab7236af5a04921177569ae8f64d7288295a83823606cbbc4402be419152a1ae2072e7704b846ee2653191d86bcb2be4ef
|
7
|
+
data.tar.gz: af770963d44d9eca6140d033626751143de5561625fb4180906350eeb0b6c36391c0193267e7ed32c37ce0f47ccc70a332561ed011ccf126538c04badc543146
|
data/lib/builtins/down.rb
CHANGED
@@ -22,7 +22,7 @@ module Builtins
|
|
22
22
|
private
|
23
23
|
|
24
24
|
def dependency_handler
|
25
|
-
Helpers::DependencyHandler.new(
|
25
|
+
Helpers::DependencyHandler.new(deps_to_meet)
|
26
26
|
end
|
27
27
|
|
28
28
|
def unmeet_dependencies
|
@@ -48,5 +48,11 @@ module Builtins
|
|
48
48
|
Output.out(dependency.output)
|
49
49
|
end
|
50
50
|
end
|
51
|
+
|
52
|
+
def deps_to_meet
|
53
|
+
return @config["dependencies"] if @args.empty?
|
54
|
+
|
55
|
+
return @config["dependencies"].select { |dep, names| @args.include?(dep) }
|
56
|
+
end
|
51
57
|
end
|
52
58
|
end
|
data/ops_team.gemspec
CHANGED