statsig 2.5.2 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/evaluator.rb +4 -2
- data/lib/statsig.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d2ed9517e4a8bdddd46fe4f7a143e97a4ad53ad421d2e5f66448b0a88b0c302
|
4
|
+
data.tar.gz: 23d4b29f5d3c8b456368f05a6d6caefab468b3aa5fb63e90ac0b897180619c13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f685c8419d3b2817ff26ed749552981462597ec660b019851e43f4df60ac1b61533df86282d7fb40b6212e328f2443549f9501b91cf9be92b3644233b892dcbc
|
7
|
+
data.tar.gz: 5faf75601f2ceed7bd6056db6fe8a9f646f7150f18f381d85943ad6ff304d5b1ba76757a91e0d28fbbfd25ced2aa3ec830cdd3ed08e19e0f1bdaae9febce9800
|
data/lib/evaluator.rb
CHANGED
@@ -103,6 +103,7 @@ module Statsig
|
|
103
103
|
end
|
104
104
|
|
105
105
|
if @spec_store.init_reason == EvaluationReason::UNINITIALIZED
|
106
|
+
end_result.gate_value = false
|
106
107
|
unless end_result.disable_evaluation_details
|
107
108
|
end_result.evaluation_details = EvaluationDetails.uninitialized
|
108
109
|
end
|
@@ -422,6 +423,7 @@ module Statsig
|
|
422
423
|
|
423
424
|
def unsupported_or_unrecognized(config_name, end_result)
|
424
425
|
end_result.rule_id = Const::EMPTY_STR
|
426
|
+
end_result.gate_value = false
|
425
427
|
|
426
428
|
if end_result.disable_evaluation_details
|
427
429
|
return
|
@@ -613,11 +615,11 @@ module Statsig
|
|
613
615
|
eval_condition(user, condition, end_result)
|
614
616
|
end
|
615
617
|
|
616
|
-
if !@options.disable_evaluation_memoization &&
|
618
|
+
if !@options.disable_evaluation_memoization &&
|
617
619
|
condition && condition[:type] != Const::CND_PASS_GATE && condition[:type] != Const::CND_FAIL_GATE
|
618
620
|
eval_rule_memo[condition_hash] = result
|
619
621
|
end
|
620
|
-
|
622
|
+
|
621
623
|
memo[:eval_rule] = eval_rule_memo
|
622
624
|
|
623
625
|
pass = false if result != true
|
data/lib/statsig.rb
CHANGED
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: 2.5.
|
4
|
+
version: 2.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Statsig, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|