devcycle-ruby-server-sdk 2.2.0 → 2.2.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: 6cc9dd1b991a3647be626b38da7398efb99d89752f3f277225d5655490c4c9f5
4
- data.tar.gz: 9aea4ae493717583a41a7bfa4c837d333a7d956fdc1d08fbb45e876be1412707
3
+ metadata.gz: 55cd81c5ce333954bd7627ac9c0e49bba0043a4ef206e7b41c922202d77b07db
4
+ data.tar.gz: e95e958de7af9fae690a597a5646f0a0113a0a0ff8ddb87aadda8639f0d49cd4
5
5
  SHA512:
6
- metadata.gz: edb164bbfba2dc76e50947a70f19b79e28dbb18652e50873f7164f73d477bb44c3576525db2fe75873c627f0618b5e71de424316890296f8db5174af6e287523
7
- data.tar.gz: 50b1254b7c4cb4fdc69a2d632e3aded8d7f7db94c13e72e29aa2042cb1e7057c9a83aed9a69200260d9ce10764938786dc961598b2d9c017d01e9f5c04249c03
6
+ metadata.gz: 6c49a7d485435a9cc2fce7a964980892dc515ad6a6c348d255408779a5ac05bb511d1bd4796b5e0775c4fecf0eaba61acec180bf80461491e1b18bd88902e659
7
+ data.tar.gz: 534ef29f1564b1297c463b91be326e43833bcdd74ead2c40d3b22be99e3fea108600eaef5a2511b3dbe49e019b3601f30de189ce3576ba3c7169545934546c64
@@ -121,10 +121,10 @@ module DevCycle
121
121
  sig { params(user: UserData).returns(BucketedUserConfig) }
122
122
  def generate_bucketed_config(user)
123
123
  @wasm_mutex.synchronize do
124
- user_addr = malloc_asc_string(user.to_json)
124
+ user_addr = malloc_asc_byte_array(user.to_json)
125
125
  @@stack_tracer = @@stack_tracer_raise
126
- config_addr = @@instance.invoke("generateBucketedConfigForUser", @sdkKeyAddr, user_addr)
127
- bucketed_config_json = read_asc_string(config_addr)
126
+ config_addr = @@instance.invoke("generateBucketedConfigForUserUTF8", @sdkKeyAddr, user_addr)
127
+ bucketed_config_json = read_asc_byte_array(config_addr)
128
128
  bucketed_config_hash = Oj.load(bucketed_config_json)
129
129
 
130
130
  BucketedUserConfig.new(bucketed_config_hash['project'],
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.3.0
11
11
  =end
12
12
 
13
13
  module DevCycle
14
- VERSION = '2.2.0'
14
+ VERSION = '2.2.1'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devcycle-ruby-server-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DevCycleHQ