bunka 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bunka.gemspec +2 -2
- data/lib/bunka.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1668ff5e284d53438c371ea3360c40a2c55d9ca3
|
4
|
+
data.tar.gz: 8b565b37303e850503ca82b826bcefd0bbd3ab11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59f8261fbb554bee986f15437a5048e426ce584376b50e260e73951737f34842fe27f2027744e4dcc8f0ff465312d7b40b1498a0b2bfcb086d398742e3f67e67
|
7
|
+
data.tar.gz: b62c453f10d1e0d5a50b6da8e8175e89904da726b6fa129f09ad88ede6460f14289d4e1f5970d38577241bd1dfc8c1a837df079d3d5270323588216ea39666b6
|
data/bunka.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'bunka'
|
3
|
-
spec.version = '1.
|
3
|
+
spec.version = '1.1.0'
|
4
4
|
spec.executables << 'bunka'
|
5
5
|
spec.date = '2013-11-26'
|
6
6
|
spec.summary = 'Parallel ssh commands over chef servers with rspec-like output'
|
@@ -14,6 +14,6 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.add_dependency 'chef', '~> 11.0'
|
15
15
|
spec.add_dependency 'colorize'
|
16
16
|
spec.add_dependency 'net-ssh'
|
17
|
-
spec.add_dependency '
|
17
|
+
spec.add_dependency 'parallel'
|
18
18
|
spec.add_dependency 'thor'
|
19
19
|
end
|
data/lib/bunka.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'parallel'
|
2
2
|
|
3
3
|
require 'bunka/chef'
|
4
4
|
require 'bunka/helpers'
|
@@ -15,7 +15,7 @@ class Bunka
|
|
15
15
|
@verbose_success = verbose_success
|
16
16
|
@invert = invert
|
17
17
|
|
18
|
-
knife_search(@query)
|
18
|
+
Parallel.map(knife_search(@query), in_threads: 15) do |fqdn|
|
19
19
|
execute_query fqdn
|
20
20
|
end
|
21
21
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bunka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven De Coeyer
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
57
|
+
name: parallel
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '>='
|