ios_android_toolbox 0.0.25 → 0.0.26

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.
@@ -145,7 +145,10 @@ module IosAndroidToolbox
145
145
  def self.profile_worth_installing?(path)
146
146
  new_profile = IosProvisioningProfile.new(path)
147
147
  loop_through_existing_profiles do |installed_profile, path|
148
- if installed_profile.app_id == new_profile.app_id and installed_profile.has_provisioned_devices? == new_profile.has_provisioned_devices?
148
+ if installed_profile.app_id == new_profile.app_id and
149
+ (installed_profile.is_development? == new_profile.is_development? or
150
+ installed_profile.is_production? == new_profile.is_production? or
151
+ installed_profile.is_adhoc? == new_profile.is_adhoc?)
149
152
  return false if installed_profile.creation_date >= new_profile.creation_date
150
153
  end
151
154
  end
@@ -1,3 +1,3 @@
1
1
  module IosAndroidToolbox
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  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: 45
4
+ hash: 43
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 25
10
- version: 0.0.25
9
+ - 26
10
+ version: 0.0.26
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Sales