rrrspec-client 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rrrspec/client/cli.rb +4 -0
- data/lib/rrrspec/client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68980fcfaebf4d6eecc9ab312862add3222cefb4
|
4
|
+
data.tar.gz: 0024f08d44f75f481645d833d84a41d5acbeb337
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c36f5504895a7cf0dcbb39aec58c8c0c572202f8408efd0c6bdec275b9a40ba4eb13dd3ce99d30dee36d9aa4ad7721b66022dc7da71b742d21494f6e68059799
|
7
|
+
data.tar.gz: 0de784b636ce34ba850a38fdd0a782ca36bb1c7138aa25998b1acf7f641e47b54ad94f2659983d80b0bf904bad33ab3fc4eb6c84a0b4a09cd99abaafdf6dae1b
|
data/lib/rrrspec/client/cli.rb
CHANGED
@@ -27,12 +27,16 @@ module RRRSpec
|
|
27
27
|
option :'key-only', type: :boolean
|
28
28
|
option :'rsync-name', type: :string, default: ENV['USER']
|
29
29
|
option :'worker-type', type: :string
|
30
|
+
option :max_workers, type: :numeric, desc: 'Overwrite max_workers configuration'
|
30
31
|
desc 'start', 'start RRRSpec'
|
31
32
|
def start
|
32
33
|
setup(ClientConfiguration.new)
|
33
34
|
if options[:'worker-type']
|
34
35
|
RRRSpec.configuration.worker_type = options[:'worker-type']
|
35
36
|
end
|
37
|
+
if options[:max_workers]
|
38
|
+
RRRSpec.configuration.max_workers = options[:max_workers]
|
39
|
+
end
|
36
40
|
taskset = Support.start_taskset(RRRSpec.configuration, options[:'rsync-name'])
|
37
41
|
puts taskset.key
|
38
42
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rrrspec-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaya Suzuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
200
200
|
version: '0'
|
201
201
|
requirements: []
|
202
202
|
rubyforge_project:
|
203
|
-
rubygems_version: 2.4.5
|
203
|
+
rubygems_version: 2.4.5.1
|
204
204
|
signing_key:
|
205
205
|
specification_version: 4
|
206
206
|
summary: Execute RSpec in a distributed manner
|