ios_android_toolbox 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -116,7 +116,9 @@ module IosAndroidToolbox
116
116
  self.loop_through_existing_profiles do |installed_profile, installed_profile_path|
117
117
  if installed_profile.app_id == new_profile.app_id and
118
118
  installed_profile.creation_date < new_profile.creation_date and
119
- installed_profile.has_provisioned_devices? == new_profile.has_provisioned_devices?
119
+ (installed_profile.is_development? == new_profile.is_development? or
120
+ installed_profile.is_production? == new_profile.is_production? or
121
+ installed_profile.is_adhoc? == new_profile.is_adhoc?)
120
122
  puts "Removing stale Prov Profile: #{installed_profile_path}"
121
123
  File.delete installed_profile_path
122
124
  end
@@ -1,3 +1,3 @@
1
1
  module IosAndroidToolbox
2
- VERSION = "0.0.26"
2
+ VERSION = "0.0.27"
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: 43
4
+ hash: 41
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 26
10
- version: 0.0.26
9
+ - 27
10
+ version: 0.0.27
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Sales