ios_android_toolbox 0.0.33 → 0.0.34

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f118b16d1ad74307d41d70ba7927730f622b321
4
- data.tar.gz: ae1a7be3073596f50678241489650cdfdbcd0171
3
+ metadata.gz: da0330aba926fb6de7b0ea8d3648179c22b7bfa4
4
+ data.tar.gz: c3e7c17880e7888115adfbd421df591ab4e3312d
5
5
  SHA512:
6
- metadata.gz: 1a6fdb6cd697bf4d8896731dbdf76862273cf837db054098422bc7e98a1b3ad0216d312495d97e5815260c681ba03f618cb665c491a369270457f1c5075d5add
7
- data.tar.gz: 1c28bf81f14ee1578e06c61882db742e5097cbb1ab10305f3b661d4ffc601f7cdd53310459fe866ccd3fe3c871aab08bb057b141dc0b1a20859ccefc347b4297
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
- candidates.push filename if manifest and manifest[ANDROID_VERSION_NAME]
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
@@ -1,3 +1,3 @@
1
1
  module IosAndroidToolbox
2
- VERSION = "0.0.33"
2
+ VERSION = "0.0.34"
3
3
  end
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.33
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-06 00:00:00.000000000 Z
11
+ date: 2014-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git