ios_android_toolbox 0.0.23 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
@@ -76,11 +76,19 @@ module IosAndroidToolbox
76
76
  end
77
77
 
78
78
  def is_development?
79
- provisioned_devices.is_a? Array and get_task_allow == true and aps_environment == 'development'
79
+ provisioned_devices.is_a? Array and get_task_allow == true
80
80
  end
81
81
 
82
82
  def is_production?
83
- provisioned_devices.nil? and get_task_allow == false and aps_environment == 'production'
83
+ provisioned_devices.nil? and get_task_allow == false
84
+ end
85
+
86
+ def is_development_aps_environment?
87
+ aps_environment == 'development'
88
+ end
89
+
90
+ def is_production_aps_environment?
91
+ aps_environment == 'production'
84
92
  end
85
93
 
86
94
  def initialize(contents)
@@ -1,3 +1,3 @@
1
1
  module IosAndroidToolbox
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
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: 49
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 23
10
- version: 0.0.23
9
+ - 24
10
+ version: 0.0.24
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Sales