devcycle-ruby-server-sdk 2.4.0 → 2.5.0

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
  SHA256:
3
- metadata.gz: b3c2aaf794a8af5d3292e13a8c38b76e455f5f7c86eeefa4458a8ce16cde6a49
4
- data.tar.gz: 244bc6166f3c7e731f0ebd8ec35a6542c6d04249a6404ffc25021c4505a07a7f
3
+ metadata.gz: d8c07f64c0f9502b416e2dc3b9afc93e1216882c6ae3d2d66fc4ca7107c67e92
4
+ data.tar.gz: f9d5fe62a88f135885813a1dadcee08eb1e2f009e66b060ef0ef755b4076a5ea
5
5
  SHA512:
6
- metadata.gz: bdb757f3a1587695a4c632c592de1599492faadfcb6218a65bf4d9ef439bb62590d97c9bd0fc5e5a4d9410dab856160d7561e68c33c8623da7ea300838605219
7
- data.tar.gz: 5175738e9469f764871e93cb777ce3ec8cec681e2a1a3b5fd5dbdd178478fa9b021a7bbc8541e74defee711f3ed943975c573563c053aae610835f68844be0fd
6
+ metadata.gz: 16baaf07fc0435ea726242cc883e401b5dcb02f4e3dad764c4eaf5271c671721e0f5b70acc23a348ecb3c2783709d75872f697f20b1c5c12d1e905cb2b846097
7
+ data.tar.gz: fc33c462bba5e14f85c18017a5faf950b2fe42669028bd18f41fa51a123098077fed950adcc3b6f251185cbc7dde6c196ccc1478e28835ec939aaf06a2892def
@@ -74,11 +74,16 @@ module DevCycle
74
74
  stop_polling
75
75
  @logger.error("Failed to download DevCycle config; Invalid SDK Key.")
76
76
  break
77
+ when 404
78
+ stop_polling
79
+ @logger.error("Failed to download DevCycle config; Config not found.")
80
+ break
77
81
  when 500...599
78
82
  @logger.error("Failed to download DevCycle config. Status: #{resp.code}")
79
83
  else
80
- stop_polling
81
- @logger.error("Unexpected response code - DevCycle Response: #{Oj.dump(resp)}")
84
+ @logger.error("Unexpected response from DevCycle CDN")
85
+ @logger.error("Response code: #{resp.code}")
86
+ @logger.error("Response body: #{resp.body}")
82
87
  break
83
88
  end
84
89
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.0
11
11
  =end
12
12
 
13
13
  module DevCycle
14
- VERSION = '2.4.0'
14
+ VERSION = '2.5.0'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devcycle-ruby-server-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DevCycleHQ
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-15 00:00:00.000000000 Z
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -165,7 +165,7 @@ homepage: https://devcycle.com
165
165
  licenses:
166
166
  - MIT
167
167
  metadata: {}
168
- post_install_message:
168
+ post_install_message:
169
169
  rdoc_options: []
170
170
  require_paths:
171
171
  - lib
@@ -180,8 +180,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.4.10
184
- signing_key:
183
+ rubygems_version: 3.2.33
184
+ signing_key:
185
185
  specification_version: 4
186
186
  summary: DevCycle Bucketing API Ruby Gem
187
187
  test_files: