calabash-cucumber 0.9.163.pre3 → 0.9.163.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calabash-cucumber/core.rb +5 -0
- data/lib/calabash-cucumber/launcher.rb +14 -0
- data/lib/calabash-cucumber/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: 92fe46c72cf7c198d794ddba2a518ecda59757d9
|
4
|
+
data.tar.gz: d0fc8270c277166fcda42080a6d05adf6b3e1a02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fd73184e610036cebeb6f8a842f258f7cd49b6fd6dbe6edb68e7c5c4f868f4b0c564d868c12523c9301f132e7c92f515ccfc572e5f7bc84b4f206e658f8addf
|
7
|
+
data.tar.gz: 01361b87b9afebba12e99e53d05c808ed093238ead4f5413249a227af14adf32d631664119f5b12127ea135818c03ec7b78670848a60a959cf4118c0b78fd4e8
|
@@ -132,7 +132,21 @@ class Calabash::Cucumber::Launcher
|
|
132
132
|
end
|
133
133
|
|
134
134
|
def detect_connected_device?
|
135
|
+
if ENV['DETECT_CONNECTED_DEVICE'] == '1'
|
136
|
+
return true
|
137
|
+
end
|
138
|
+
|
139
|
+
if ENV['BUNDLE_ID'].nil? && ENV['DETECT_CONNECTED_DEVICE'].nil?
|
140
|
+
return false
|
141
|
+
end
|
142
|
+
if ENV['BUNDLE_ID'] && ENV['DETECT_CONNECTED_DEVICE'].nil?
|
143
|
+
return true
|
144
|
+
end
|
145
|
+
if ENV['DETECT_CONNECTED_DEVICE']
|
135
146
|
return ENV['DETECT_CONNECTED_DEVICE'] != '0'
|
147
|
+
end
|
148
|
+
|
149
|
+
return false
|
136
150
|
end
|
137
151
|
|
138
152
|
def default_launch_method
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.163.
|
4
|
+
version: 0.9.163.pre4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|