sshkit-custom-dsl 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: e8f3a7e06948009a73739025626b4fe7b8288616
4
- data.tar.gz: 5a8f58fa5f89451677c34537264944c97ec887e0
3
+ metadata.gz: 867e0d7f0ec3e1e7cabaeb2a475cb0a8b4037ae5
4
+ data.tar.gz: 9aa920c2586eefb0679bfbe71081e482aaf660fc
5
5
  SHA512:
6
- metadata.gz: 13341fbc9d9f45cd000bc83d42ca07ff831cb1ac74bc9006a0511e972325b045ba6b765f73f29eab63f6b0eecb3c5ef5c8246558326292bb08a47a824f044b42
7
- data.tar.gz: 69c4b18f58bf6d6a506bf94626ffe4cfd97a8f9741ee4484447cd7b1f6a5b890654989d0849846a5ca5997fd4b7bac5a28377402fab09f078126045b667bbeff
6
+ metadata.gz: 6506a298603b51b54aaf2ae51a1f0bab46f4b1ed0db0da2b36d3e2ffc2ed226e3d5bd8f45b66af9af620c9788f6f73c20e23bfdc6aee452ea09a16251ec1cd9b
7
+ data.tar.gz: 7995878880469aee3e526afd4238e898afee55b01026c300b88a2d587a63e244fa779f0cd0a9d844197bbd9251f7879f173512e46561596212d737ff586b7ef0
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Sshkit::Custom::Dsl
2
2
 
3
- TODO: Write a gem description
3
+ Exchanges original sshkit dsl against a custom dsl. This DSL does not change the scope of the blocks.
4
+ Furthor more it uses `Rake::Threadpool`, to handle parallel requests. Keep in mind `Runner::Parallel`
5
+ and Runner::Group are execute all blocks in *parallel threads*, so do it thread save.
4
6
 
5
7
  ## Installation
6
8
 
@@ -9,7 +9,7 @@ module SSHKit
9
9
  def apply_block_to_bcks(&block)
10
10
  backends.each_slice(group_size).collect do |group_backends|
11
11
 
12
- Parallel.new(nil, nil).tap do |runner|
12
+ Parallel.new(options).tap do |runner|
13
13
  runner.backends = group_backends
14
14
  runner.apply_block_to_bcks(&block)
15
15
  end
@@ -1,7 +1,7 @@
1
1
  module SSHKit
2
2
  module Custom
3
3
  module DSL
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sshkit-custom-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dieter Späth