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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5bbc06065e5e4e126182cea9c01e801f3f6c3e2
4
- data.tar.gz: a7be551c6fabb0e6f93d85e531d3d0e360403194
3
+ metadata.gz: 59701c9db3bbf50b8be0a1126be80e0e870bc242
4
+ data.tar.gz: 44be0cbee1131b89553f49381c7e382c842a2af9
5
5
  SHA512:
6
- metadata.gz: 4f24e739480c517e98df5cf98cb0412716683045e389fc253f7e4270226a235ade6f54c7a83647c5c0c4b645f84aa496a3edea70653fd4c2186e7c044c4da6e7
7
- data.tar.gz: 702fb0aa34bd14ef60aaea54180b8a0b06772c85413574f3218c9e7b2729e8e41062da49cf2e9a3d78ae709fa1cc8ff1fc636a1aa98199b2b8bab7c0a46e82ec
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 :rollout_experiment_id_map
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 id map for rollouts
124
- @rollout_experiment_id_map = {}
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
- @rollout_experiment_id_map = @rollout_experiment_id_map.merge(generate_key_map(exps, 'id'))
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(@rollout_experiment_id_map)
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|
@@ -17,5 +17,5 @@
17
17
  #
18
18
  module Optimizely
19
19
  CLIENT_ENGINE = 'ruby-sdk'
20
- VERSION = '3.1.0'
20
+ VERSION = '3.1.1'
21
21
  end
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.0
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-03 00:00:00.000000000 Z
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.1
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