statsig 1.31.0 → 1.31.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: 1442642777f1e73e38aa9944a88f9eab27a88df0c856ed0bc708555fe51a7b91
4
- data.tar.gz: '07159c53071c5650f01016e485aca359568025f96dbeea39e3b99d39d1286662'
3
+ metadata.gz: 1afc6737d00e614429706bdcac895ecd61ef3f858fe152bc21c407470ec8168f
4
+ data.tar.gz: cbdb4311dd2505d47ada5f78105ec0203e24edd6274161d16b67b196aa68596b
5
5
  SHA512:
6
- metadata.gz: 1454423d5e182969c8abce5ab37a7aef9ed9ff854398725b13d3743dc85f49dffb2a7e9176ffdda6e18bef2cdbc4c191aac0716ac204b5a054e1e11e359bde6c
7
- data.tar.gz: 1a07714268ca3bec58974e3059c34dcc6a7e7f0a8617fd22874b0c49342546cc475ea9b6ec24569e4d07109aca7c0afdd5ead59f809512d5a9ba83ca0894e4e7
6
+ metadata.gz: 113b3cbc430583fd2144ab7f6dc9188e3e2c87079fb188bc931c954ffe51c18c849373ed53fee2b71c87f6abb76a54f66519475eb5bfd95bf00c29cc21f2e4c0
7
+ data.tar.gz: a4f7632a2af82ea4052ed1c94b9b651e7fd7b6ac88010d4d18b77038d374d2833e25443768152f54ab68f6710f48a6c5ada634199d6b4d55f7501074674d3a82
data/lib/statsig.rb CHANGED
@@ -327,7 +327,7 @@ module Statsig
327
327
  def self.get_statsig_metadata
328
328
  {
329
329
  'sdkType' => 'ruby-server',
330
- 'sdkVersion' => '1.31.0',
330
+ 'sdkVersion' => '1.31.1',
331
331
  'languageVersion' => RUBY_VERSION
332
332
  }
333
333
  end
@@ -343,7 +343,7 @@ class StatsigDriver
343
343
  end
344
344
 
345
345
  def normalize_user(user)
346
- if !@options&.environment.nil?
346
+ if user.statsig_environment.nil? && !@options&.environment.nil?
347
347
  user.statsig_environment = @options.environment
348
348
  end
349
349
  user
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.31.0
4
+ version: 1.31.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Statsig, Inc
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-24 00:00:00.000000000 Z
11
+ date: 2024-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -352,7 +352,7 @@ homepage: https://rubygems.org/gems/statsig
352
352
  licenses:
353
353
  - ISC
354
354
  metadata: {}
355
- post_install_message:
355
+ post_install_message:
356
356
  rdoc_options: []
357
357
  require_paths:
358
358
  - lib
@@ -367,8 +367,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
367
367
  - !ruby/object:Gem::Version
368
368
  version: '0'
369
369
  requirements: []
370
- rubygems_version: 3.2.33
371
- signing_key:
370
+ rubygems_version: 3.3.22
371
+ signing_key:
372
372
  specification_version: 4
373
373
  summary: Statsig server SDK for Ruby
374
374
  test_files: []