frank-cucumber 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,12 +8,16 @@ Given /^I launch the app$/ do
|
|
8
8
|
rescue Timeout::Error
|
9
9
|
end
|
10
10
|
|
11
|
-
require 'sim_launcher
|
11
|
+
require 'sim_launcher'
|
12
12
|
|
13
|
-
app_path = ENV['APP_BUNDLE_PATH']
|
14
|
-
raise "APP_BUNDLE_PATH
|
13
|
+
app_path = ENV['APP_BUNDLE_PATH'] || APP_BUNDLE_PATH
|
14
|
+
raise "APP_BUNDLE_PATH was not set. \nPlease set a APP_BUNDLE_PATH ruby constant or environment variable to the path of your compiled Frankified iOS app bundle" if app_path.nil?
|
15
15
|
|
16
|
-
|
16
|
+
if( ENV['USE_SIM_LAUNCHER_SERVER'] )
|
17
|
+
simulator = SimLauncher::Client.for_iphone_app( app_path, "4.2" )
|
18
|
+
else
|
19
|
+
simulator = SimLauncher::DirectClient.for_iphone_app( app_path, "4.2" )
|
20
|
+
end
|
17
21
|
|
18
22
|
num_timeouts = 0
|
19
23
|
loop do
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 1
|
9
|
+
version: 0.6.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Pete Hodgson
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-20 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|