ringcentral_sdk 1.3.2 → 1.3.3
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.
- checksums.yaml +4 -4
- data/lib/ringcentral_sdk.rb +1 -1
- data/lib/ringcentral_sdk/rest/subscription.rb +4 -2
- metadata +1 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0dc5f696b31adcc5394fc871e99b53dc8588fd1
|
|
4
|
+
data.tar.gz: d939e5b3744d2ca8c208feed38e559621f0db388
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a3bf45edd9e57e70de115b83664ba00fd865bf745a4d961d7b8de6630fdc7500983052b5794c836cca06899c1a8e28a3e8cd374393beaf390fae8d0d11ec708
|
|
7
|
+
data.tar.gz: 239ccfe42900f49209c6f50e4d6b031ad4f7e5ede3be9a56ce59a8aeda11c3acc5fbabdaa13e21dcb34ffda530e1161a1a7d36890745a0b63b60aa394749ac3d
|
data/lib/ringcentral_sdk.rb
CHANGED
|
@@ -247,7 +247,6 @@ module RingCentralSdk::REST
|
|
|
247
247
|
|
|
248
248
|
def _set_timeout
|
|
249
249
|
time_to_expiration = @_subscription['expiresIn'] - RENEW_HANDICAP
|
|
250
|
-
time_to_expiration = 5
|
|
251
250
|
|
|
252
251
|
@_timeout = Thread.new do
|
|
253
252
|
sleep time_to_expiration
|
|
@@ -256,7 +255,10 @@ module RingCentralSdk::REST
|
|
|
256
255
|
end
|
|
257
256
|
|
|
258
257
|
def _clear_timeout
|
|
259
|
-
@_timeout
|
|
258
|
+
unless @_timeout.nil?
|
|
259
|
+
@_timeout.exit
|
|
260
|
+
@_timeout = nil
|
|
261
|
+
end
|
|
260
262
|
end
|
|
261
263
|
|
|
262
264
|
def new_pubnub(subscribe_key='', ssl_on=false, publish_key='', my_logger=nil)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ringcentral_sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Wang
|
|
@@ -214,20 +214,6 @@ dependencies:
|
|
|
214
214
|
- - "~>"
|
|
215
215
|
- !ruby/object:Gem::Version
|
|
216
216
|
version: '3.8'
|
|
217
|
-
- !ruby/object:Gem::Dependency
|
|
218
|
-
name: timers
|
|
219
|
-
requirement: !ruby/object:Gem::Requirement
|
|
220
|
-
requirements:
|
|
221
|
-
- - "~>"
|
|
222
|
-
- !ruby/object:Gem::Version
|
|
223
|
-
version: '4.1'
|
|
224
|
-
type: :runtime
|
|
225
|
-
prerelease: false
|
|
226
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
227
|
-
requirements:
|
|
228
|
-
- - "~>"
|
|
229
|
-
- !ruby/object:Gem::Version
|
|
230
|
-
version: '4.1'
|
|
231
217
|
- !ruby/object:Gem::Dependency
|
|
232
218
|
name: coveralls
|
|
233
219
|
requirement: !ruby/object:Gem::Requirement
|