calabash-android 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/calabash-android-build.rb +1 -1
- data/bin/calabash-android-run.rb +9 -7
- data/lib/calabash-android/version.rb +2 -2
- metadata +23 -5
@@ -23,7 +23,7 @@ def calabash_build(args)
|
|
23
23
|
"-Dkey.alias=#{@settings["keystore_alias"]}",
|
24
24
|
"-Dkey.alias.password=#{@settings["keystore_alias_password"]}",
|
25
25
|
]
|
26
|
-
IO.popen(args) do |io|
|
26
|
+
IO.popen(args.join(" ")) do |io|
|
27
27
|
io.each { |s| print s }
|
28
28
|
end
|
29
29
|
if $?.exitstatus != 0
|
data/bin/calabash-android-run.rb
CHANGED
@@ -4,13 +4,15 @@ def calabash_run(args)
|
|
4
4
|
|
5
5
|
settings = JSON.parse(IO.read(".calabash_settings"))
|
6
6
|
|
7
|
-
env =
|
8
|
-
"TEST_PACKAGE_NAME
|
9
|
-
"APP_PATH
|
10
|
-
"TEST_APP_PATH
|
11
|
-
"TEST_SERVER_PORT
|
12
|
-
|
13
|
-
|
7
|
+
env ="PACKAGE_NAME=#{settings["package_name"]} "\
|
8
|
+
"TEST_PACKAGE_NAME=#{settings["package_name"]}.test "\
|
9
|
+
"APP_PATH=#{settings["app_path"]} "\
|
10
|
+
"TEST_APP_PATH=features/support/Test.apk "\
|
11
|
+
"TEST_SERVER_PORT=34777"
|
12
|
+
|
13
|
+
|
14
|
+
cmd = "cucumber #{ARGV.join(" ")} #{env}"
|
15
|
+
IO.popen(cmd) do |io|
|
14
16
|
io.each { |s| print s }
|
15
17
|
end
|
16
18
|
end
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Jonas Maturana Larsen
|
@@ -10,8 +15,7 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2012-
|
14
|
-
default_executable:
|
18
|
+
date: 2012-05-01 00:00:00 Z
|
15
19
|
dependencies:
|
16
20
|
- !ruby/object:Gem::Dependency
|
17
21
|
name: cucumber
|
@@ -21,6 +25,9 @@ dependencies:
|
|
21
25
|
requirements:
|
22
26
|
- - ">="
|
23
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
24
31
|
version: "0"
|
25
32
|
type: :runtime
|
26
33
|
version_requirements: *id001
|
@@ -32,6 +39,9 @@ dependencies:
|
|
32
39
|
requirements:
|
33
40
|
- - ">="
|
34
41
|
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
35
45
|
version: "0"
|
36
46
|
type: :runtime
|
37
47
|
version_requirements: *id002
|
@@ -43,6 +53,9 @@ dependencies:
|
|
43
53
|
requirements:
|
44
54
|
- - ">="
|
45
55
|
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
46
59
|
version: "0"
|
47
60
|
type: :runtime
|
48
61
|
version_requirements: *id003
|
@@ -590,7 +603,6 @@ files:
|
|
590
603
|
- test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java
|
591
604
|
- test-server/calabash-js/src/calabash.js
|
592
605
|
- test-server/calabash-js/src/set_text.js
|
593
|
-
has_rdoc: true
|
594
606
|
homepage: http://github.com/calabash
|
595
607
|
licenses: []
|
596
608
|
|
@@ -604,17 +616,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
604
616
|
requirements:
|
605
617
|
- - ">="
|
606
618
|
- !ruby/object:Gem::Version
|
619
|
+
hash: 3
|
620
|
+
segments:
|
621
|
+
- 0
|
607
622
|
version: "0"
|
608
623
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
609
624
|
none: false
|
610
625
|
requirements:
|
611
626
|
- - ">="
|
612
627
|
- !ruby/object:Gem::Version
|
628
|
+
hash: 3
|
629
|
+
segments:
|
630
|
+
- 0
|
613
631
|
version: "0"
|
614
632
|
requirements: []
|
615
633
|
|
616
634
|
rubyforge_project:
|
617
|
-
rubygems_version: 1.
|
635
|
+
rubygems_version: 1.8.6
|
618
636
|
signing_key:
|
619
637
|
specification_version: 3
|
620
638
|
summary: Client for calabash-android for automated functional testing on Android
|