optimizely-sdk 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/optimizely/project_config.rb +5 -5
- data/lib/optimizely/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59701c9db3bbf50b8be0a1126be80e0e870bc242
|
4
|
+
data.tar.gz: 44be0cbee1131b89553f49381c7e382c842a2af9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaa90e6631800a4c9a31d372f1eaa1917e2f1b9dbcc0203eb36d8a5e8e1db0b68fc53fc744e4d4f759c13104cd21af9e77967303388e40f1f92d1ea02ac3ea6a
|
7
|
+
data.tar.gz: e71aa8c67ed0cb0fbe0da318bd08335988c535e43f9462a6448061002669f78c431724131e747dbad8ad3ebd01b9e915ea00fc7b2c623919d757ea56400d0ca2
|
@@ -54,7 +54,7 @@ module Optimizely
|
|
54
54
|
attr_reader :feature_variable_key_map
|
55
55
|
attr_reader :group_key_map
|
56
56
|
attr_reader :rollout_id_map
|
57
|
-
attr_reader :
|
57
|
+
attr_reader :rollout_experiment_key_map
|
58
58
|
attr_reader :variation_id_map
|
59
59
|
attr_reader :variation_id_to_variable_usage_map
|
60
60
|
attr_reader :variation_key_map
|
@@ -120,13 +120,13 @@ module Optimizely
|
|
120
120
|
end
|
121
121
|
end
|
122
122
|
@rollout_id_map = generate_key_map(@rollouts, 'id')
|
123
|
-
# split out the experiment
|
124
|
-
@
|
123
|
+
# split out the experiment key map for rollouts
|
124
|
+
@rollout_experiment_key_map = {}
|
125
125
|
@rollout_id_map.each_value do |rollout|
|
126
126
|
exps = rollout.fetch('experiments')
|
127
|
-
@
|
127
|
+
@rollout_experiment_key_map = @rollout_experiment_key_map.merge(generate_key_map(exps, 'key'))
|
128
128
|
end
|
129
|
-
@all_experiments = @experiment_key_map.merge(@
|
129
|
+
@all_experiments = @experiment_key_map.merge(@rollout_experiment_key_map)
|
130
130
|
@all_experiments.each do |key, exp|
|
131
131
|
variations = exp.fetch('variations')
|
132
132
|
variations.each do |variation|
|
data/lib/optimizely/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optimizely-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Optimizely
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
186
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.5.
|
187
|
+
rubygems_version: 2.5.2.3
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: Ruby SDK for Optimizely's testing framework
|