calabash-android 0.5.10 → 0.5.11
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.
- checksums.yaml +4 -4
- data/CHANGES.txt +5 -0
- data/lib/calabash-android/java_keystore.rb +9 -1
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94c6e2b470cedf9656247543c5dc1770aabcc1f4
|
4
|
+
data.tar.gz: 802fa73e9c59c81b9bce5a916caf8efea09120ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48cf3da5067bafc7c92ced64f27ddec626bbe51e242a912778be62ccc75e7aa03851e50637d3ba9dd1abd1c1cdf4945bd04dacbbd490ea3a9f839814f518f836
|
7
|
+
data.tar.gz: 3d94971acca24214001a20581a8257583e157ea4ddd3d47b9604b52e3bc2675df4f030538b9a9a742e4ce0d238c922e6e55b4653487b80c91246eff475372892
|
data/CHANGES.txt
CHANGED
@@ -48,7 +48,15 @@ class JavaKeystore
|
|
48
48
|
raise "Cannot sign with a miss configured keystore" if errors
|
49
49
|
raise "No such file: #{apk_path}" unless File.exists?(apk_path)
|
50
50
|
|
51
|
-
|
51
|
+
# E.g. MD5withRSA or MD5withRSAandMGF1
|
52
|
+
encryption = signature_algorithm_name.split('with')[1].split('and')[0]
|
53
|
+
signing_algorithm = "SHA1with#{encryption}"
|
54
|
+
digest_algorithm = 'SHA1'
|
55
|
+
|
56
|
+
log "Signing using the signature algorithm: '#{signing_algorithm}'"
|
57
|
+
log "Signing using the digest algorithm: '#{digest_algorithm}'"
|
58
|
+
|
59
|
+
unless system_with_stdout_on_success(Env.jarsigner_path, '-sigfile', 'CERT', '-sigalg', signing_algorithm, '-digestalg', digest_algorithm, '-signedjar', dest_path, '-storepass', password, '-keystore', location, apk_path, keystore_alias)
|
52
60
|
raise "Could not sign app: #{apk_path}"
|
53
61
|
end
|
54
62
|
end
|
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.11
|
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: 2015-06-
|
11
|
+
date: 2015-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|