ios_android_toolbox 0.0.33 → 0.0.34
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ios_android_toolbox/android.rb +3 -2
- data/lib/ios_android_toolbox/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: da0330aba926fb6de7b0ea8d3648179c22b7bfa4
|
4
|
+
data.tar.gz: c3e7c17880e7888115adfbd421df591ab4e3312d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43154880de2b219fab804d47d5e2613e5d904c95fe03466512060c1550f2e659844b1dc9a993a7760eeba441445bedaa95761a44fed7b635a9bb73a150d46a93
|
7
|
+
data.tar.gz: c1bc33a7771d904e7e392b547652958155894d2aa48d0b0ff8a5455689013f52411c2a738df37bd3540c6af72e78e5c5be6eb55e8203063fd01c4c5b5071147f
|
@@ -24,7 +24,8 @@ module IosAndroidToolbox
|
|
24
24
|
if File.exists?(filename)
|
25
25
|
begin
|
26
26
|
manifest = Nokogiri::XML(File.open(filename)).xpath(MANIFEST, 'android' => "http://schemas.android.com/apk/res/android").first
|
27
|
-
|
27
|
+
version = manifest[ANDROID_VERSION_NAME] || manifest[ANDROID_NS+ANDROID_VERSION_NAME]
|
28
|
+
candidates.push filename if manifest and version
|
28
29
|
rescue
|
29
30
|
# Do nothing, just skip the file. Must be in binary format
|
30
31
|
end
|
@@ -51,7 +52,7 @@ module IosAndroidToolbox
|
|
51
52
|
end
|
52
53
|
|
53
54
|
def version
|
54
|
-
@manifest[ANDROID_VERSION_NAME]
|
55
|
+
@manifest[ANDROID_VERSION_NAME] || @manifest[ANDROID_NS+ANDROID_VERSION_NAME]
|
55
56
|
end
|
56
57
|
|
57
58
|
def app_id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ios_android_toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Sales
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|