ios_android_toolbox 0.0.16 → 0.0.17
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.
|
@@ -47,7 +47,7 @@ module IosAndroidToolbox
|
|
|
47
47
|
|
|
48
48
|
def has_provisioned_devices?
|
|
49
49
|
# <key>ProvisionedDevices</key>
|
|
50
|
-
/<key>ProvisionedDevices<\/key>/.match(contents)
|
|
50
|
+
!!(/<key>ProvisionedDevices<\/key>/.match(contents))
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
def initialize(contents)
|
|
@@ -105,7 +105,6 @@ module IosAndroidToolbox
|
|
|
105
105
|
new_profile = IosProvisioningProfile.new(path)
|
|
106
106
|
loop_through_existing_profiles do |installed_profile|
|
|
107
107
|
if installed_profile.app_id == new_profile.app_id and installed_profile.has_provisioned_devices? == new_profile.has_provisioned_devices?
|
|
108
|
-
puts "#{installed_profile.creation_date} #{new_profile.creation_date}"
|
|
109
108
|
return false if installed_profile.creation_date >= new_profile.creation_date
|
|
110
109
|
end
|
|
111
110
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ios_android_toolbox
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 61
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 17
|
|
10
|
+
version: 0.0.17
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Igor Sales
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-09-23 00:00:00 Z
|
|
19
19
|
dependencies: []
|
|
20
20
|
|
|
21
21
|
description: ""
|