calabash-android 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -20
- data/bin/calabash-android-build.rb +2 -2
- data/calabash-android.gemspec +1 -2
- data/lib/calabash-android/helpers.rb +2 -2
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daf5c99e264d3b69f5429e1fe0e14de3e4e7a145
|
4
|
+
data.tar.gz: 1d6538452dd8984a966286dfdf415c53d440f2ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c40fd803a4d516ec0ac3d7276c85c294b063302ac256cba1c2369706a9a61fa2246992db8c31d162c25a482060dfa45c74cc16eb8fe98b957ff0091c89936d7a
|
7
|
+
data.tar.gz: 666399f4f8597e263ee6e18579926d5435171452bba5735ca1b64c2a8d9654ed653608afea57ccb325805d1acd83dbc92615895c698b9f310d3f6e2a6ddf3cc4
|
data/Gemfile.lock
CHANGED
@@ -1,53 +1,40 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
calabash-android (0.
|
4
|
+
calabash-android (0.5.1)
|
5
5
|
awesome_print
|
6
6
|
cucumber
|
7
7
|
escape (~> 0.0.4)
|
8
8
|
httpclient (~> 2.3.2)
|
9
9
|
json
|
10
10
|
retriable (~> 1.3.3.1)
|
11
|
-
rubyzip (~>
|
11
|
+
rubyzip (~> 1.1)
|
12
12
|
slowhandcuke
|
13
|
-
xamarin-test-cloud (>= 0.9.23)
|
14
13
|
|
15
14
|
GEM
|
16
15
|
remote: http://rubygems.org/
|
17
16
|
specs:
|
18
17
|
awesome_print (1.2.0)
|
19
18
|
builder (3.2.2)
|
20
|
-
cucumber (1.3.
|
19
|
+
cucumber (1.3.15)
|
21
20
|
builder (>= 2.1.2)
|
22
21
|
diff-lcs (>= 1.1.3)
|
23
22
|
gherkin (~> 2.12)
|
24
23
|
multi_json (>= 1.7.5, < 2.0)
|
25
|
-
multi_test (>= 0.
|
24
|
+
multi_test (>= 0.1.1)
|
26
25
|
diff-lcs (1.2.5)
|
27
26
|
escape (0.0.4)
|
28
27
|
gherkin (2.12.2)
|
29
28
|
multi_json (~> 1.3)
|
30
29
|
httpclient (2.3.4.1)
|
31
30
|
json (1.8.1)
|
32
|
-
|
33
|
-
|
34
|
-
multi_test (0.0.3)
|
31
|
+
multi_json (1.10.1)
|
32
|
+
multi_test (0.1.1)
|
35
33
|
rake (10.1.0)
|
36
|
-
rest-client (1.6.7)
|
37
|
-
mime-types (>= 1.16)
|
38
34
|
retriable (1.3.3.1)
|
39
|
-
rubyzip (
|
35
|
+
rubyzip (1.1.6)
|
40
36
|
slowhandcuke (0.0.3)
|
41
37
|
cucumber
|
42
|
-
thor (0.18.1)
|
43
|
-
xamarin-test-cloud (0.9.29)
|
44
|
-
bundler (>= 1.3.0, < 2.0)
|
45
|
-
json
|
46
|
-
mime-types (< 2.0)
|
47
|
-
rest-client (~> 1.6.7)
|
48
|
-
retriable (~> 1.3.3.1)
|
49
|
-
rubyzip (~> 0.9.9)
|
50
|
-
thor (>= 0.18.1)
|
51
38
|
|
52
39
|
PLATFORMS
|
53
40
|
ruby
|
@@ -50,8 +50,8 @@ def calabash_build(app)
|
|
50
50
|
raise "Could not create dummy.apk"
|
51
51
|
end
|
52
52
|
|
53
|
-
Zip::
|
54
|
-
Zip::
|
53
|
+
Zip::File.new("dummy.apk").extract("AndroidManifest.xml","customAndroidManifest.xml")
|
54
|
+
Zip::File.open("TestServer.apk") do |zip_file|
|
55
55
|
zip_file.add("AndroidManifest.xml", "customAndroidManifest.xml")
|
56
56
|
end
|
57
57
|
end
|
data/calabash-android.gemspec
CHANGED
@@ -19,9 +19,8 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_dependency( "json" )
|
20
20
|
s.add_dependency( "retriable", "~> 1.3.3.1" )
|
21
21
|
s.add_dependency( "slowhandcuke" )
|
22
|
-
s.add_dependency( "rubyzip", "~>
|
22
|
+
s.add_dependency( "rubyzip", "~> 1.1" )
|
23
23
|
s.add_dependency( "awesome_print" )
|
24
24
|
s.add_dependency( 'httpclient', '~> 2.3.2')
|
25
|
-
s.add_dependency( 'xamarin-test-cloud', '>= 0.9.23')
|
26
25
|
s.add_dependency( 'escape', '~> 0.0.4')
|
27
26
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require "stringio"
|
2
|
-
require 'zip
|
2
|
+
require 'zip'
|
3
3
|
require 'tempfile'
|
4
4
|
require 'escape'
|
5
5
|
require 'rbconfig'
|
@@ -83,7 +83,7 @@ def fingerprint_from_apk(app_path)
|
|
83
83
|
Dir.chdir(tmp_dir) do
|
84
84
|
FileUtils.cp(app_path, "app.apk")
|
85
85
|
FileUtils.mkdir("META-INF")
|
86
|
-
Zip::
|
86
|
+
Zip::File.foreach("app.apk") do |z|
|
87
87
|
z.extract if /^META-INF\/\w+.(RSA|rsa)/ =~ z.name
|
88
88
|
end
|
89
89
|
rsa_files = Dir["#{tmp_dir}/META-INF/*"]
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Maturana Larsen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '1.1'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '1.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: awesome_print
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,20 +108,6 @@ dependencies:
|
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 2.3.2
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: xamarin-test-cloud
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 0.9.23
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - '>='
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 0.9.23
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: escape
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|