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: 1593a36e4c3b19e98bfca0b2b22be6c18ec5728e6a41b9dd87cc304de0d0d710
4
- data.tar.gz: 607694a1ffdf94f5792e8d47c38393da6f31bcc01c7ca95dbe89ae4a727bed44
3
+ metadata.gz: 40bc3727e8d09d7e8262340fc95f3e171c9634fb6dbca1f7ec77c08bf26e928e
4
+ data.tar.gz: f7b808fda1a36db48d6858583c397dff9a1e363faf9ad90dd514ca0a5263dd9b
5
5
  SHA512:
6
- metadata.gz: e24743e855aa975a958104a037a462b32d83c6b33107b10d3880577915b530815d609524db3818d56284c8985f207f38442a9b826f4bcff47b67f34cc2a95692
7
- data.tar.gz: 031647ab1a87ff06c6576e768e976ad220160eb00fad9ac9052d9206589ed0fe84b0494208ed69989da6c1d75ea971583a2817bef4f284a1f808c0358b9da631
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.13.2'
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.info("New config received, etag: #{resp.headers['Etag']}")
69
+ @logger.debug("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
+ @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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.0
11
11
  =end
12
12
 
13
13
  module DevCycle
14
- VERSION = '2.3.3'
14
+ VERSION = '2.3.5'
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.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-04-18 00:00:00.000000000 Z
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.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