devcycle-ruby-server-sdk 2.3.2 → 2.3.4

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: c059b1337c32e753d7567bce484653d29a7b1f3a2fed64f61363654193cf3900
4
- data.tar.gz: b7159a3288024c010663fb6cc1dbeaa64e118fab1805e8c1587b2e8e8404a770
3
+ metadata.gz: ae26e043c16d15e17bcd0754199d98bc6b04c02da1df32b6598ee28c1a18e9dc
4
+ data.tar.gz: 24e8f4738be97277bc60973019bfc1272ce9ec91512281bbec7eb21e4fb820a2
5
5
  SHA512:
6
- metadata.gz: 2874f6b16ea31184b3f35f6c03697a2c0049f33fe74a5f2cc9c3ddbd561db7052710b73ee052c376be2b7a329b9e0b0ee77f530a0a64095e377d10892ad466e3
7
- data.tar.gz: 97477010b5d785503723a9bfd23e756f2eaaed9bfbb87f996520922c88a23ab44c33e408e99e491c6a6e7582b60ef2a27f3d3c8e2d1e8309aa2e99e2f429d1c7
6
+ metadata.gz: a9a6cc240d5b274707ef68df0471ac484a62ad4a5a346e512edd7c1afcc6d8025fbc353274bdd8b619a967a87478b8984796376ca9996bbdf2a1b3257e99b70d
7
+ data.tar.gz: 062421f2b3d0b8967bd42326a5b23ac1fcb98ec9767e0d08e77d32c3030dc30484607e8d2aaede18949b5df41faa28a972d37d77b1b76163a232013866fad81d
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_runtime_dependency 'wasmtime', '5.0.0'
28
28
  s.add_runtime_dependency 'concurrent-ruby', '~> 1.2.0'
29
29
  s.add_runtime_dependency 'sorbet-runtime', '~> 0.5'
30
- s.add_runtime_dependency 'oj', '3.13.2'
30
+ s.add_runtime_dependency 'oj', '~> 3.0'
31
31
  s.add_runtime_dependency 'google-protobuf', '~> 3.22'
32
32
 
33
33
 
@@ -58,7 +58,7 @@ module DevCycle
58
58
  end
59
59
 
60
60
  @max_config_retries.times do
61
- @logger.debug("Requesting a new config for #{get_config_url}, etag: #{@config_e_tag}")
61
+ @logger.debug("Requesting new config from #{get_config_url}, current etag: #{@config_e_tag}")
62
62
  resp = req.run
63
63
  @logger.debug("Config request complete, status: #{resp.code}")
64
64
  case resp.code
@@ -66,8 +66,9 @@ module DevCycle
66
66
  @logger.debug("Config not modified, using cache, etag: #{@config_e_tag}")
67
67
  break
68
68
  when 200
69
- @logger.debug("Config downloaded, etag: #{resp.headers['Etag']}")
69
+ @logger.info("New config received, etag: #{resp.headers['Etag']}")
70
70
  set_config(resp.body, resp.headers['Etag'])
71
+ @logger.info("New config stored, etag: #{@config_e_tag}")
71
72
  break
72
73
  when 403
73
74
  stop_polling
@@ -92,7 +93,6 @@ module DevCycle
92
93
 
93
94
  @local_bucketing.store_config(config)
94
95
  @config_e_tag = etag
95
- @logger.debug("Config stored, etag: #{@config_e_tag}")
96
96
  @local_bucketing.has_config = true
97
97
  end
98
98
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.0
11
11
  =end
12
12
 
13
13
  module DevCycle
14
- VERSION = '2.3.2'
14
+ VERSION = '2.3.4'
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.3.2
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - DevCycleHQ
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-18 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -76,16 +76,16 @@ dependencies:
76
76
  name: oj
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - '='
79
+ - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: 3.13.2
81
+ version: '3.0'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - '='
86
+ - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: 3.13.2
88
+ version: '3.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: google-protobuf
91
91
  requirement: !ruby/object:Gem::Requirement