bunka 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bunka.gemspec +2 -2
  3. data/lib/bunka.rb +2 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15c3ca86492b6584d7aca3670d81e695b60f83d9
4
- data.tar.gz: a8596986171561cdc14beceb00d5f827ce36011b
3
+ metadata.gz: 1668ff5e284d53438c371ea3360c40a2c55d9ca3
4
+ data.tar.gz: 8b565b37303e850503ca82b826bcefd0bbd3ab11
5
5
  SHA512:
6
- metadata.gz: ba6c1bb029b7874aa0777bd5d89aef501c45dccd9e2dd9059aa37d028c88a787d2941b490f3fd1ea201bf9911edb91c2824d353bf18d5f7ed96259e8b20d4756
7
- data.tar.gz: c83987e198413dbdf62da7d4eac45b8f22585f32d164928c747e6609a303840798969c3d4a8f9ff127edef94f88b7ba3adc80cf193dd4c569ebd2e8cd5c11d16
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.0.0'
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 'peach'
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 'peach'
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).peach(5) do |fqdn|
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.0.0
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: peach
57
+ name: parallel
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '>='