statsig 1.8.4.beta.pre.1 → 1.8.4.beta.pre.2

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: 9e0d1d1530c323ccc58ea83da7a0c305692b51defa32071ee3f842d1519bb16b
4
- data.tar.gz: e0d5018bbfd6f8c3dbe4fc099039d729d270d1ea5df8d5f59dbb72e56772da30
3
+ metadata.gz: 8bea35d8e01c06aa973c41af533542e10256eb12ff1b8c790affe92d28e6f762
4
+ data.tar.gz: 183446325403fc29ffafd0ea498557ae56c59d6959a59d5e96a1c88806b57147
5
5
  SHA512:
6
- metadata.gz: 9aa5bcf5d281709982ab3c325043cfcea99118e36bf2d82d11fd75995ad4a1e1f8f3e3e1a087652432ae5b6d0f15ee3a1a5deebff6f8d557ede16167edf72250
7
- data.tar.gz: b1d95b28521991e9a247f181b16ce7652158bf713e230aca0a2c4ebc1752c6a2e317223e50e69caaa2b1b9751d85b7e6db3de5d70e5dc1750ca41009e52ec0a8
6
+ metadata.gz: 116a1a145265084de0877fda45b017f36eda5eed8a19c093e25588e1f4720ac10ef903dfdc9c6f13ae4989565a8b01e4e20ac2aa3efd661a34e1c16bb91d680b
7
+ data.tar.gz: aa0d99ff3b38ae0e73f037bf31efc4a364fe0e6831efa6347329f525e38c2148837c19e21768fece6b921fbbe6404664e30d9549aa9d4ace4544519c5830dd8b
data/lib/statsig.rb CHANGED
@@ -40,7 +40,7 @@ module Statsig
40
40
  def self.get_statsig_metadata
41
41
  {
42
42
  'sdkType' => 'ruby-server',
43
- 'sdkVersion' => '1.8.4.beta-1`',
43
+ 'sdkVersion' => '1.8.4.beta-2',
44
44
  }
45
45
  end
46
46
 
@@ -13,6 +13,7 @@ module Statsig
13
13
 
14
14
  def log_event(event)
15
15
  @events.push(event)
16
+ puts "Statsig:: log_event called, new count: #{@events.length.to_s}"
16
17
  if @events.length >= 500
17
18
  flush
18
19
  end
@@ -57,6 +58,7 @@ module Statsig
57
58
  end
58
59
 
59
60
  def flush(closing = false)
61
+ puts "Statsig:: calling flush function, count: #{@events.length.to_s}"
60
62
  if closing
61
63
  @background_flush&.exit
62
64
  end
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.8.4.beta.pre.1
4
+ version: 1.8.4.beta.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Statsig, Inc