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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 207b046a8c0b1c98ad958442716be6a8232c431bfcc702a42817d8eb1aa3f465
4
- data.tar.gz: c654346312abfd1684af031fe1784cb1db61ac583c0c52c3ef50b08d0337182b
3
+ metadata.gz: 231c8403f2957e01a3b94cb0b1d28463ec56a609afd0116d2761057ecd99dcaf
4
+ data.tar.gz: 836395307a137302746e0dabed9cda973cc47250c7a4df233c2ddcfe4db3db33
5
5
  SHA512:
6
- metadata.gz: 3f3b9d02b8a268e99bb9cda60e7c1a76d55962f9d04754209558deebd58624c5407bf883a6405c3d248b13f3a246a96a9d4a370bfca052e512f125a57aa89e8f
7
- data.tar.gz: b43611c028598b362972079b6b785dd62e7c4b35dffa2abc6bd9822a6a2b488385101a5aea975b0d6c429638a8e8661ff6e8aca9e0a0e184c9510a6e5c591d48
6
+ metadata.gz: e4eab7b1929389e75ec99569e81e9cf2c6f91407b3bef711080db796597093b5106e999be5a005c401d4e125d7bc244911acc30099670d5439329b56663bc196
7
+ data.tar.gz: f4bb5c44f9511ef2a6e58a5887daa1d387619099884262da63ccdfdb259dbf24c95cf4170afa67f0169ae4d13676166659494c608f7fc61b9cfc6f6e0dbed20b
@@ -79,7 +79,7 @@ module Gitlab
79
79
  end
80
80
 
81
81
  def variant(value = nil)
82
- @variant_name = value unless value.blank?
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?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gitlab
4
4
  class Experiment
5
- VERSION = '0.4.11'
5
+ VERSION = '0.4.12'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-experiment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab