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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fd6e0089c344fed6c8996c7621409e15a9be58f8ea6230d42d9e9e2512caf0c
4
- data.tar.gz: 2d5cf64ee8a5f76f1657b41721602c8df92d157a22d10a38bce4abc6b3777714
3
+ metadata.gz: 21ea800cf1d407a6b9e372b422ac29ae6e7ace9597e55181aaef981290382dca
4
+ data.tar.gz: 37f00565ecdcfa789df0022a83352966e2c54080979321d82baaa2a0e99868aa
5
5
  SHA512:
6
- metadata.gz: 4af29af996f97cc07379cecc16a0a97f9ca4f656330d58242071cbda2221c5d7c6f94e3d28b465ff127ab478dab250b4eaec2384c1baa519918ec5ecdc3a6340
7
- data.tar.gz: b33dc122c430a3fe53de740f1dd7b3df9a0cd908cecaf707d1d6d5ee080531e3301ed0cc7128a5a04bae39a6165face8871afb795ddf9784bc2b052af91f7dc3
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(@config["dependencies"])
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ops_team'
5
- s.version = '1.9.1'
5
+ s.version = '1.10.0'
6
6
  s.authors = [
7
7
  'nickthecook@gmail.com'
8
8
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_team
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - nickthecook@gmail.com