devcycle-ruby-server-sdk 2.4.0 → 2.4.1

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: be778d76e51c7963c9808b17dd26f5d4b996de230d7d1c9533877cb31d382b43
4
+ data.tar.gz: aec14f328d569f505b5ab3a44349964aaa62b8a802594d46d8b2ded68291fd8e
5
5
  SHA512:
6
- metadata.gz: bdb757f3a1587695a4c632c592de1599492faadfcb6218a65bf4d9ef439bb62590d97c9bd0fc5e5a4d9410dab856160d7561e68c33c8623da7ea300838605219
7
- data.tar.gz: 5175738e9469f764871e93cb777ce3ec8cec681e2a1a3b5fd5dbdd178478fa9b021a7bbc8541e74defee711f3ed943975c573563c053aae610835f68844be0fd
6
+ metadata.gz: 0ca58aff68ce611b7416a0432a632fabf5b9882c6de44fe40dbffdd2e117fc89fef59ecbc5814be2064b376568b42d93fb31a2eef83ba9ff12c5e30f0dd02774
7
+ data.tar.gz: 20b2d432d5c55ad4545930ff744ddb7cb35fbbf72982303f513a1829a5ec90c2d708f7f805620db708b53d4aa99ca1d7e555367c8b94ca7564d44fc6b4b80e7b
@@ -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.4.1'
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.4.1
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-05-23 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: