parallel_calabash 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9b5d58763b24ff2d5e56a2cdd349b9f0fb735ad
4
- data.tar.gz: bd7f3d37930be01cac0a8850470633ee28a64675
3
+ metadata.gz: ac54e87836585daf3d2e87eef49568c18a246ed1
4
+ data.tar.gz: c901f36c319934d0b1bfa597c87e315533426f6a
5
5
  SHA512:
6
- metadata.gz: 4e4d65a092fd9335c2d45e9622eaad452f3cb4c08dfe751cbf5b703f886ff23d977714cf7b0d10af0ebc96ee447c5af4a377cb9b74fe5111476b6c0d75f4ec72
7
- data.tar.gz: 1e8d08c0b742f3a0ba9f4ff51804d0dfcc543f76dbfcf0714767c00d2788929f5f023e13b0f49e3f99384e63557dbe25aefe3a2f885cb9ff6e3c640c811d026f
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
- {USER: u, CALABASH_SERVER_PORT: port + i, INIT: init}
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
 
@@ -1,3 +1,3 @@
1
1
  module ParallelCalabash
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
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.1
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-25 00:00:00.000000000 Z
11
+ date: 2015-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler