statsig 1.24.0 → 1.24.2

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 +1 -1
  3. data/lib/statsig.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0f95c8f4ce514c74570b095d81959705153201640821ba25179d24cd34ed4ec
4
- data.tar.gz: c162910dc417b4f7311d91665d7240956a2eb1b58040050503bb8bb22b19cf12
3
+ metadata.gz: 7a9c35b84fa7229be35e083126f1b498855e993fd2b6df379771040b6762d9c5
4
+ data.tar.gz: 92c19b6298b724706a6fc1f1157609b314f0c1b37a9942917259e21ad77d440d
5
5
  SHA512:
6
- metadata.gz: b1e085f8fbdcfb6020060f331b53767a68bda85f24669b6f710701ca0e9562ff4ca2fa873cce2a0917f48e64767f87c1489e1c792b695933c31a7ed8b71efd17
7
- data.tar.gz: 9cf5e1ead6e76546d24d6042b2fe5f7dcbc5d1f9eae5423b4c7bca839174c1c8992d4c04ce61e21b53162872c99a619f86ea2b8c01f3d8485d9a35b67bcdf2e9
6
+ metadata.gz: 3e0e9e2d0dc6677065baf7311f3978b247ffdabe63285644480c349155296b176fc0abeab704ed331eb61f9d0586904f3c8f2ef2bee31f91d303642b225e50c8
7
+ data.tar.gz: 84b0030cb12cc0409ffb14097d750205ce0291a2bc409744a74b8e4ccc38c9d5bdd71a40930a035a42ba24d69f864c8fb5b870b4a4b79c357abe80d59a90fd91
data/lib/spec_store.rb CHANGED
@@ -199,7 +199,7 @@ module Statsig
199
199
  unless response.nil?
200
200
  init_diagnostics&.mark("download_config_specs", "start", "process")
201
201
 
202
- if process_specs(response.body)
202
+ if process_specs(response.body.to_s)
203
203
  @init_reason = EvaluationReason::NETWORK
204
204
  @rules_updated_callback.call(response.body.to_s, @last_config_sync_time) unless response.body.nil? or @rules_updated_callback.nil?
205
205
  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.0',
230
+ 'sdkVersion' => '1.24.2',
231
231
  }
232
232
  end
233
233
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statsig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0
4
+ version: 1.24.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Statsig, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-20 00:00:00.000000000 Z
11
+ date: 2023-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler