sim_launcher 0.3.1 → 0.3.3
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.
- data/Rakefile +6 -0
- data/lib/sim_launcher/simulator.rb +1 -2
- data/lib/sim_launcher/version.rb +1 -1
- data/native/iphonesim +0 -0
- metadata +3 -3
data/Rakefile
CHANGED
@@ -1,2 +1,8 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler::GemHelper.install_tasks
|
3
|
+
|
4
|
+
desc "compile iphonesim binary"
|
5
|
+
task "build_iphonesim" do
|
6
|
+
sh 'xcodebuild -project vendor/iphonesim/iphonesim.xcodeproj/ clean build'
|
7
|
+
cp 'vendor/iphonesim/build/Release/iphonesim', 'native/iphonesim'
|
8
|
+
end
|
@@ -10,16 +10,15 @@ class Simulator
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def launch_ios_app(app_path, sdk_version, device_family)
|
13
|
+
sdk_version ||= SdkDetector.instance.latest_sdk_version
|
13
14
|
run_synchronous_command( :launch, app_path, sdk_version, device_family )
|
14
15
|
end
|
15
16
|
|
16
17
|
def launch_ipad_app( app_path, sdk )
|
17
|
-
sdk ||= SdkDetector.instance.latest_sdk_version
|
18
18
|
launch_ios_app( app_path, sdk, 'ipad' )
|
19
19
|
end
|
20
20
|
|
21
21
|
def launch_iphone_app( app_path, sdk )
|
22
|
-
sdk ||= SdkDetector.instance.latest_sdk_version
|
23
22
|
launch_ios_app( app_path, sdk, 'iphone' )
|
24
23
|
end
|
25
24
|
|
data/lib/sim_launcher/version.rb
CHANGED
data/native/iphonesim
CHANGED
Binary file
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 3
|
9
|
+
version: 0.3.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Pete Hodgson
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-08-
|
17
|
+
date: 2011-08-22 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|