parallel_calabash 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/parallel_calabash/adb_helper.rb +7 -1
- data/lib/parallel_calabash/version.rb +1 -1
- 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: ac54e87836585daf3d2e87eef49568c18a246ed1
|
4
|
+
data.tar.gz: c901f36c319934d0b1bfa597c87e315533426f6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bff9524a0ce28cc211cbe9bcfbdbc46e3e02ed7381aca75be58a730631a60596d9450f0f5cd4bff4028ec918ef3e5e5088d6092eb97503c9bde643661bd08fc7
|
7
|
+
data.tar.gz: 0f0baf131fe54b5dc46a652d9bd4964c7bdb7d07cc256d3bf3763506272b97acfa7af453514b3a5056bbe6eedeb92840be351eda82abcb146c4b0d41ee3a99f2
|
@@ -81,8 +81,14 @@ module ParallelCalabash
|
|
81
81
|
port = (@config[:CALABASH_SERVER_PORT] || 28000).to_i
|
82
82
|
users = @config[:USERS] || []
|
83
83
|
init = @config[:INIT] || ''
|
84
|
+
simulator = @config[:DEVICE_TARGET] || nil
|
84
85
|
users.map.with_index do |u, i|
|
85
|
-
{
|
86
|
+
{}.tap do |my_hash|
|
87
|
+
my_hash[:USER] = u
|
88
|
+
my_hash[:CALABASH_SERVER_PORT] = port + i
|
89
|
+
my_hash[:INIT] = init
|
90
|
+
my_hash[:DEVICE_TARGET] = simulator unless simulator.nil?
|
91
|
+
end
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_calabash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajdeep
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|