calabash-android 0.4.3.pre4 → 0.4.3.pre5

Sign up to get free protection for your applications and to get access to all the features.
@@ -138,13 +138,7 @@ end
138
138
  def extract_md5_fingerprint(fingerprints)
139
139
  log fingerprints
140
140
 
141
- if is_windows?
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
@@ -1,5 +1,5 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.4.3.pre4"
3
+ VERSION = "0.4.3.pre5"
4
4
  end
5
5
  end
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.pre4
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-09 00:00:00.000000000 Z
12
+ date: 2013-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber