motion-paddle 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/motion-paddle/paddle_setup.rb +15 -15
- data/lib/motion-paddle/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02aab949872d2a0efba5b0e4156ab517d25566e6
|
4
|
+
data.tar.gz: b0e2cf23ca2047dd9bbe3268dd9ce06f1b3566c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e04de0b6297b4552e7811308fc4519a7313b0ba6f66fc5bf18bf4d7d759ed19bc3f40a057938afe2e0391343d0513c93cd32d3fad40f73c32166b4d2786dbc
|
7
|
+
data.tar.gz: c23d9bef3b5a638c32bcc634931801360b1d6af560574bf222781041aafba112a0ce6690742cd5b0d3f238469a722fd758dfb0d4cacb9123a8aebf46877a1db3
|
data/Gemfile.lock
CHANGED
@@ -5,11 +5,11 @@ class MotionPaddle
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def paddle_instance
|
8
|
-
Paddle.sharedInstance
|
8
|
+
enabled? && Paddle.sharedInstance
|
9
9
|
end
|
10
10
|
|
11
11
|
def psk_instance
|
12
|
-
PaddleStoreKit.sharedInstance
|
12
|
+
enabled? && PaddleStoreKit.sharedInstance
|
13
13
|
end
|
14
14
|
|
15
15
|
def product_id
|
@@ -62,32 +62,32 @@ class MotionPaddle
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def time_trial=(time_trial)
|
65
|
-
paddle_instance.setIsTimeTrial(time_trial)
|
65
|
+
paddle_instance.setIsTimeTrial(time_trial) if enabled?
|
66
66
|
@time_trial = time_trial
|
67
67
|
end
|
68
68
|
|
69
69
|
def can_force_exit?
|
70
|
-
paddle_instance.canForceExit
|
70
|
+
enabled? && paddle_instance.canForceExit
|
71
71
|
end
|
72
72
|
|
73
73
|
def can_force_exit=(can_force_exit)
|
74
|
-
paddle_instance.setCanForceExit(can_force_exit)
|
74
|
+
enabled? && paddle_instance.setCanForceExit(can_force_exit)
|
75
75
|
end
|
76
76
|
|
77
77
|
def will_show_licensing_window?
|
78
|
-
paddle_instance.willShowLicensingWindow
|
78
|
+
enabled? && paddle_instance.willShowLicensingWindow
|
79
79
|
end
|
80
80
|
|
81
81
|
def will_show_licensing_window=(will_show_licensing_window)
|
82
|
-
paddle_instance.setWillShowLicensingWindow(will_show_licensing_window)
|
82
|
+
enabled? && paddle_instance.setWillShowLicensingWindow(will_show_licensing_window)
|
83
83
|
end
|
84
84
|
|
85
85
|
def psk_valid_receipts
|
86
|
-
psk_instance.validReceipts
|
86
|
+
enabled? && psk_instance.validReceipts
|
87
87
|
end
|
88
88
|
|
89
89
|
def psk_receipt_for_product_id(product_id)
|
90
|
-
psk_instance.receiptForProductId(product_id)
|
90
|
+
enabled? && psk_instance.receiptForProductId(product_id)
|
91
91
|
end
|
92
92
|
|
93
93
|
def setup(window = nil, &block)
|
@@ -150,31 +150,31 @@ class MotionPaddle
|
|
150
150
|
end
|
151
151
|
|
152
152
|
def trial_days_left
|
153
|
-
paddle_instance.daysRemainingOnTrial
|
153
|
+
enabled? && paddle_instance.daysRemainingOnTrial
|
154
154
|
end
|
155
155
|
|
156
156
|
def activated?
|
157
|
-
paddle_instance.productActivated
|
157
|
+
enabled? && paddle_instance.productActivated
|
158
158
|
end
|
159
159
|
|
160
160
|
def show_licencing
|
161
|
-
paddle_instance.showLicencing
|
161
|
+
enabled? && paddle_instance.showLicencing
|
162
162
|
end
|
163
163
|
|
164
164
|
alias :show_licensing :show_licencing
|
165
165
|
|
166
166
|
def activated_licence_code
|
167
|
-
paddle_instance.activatedLicenceCode
|
167
|
+
enabled? && paddle_instance.activatedLicenceCode
|
168
168
|
end
|
169
169
|
|
170
170
|
alias :activated_license_code :activated_licence_code
|
171
171
|
|
172
172
|
def activated_email
|
173
|
-
paddle_instance.activatedEmail
|
173
|
+
enabled? && paddle_instance.activatedEmail
|
174
174
|
end
|
175
175
|
|
176
176
|
def deactivate_licence
|
177
|
-
paddle_instance.deactivateLicence
|
177
|
+
enabled? && paddle_instance.deactivateLicence
|
178
178
|
end
|
179
179
|
|
180
180
|
alias :deactivate_license :deactivate_licence
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-paddle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Henderson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
78
|
+
rubygems_version: 2.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: A RubyMotion gem for using the Paddle framework
|