ringcentral_sdk 2.0.1 → 2.0.2

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: 862737f88ab2fb10fb96c6f606b611bf74492107
4
- data.tar.gz: 6d2fdc609db3b0f27b33e783989933bca33c25bc
3
+ metadata.gz: ac6822f8b15cf8ab672b665042f9432d992224eb
4
+ data.tar.gz: 76a3c932bea73201db8eb1d29a379abfe32245d5
5
5
  SHA512:
6
- metadata.gz: 8f458a48827b77691e2a35cb34e4bb587c4a756afe2849032d731be462d60816fe240265669e07ed24fe3d7e8da1f0b546051b954baf6abc60093e803a7f1e6e
7
- data.tar.gz: 54d1f7f38b78b233dac0b41f39a5284970adbd0a6385f9b8ab30403ec917b31d41d327c5b6eaafee99875712e75e7fd4bae807a2933d02063fde890fd89ce8db
6
+ metadata.gz: 4113777a1e6ca436d8a014e371d112cb35d9ca2fa9847d488ec3092250cb212c30757612a87ab11a3eaec4579b7f41dd7e312e9852b586c983e88034099782ed
7
+ data.tar.gz: aee6f1f01b21e973636575d4caa8da83d6501cacdf07657e43de2b91f847f479804ebe95fafd3bc4d6a4cc0cc9421ea66b176001c326be58752ef5c5c8b42631
@@ -1,5 +1,10 @@
1
1
  CHANGELOG
2
2
  ---------
3
+ - **2016-12-28**: 2.0.2
4
+ - Update
5
+ - Update to add retry for `504` error code as default in addition to `429`, `503`
6
+ - **2016-12-28**: 2.0.1
7
+ - Minor fixes
3
8
  - **2016-12-28**: 2.0.0
4
9
  - Breaking Changes
5
10
  - New block-based config, replacing old method param and env config
@@ -1,6 +1,6 @@
1
1
  # RingCentralSdk is a SDK for the RingCentral REST API
2
2
  module RingCentralSdk
3
- VERSION = '2.0.1'.freeze
3
+ VERSION = '2.0.2'.freeze
4
4
 
5
5
  RC_SERVER_PRODUCTION = 'https://platform.ringcentral.com'.freeze
6
6
  RC_SERVER_SANDBOX = 'https://platform.devtest.ringcentral.com'.freeze
@@ -65,6 +65,7 @@ module RingCentralSdk
65
65
  else
66
66
  @retry_options = {}
67
67
  end
68
+ @retry_options[:error_codes] = [429, 503, 504] unless @retry_options.key? :error_codes
68
69
  @retry_options[:logger] = @logger
69
70
  end
70
71
 
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: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Wang