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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55cd81c5ce333954bd7627ac9c0e49bba0043a4ef206e7b41c922202d77b07db
|
4
|
+
data.tar.gz: e95e958de7af9fae690a597a5646f0a0113a0a0ff8ddb87aadda8639f0d49cd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c49a7d485435a9cc2fce7a964980892dc515ad6a6c348d255408779a5ac05bb511d1bd4796b5e0775c4fecf0eaba61acec180bf80461491e1b18bd88902e659
|
7
|
+
data.tar.gz: 534ef29f1564b1297c463b91be326e43833bcdd74ead2c40d3b22be99e3fea108600eaef5a2511b3dbe49e019b3601f30de189ce3576ba3c7169545934546c64
|
Binary file
|
@@ -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 =
|
124
|
+
user_addr = malloc_asc_byte_array(user.to_json)
|
125
125
|
@@stack_tracer = @@stack_tracer_raise
|
126
|
-
config_addr = @@instance.invoke("
|
127
|
-
bucketed_config_json =
|
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'],
|