statsig 1.24.2 → 1.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spec_store.rb +3 -2
- data/lib/statsig.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fe02a7e436da6cb4568a0813914c9d2d31c70b7dd55497fbb77577d7792dffd
|
4
|
+
data.tar.gz: 642c10f84b32af9e5065b77e9ff2dd95410fc8c8b60d497e78c814464ce157c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c97dbcd694bc0a3b95ecf9ff2756c94421bee43e0e4029062acae707c446f0b9b88255d30feb6d7a05b4b3bcf710d8db59c079c030f2ab6cd5e946409fa5568
|
7
|
+
data.tar.gz: d4431371a48f9b54deb9ea2ceb9e8ce01fb6840de9952cee26006bd900bd9981aac54cfe58a9cd5e80e05bf101ef6cbf2233320b3b0a8d6f0ae778d802faa14c
|
data/lib/spec_store.rb
CHANGED
@@ -272,11 +272,11 @@ module Statsig
|
|
272
272
|
get_id_lists_from_network(init_diagnostics)
|
273
273
|
end
|
274
274
|
|
275
|
-
def save_id_lists_to_adapter(
|
275
|
+
def save_id_lists_to_adapter(id_lists_raw_json)
|
276
276
|
if @options.data_store.nil?
|
277
277
|
return
|
278
278
|
end
|
279
|
-
@options.data_store.set(Interfaces::IDataStore::
|
279
|
+
@options.data_store.set(Interfaces::IDataStore::ID_LISTS_KEY, id_lists_raw_json)
|
280
280
|
end
|
281
281
|
|
282
282
|
def get_id_lists_from_network(init_diagnostics = nil)
|
@@ -290,6 +290,7 @@ module Statsig
|
|
290
290
|
begin
|
291
291
|
server_id_lists = JSON.parse(response)
|
292
292
|
process_id_lists(server_id_lists, init_diagnostics)
|
293
|
+
save_id_lists_to_adapter(response)
|
293
294
|
rescue
|
294
295
|
# Ignored, will try again
|
295
296
|
end
|
data/lib/statsig.rb
CHANGED