ios_android_toolbox 0.0.32 → 0.0.33
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f118b16d1ad74307d41d70ba7927730f622b321
|
|
4
|
+
data.tar.gz: ae1a7be3073596f50678241489650cdfdbcd0171
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a6fdb6cd697bf4d8896731dbdf76862273cf837db054098422bc7e98a1b3ad0216d312495d97e5815260c681ba03f618cb665c491a369270457f1c5075d5add
|
|
7
|
+
data.tar.gz: 1c28bf81f14ee1578e06c61882db742e5097cbb1ab10305f3b661d4ffc601f7cdd53310459fe866ccd3fe3c871aab08bb057b141dc0b1a20859ccefc347b4297
|
|
@@ -31,7 +31,7 @@ module IosAndroidToolbox
|
|
|
31
31
|
def uuid
|
|
32
32
|
# <key>UUID</key>
|
|
33
33
|
# <string>06AF2826-608D-4CE9-99AE-AA917FF1641E</string>
|
|
34
|
-
if /<key>UUID<\/key>\s*<string>(#{UUID_REGEX})<\/string>/.match(
|
|
34
|
+
if /<key>UUID<\/key>\s*<string>(#{UUID_REGEX})<\/string>/.match(plist_string)
|
|
35
35
|
puts "Found UUID: #{$1}" if DEBUG
|
|
36
36
|
uuid = $1
|
|
37
37
|
else
|
|
@@ -64,7 +64,7 @@ module IosAndroidToolbox
|
|
|
64
64
|
|
|
65
65
|
def has_provisioned_devices?
|
|
66
66
|
# <key>ProvisionedDevices</key>
|
|
67
|
-
!!(/<key>ProvisionedDevices<\/key>/.match(
|
|
67
|
+
!!(/<key>ProvisionedDevices<\/key>/.match(plist_string))
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
def provisioned_devices
|
|
@@ -115,13 +115,6 @@ module IosAndroidToolbox
|
|
|
115
115
|
rescue
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
begin
|
|
119
|
-
# just test if we can parse the contents
|
|
120
|
-
/UUID/.match contents
|
|
121
|
-
rescue
|
|
122
|
-
contents = contents.unpack("C*").pack("U*")
|
|
123
|
-
end
|
|
124
|
-
|
|
125
118
|
@contents = contents
|
|
126
119
|
end
|
|
127
120
|
|
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.33
|
|
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-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: git
|