calabash-android 0.4.3.pre4 → 0.4.3.pre5
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.
@@ -138,13 +138,7 @@ end
|
|
138
138
|
def extract_md5_fingerprint(fingerprints)
|
139
139
|
log fingerprints
|
140
140
|
|
141
|
-
|
142
|
-
if fingerprints.encoding.name == "CP850"
|
143
|
-
fingerprints = fingerprints.gsub("\xA0".force_encoding("CP850"),"")
|
144
|
-
end
|
145
|
-
end
|
146
|
-
|
147
|
-
m = fingerprints.scan(/MD5\s*:\s*((?:[a-fA-F\d]{2}:){15}[a-fA-F\d]{2})/).flatten
|
141
|
+
m = fingerprints.scan(/MD5.*((?:[a-fA-F\d]{2}:){15}[a-fA-F\d]{2})/).flatten
|
148
142
|
raise "No MD5 fingerprint found:\n #{fingerprints}" if m.empty?
|
149
143
|
m.first
|
150
144
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-android
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.3.
|
4
|
+
version: 0.4.3.pre5
|
5
5
|
prerelease: 6
|
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: 2013-03-
|
12
|
+
date: 2013-03-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cucumber
|