ringcentral_sdk 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f3cbfb92bc00009e9575a0f41d2115bbf1d6964e
4
- data.tar.gz: 38a3ec34ad844bbc18d6f42c48ac0d46348630c0
3
+ metadata.gz: b0dc5f696b31adcc5394fc871e99b53dc8588fd1
4
+ data.tar.gz: d939e5b3744d2ca8c208feed38e559621f0db388
5
5
  SHA512:
6
- metadata.gz: 8f832f2188822a1a38e28a981a4eb1ee196e8e7a92be7fbd2f1026ce12e7c8a3377c48dc621a9a62a8df6286010fc86fb9876a0c6582fb2bdf70c79f82c53518
7
- data.tar.gz: 76b5ad230db8d102ea314054339209f38f6c617b77038785d73aa6bc8bdfd65a5ee9356dc8f13234aa06a611548de42a22afb4f14cdca409b8981e9f1b680791
6
+ metadata.gz: 9a3bf45edd9e57e70de115b83664ba00fd865bf745a4d961d7b8de6630fdc7500983052b5794c836cca06899c1a8e28a3e8cd374393beaf390fae8d0d11ec708
7
+ data.tar.gz: 239ccfe42900f49209c6f50e4d6b031ad4f7e5ede3be9a56ce59a8aeda11c3acc5fbabdaa13e21dcb34ffda530e1161a1a7d36890745a0b63b60aa394749ac3d
@@ -1,5 +1,5 @@
1
1
  module RingCentralSdk
2
- VERSION = '1.3.2'
2
+ VERSION = '1.3.3'
3
3
 
4
4
  RC_SERVER_PRODUCTION = 'https://platform.ringcentral.com'
5
5
  RC_SERVER_SANDBOX = 'https://platform.devtest.ringcentral.com'
@@ -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 = nil
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.2
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