devcycle-ruby-server-sdk 2.3.3 → 2.3.5
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: 40bc3727e8d09d7e8262340fc95f3e171c9634fb6dbca1f7ec77c08bf26e928e
|
4
|
+
data.tar.gz: f7b808fda1a36db48d6858583c397dff9a1e363faf9ad90dd514ca0a5263dd9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '087daa311bad8eeeaff30dc1b3ea098b554aef19b8340893f0776a8aa2e6e7ade6946d4005c248af0ee7feadbf8f802e56f0b6630270a03cb963d2442e293259'
|
7
|
+
data.tar.gz: e6f00489f8db1cc44878d2279523e9980e830aee7992a6dbc53d11dd7f62a136bc77c83e3ff9aa0877797a099bfdbdb171890126bf7821f20fd93f2bf192cb8a
|
@@ -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
|
|
@@ -66,9 +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.debug("New config received, etag: #{resp.headers['Etag']}")
|
70
70
|
set_config(resp.body, resp.headers['Etag'])
|
71
|
-
@logger.
|
71
|
+
@logger.debug("New config stored, etag: #{@config_e_tag}")
|
72
72
|
break
|
73
73
|
when 403
|
74
74
|
stop_polling
|
@@ -23,7 +23,8 @@ module DevCycle
|
|
23
23
|
HEADER_ID = 9
|
24
24
|
|
25
25
|
@@rand = Random.new(seed = Random.new_seed)
|
26
|
-
@@engine = Wasmtime::Engine.new
|
26
|
+
@@engine = Wasmtime::Engine.new(parallel_compilation: false)
|
27
|
+
# added to ensure that there is no processes deadlock when compiling wasm before forking
|
27
28
|
|
28
29
|
@@wasmmodule = Wasmtime::Module.from_file(@@engine, "#{__dir__}/bucketing-lib.release.wasm")
|
29
30
|
@@wasi_ctx = Wasmtime::WasiCtxBuilder.new
|
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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DevCycleHQ
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-05 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
|