statsig 1.24.2 → 1.24.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/spec_store.rb +3 -2
  3. data/lib/statsig.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a9c35b84fa7229be35e083126f1b498855e993fd2b6df379771040b6762d9c5
4
- data.tar.gz: 92c19b6298b724706a6fc1f1157609b314f0c1b37a9942917259e21ad77d440d
3
+ metadata.gz: 5fe02a7e436da6cb4568a0813914c9d2d31c70b7dd55497fbb77577d7792dffd
4
+ data.tar.gz: 642c10f84b32af9e5065b77e9ff2dd95410fc8c8b60d497e78c814464ce157c1
5
5
  SHA512:
6
- metadata.gz: 3e0e9e2d0dc6677065baf7311f3978b247ffdabe63285644480c349155296b176fc0abeab704ed331eb61f9d0586904f3c8f2ef2bee31f91d303642b225e50c8
7
- data.tar.gz: 84b0030cb12cc0409ffb14097d750205ce0291a2bc409744a74b8e4ccc38c9d5bdd71a40930a035a42ba24d69f864c8fb5b870b4a4b79c357abe80d59a90fd91
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(id_lists)
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::CONFIG_SPECS_KEY, JSON.generate(id_lists))
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
@@ -227,7 +227,7 @@ module Statsig
227
227
  def self.get_statsig_metadata
228
228
  {
229
229
  'sdkType' => 'ruby-server',
230
- 'sdkVersion' => '1.24.2',
230
+ 'sdkVersion' => '1.24.3',
231
231
  }
232
232
  end
233
233
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.2
4
+ version: 1.24.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Statsig, Inc