gitlab-experiment 0.4.11 → 0.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gitlab/experiment.rb +1 -1
- data/lib/gitlab/experiment/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 231c8403f2957e01a3b94cb0b1d28463ec56a609afd0116d2761057ecd99dcaf
|
4
|
+
data.tar.gz: 836395307a137302746e0dabed9cda973cc47250c7a4df233c2ddcfe4db3db33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4eab7b1929389e75ec99569e81e9cf2c6f91407b3bef711080db796597093b5106e999be5a005c401d4e125d7bc244911acc30099670d5439329b56663bc196
|
7
|
+
data.tar.gz: f4bb5c44f9511ef2a6e58a5887daa1d387619099884262da63ccdfdb259dbf24c95cf4170afa67f0169ae4d13676166659494c608f7fc61b9cfc6f6e0dbed20b
|
data/lib/gitlab/experiment.rb
CHANGED
@@ -79,7 +79,7 @@ module Gitlab
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def variant(value = nil)
|
82
|
-
@variant_name = value
|
82
|
+
@variant_name = cache_variant(value) if value.present?
|
83
83
|
return Variant.new(name: (@variant_name || :unresolved).to_s) if @variant_name || @resolving_variant
|
84
84
|
|
85
85
|
if enabled?
|