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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae26e043c16d15e17bcd0754199d98bc6b04c02da1df32b6598ee28c1a18e9dc
|
4
|
+
data.tar.gz: 24e8f4738be97277bc60973019bfc1272ce9ec91512281bbec7eb21e4fb820a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
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.
|
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
|
|
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.
|
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-
|
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.
|
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.
|
88
|
+
version: '3.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: google-protobuf
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|