motion-calabash 0.9.113 → 0.9.126
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.
Binary file
|
@@ -35,9 +35,9 @@ namespace 'calabash' do
|
|
35
35
|
# Retrieve optional Calabash args.
|
36
36
|
def gather_calabash_env
|
37
37
|
sdk = ENV['sdk'] || ENV['SDK_VERSION'] || "6.0" #Calabash env vars
|
38
|
-
os = ENV['os'] || ENV['OS'] || '
|
38
|
+
os = ENV['os'] || ENV['OS'] || 'ios6' #Calabash env vars
|
39
39
|
device = ENV['device'] || ENV['DEVICE'] || 'iphone' #Calabash env vars
|
40
|
-
{
|
40
|
+
{"SDK_VERSION" => sdk, "OS" => os, "DEVICE" => device}
|
41
41
|
end
|
42
42
|
|
43
43
|
|
@@ -50,7 +50,7 @@ namespace 'calabash' do
|
|
50
50
|
# Retrieve optional bundle path.
|
51
51
|
bundle_path = ENV['APP_BUNDLE_PATH']
|
52
52
|
unless bundle_path
|
53
|
-
build = "build/iPhoneSimulator-#{calabash_env[
|
53
|
+
build = "build/iPhoneSimulator-#{calabash_env["SDK_VERSION"]}-Development"
|
54
54
|
unless File.exist?(build)
|
55
55
|
App.fail "No dir found in #{build}. Please build app first."
|
56
56
|
end
|
@@ -63,9 +63,10 @@ namespace 'calabash' do
|
|
63
63
|
|
64
64
|
App.fail "No app found in #{bundle_path} (APP_BUNDLE_PATH)" unless File.exist?(bundle_path)
|
65
65
|
|
66
|
-
|
67
|
-
|
68
|
-
|
66
|
+
calabash_env["APP_BUNDLE_PATH"] = "\"#{bundle_path}\""
|
67
|
+
|
68
|
+
App.info 'Run', "#{calabash_env} cucumber #{args.join(" ")}"
|
69
|
+
exec(calabash_env,"cucumber",*args)
|
69
70
|
end
|
70
71
|
|
71
72
|
desc "Start Calabash console."
|
@@ -73,8 +74,9 @@ namespace 'calabash' do
|
|
73
74
|
# Retrieve configuration settings.
|
74
75
|
calabash_env = gather_calabash_env
|
75
76
|
cmd = "#{calabash_env[:str]} calabash-ios console"
|
76
|
-
App.info 'Run',
|
77
|
-
|
77
|
+
App.info 'Run', "#{calabash_env} calabash-ios console"
|
78
|
+
|
79
|
+
exec(calabash_env,"calabash-ios","console")
|
78
80
|
end
|
79
81
|
|
80
82
|
end
|
data/motion-calabash.gemspec
CHANGED
@@ -7,12 +7,12 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.author = 'Karl Krukow'
|
8
8
|
s.email = 'karl@lesspainful.com'
|
9
9
|
s.homepage = 'http://www.lesspainful.com'
|
10
|
-
s.version = '0.9.
|
10
|
+
s.version = '0.9.126'
|
11
11
|
s.summary = %q{Calabash support for RubyMotion}
|
12
|
-
s.description = %q{This
|
13
|
-
s.files = `git ls-files`.split("\n")
|
12
|
+
s.description = %q{This link-in calabash for iOS}
|
13
|
+
s.files = ["lib/framework/libcalabashuni-0.9.126.a"].concat(`git ls-files`.split("\n"))
|
14
14
|
s.require_paths = ["lib"]
|
15
15
|
|
16
|
-
s.add_dependency("calabash-cucumber", "0.9.
|
16
|
+
s.add_dependency("calabash-cucumber", "0.9.126")
|
17
17
|
|
18
18
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-calabash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.126
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: calabash-cucumber
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.9.
|
21
|
+
version: 0.9.126
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,18 +26,18 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.9.
|
30
|
-
description: This
|
29
|
+
version: 0.9.126
|
30
|
+
description: This link-in calabash for iOS
|
31
31
|
email: karl@lesspainful.com
|
32
32
|
executables: []
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
+
- lib/framework/libcalabashuni-0.9.126.a
|
36
37
|
- .gitignore
|
37
38
|
- LICENSE
|
38
39
|
- README.rdoc
|
39
40
|
- Rakefile
|
40
|
-
- lib/framework/libcalabashuni-0.9.111.a
|
41
41
|
- lib/motion-calabash.rb
|
42
42
|
- lib/motion/project/calabash.rb
|
43
43
|
- motion-calabash.gemspec
|