optimizely-sdk 3.3.2 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/optimizely.rb +248 -46
- data/lib/optimizely/audience.rb +22 -13
- data/lib/optimizely/bucketer.rb +3 -8
- data/lib/optimizely/config/datafile_project_config.rb +19 -3
- data/lib/optimizely/config/proxy_config.rb +34 -0
- data/lib/optimizely/config_manager/async_scheduler.rb +6 -2
- data/lib/optimizely/config_manager/http_project_config_manager.rb +45 -25
- data/lib/optimizely/config_manager/static_project_config_manager.rb +6 -2
- data/lib/optimizely/custom_attribute_condition_evaluator.rb +133 -37
- data/lib/optimizely/decision_service.rb +31 -29
- data/lib/optimizely/event/batch_event_processor.rb +47 -39
- data/lib/optimizely/event/entity/decision.rb +6 -4
- data/lib/optimizely/event/entity/impression_event.rb +4 -2
- data/lib/optimizely/event/event_factory.rb +4 -3
- data/lib/optimizely/event/user_event_factory.rb +4 -3
- data/lib/optimizely/event_dispatcher.rb +8 -14
- data/lib/optimizely/exceptions.rb +17 -9
- data/lib/optimizely/helpers/constants.rb +18 -5
- data/lib/optimizely/helpers/http_utils.rb +64 -0
- data/lib/optimizely/helpers/variable_type.rb +8 -1
- data/lib/optimizely/optimizely_config.rb +117 -0
- data/lib/optimizely/optimizely_factory.rb +54 -5
- data/lib/optimizely/project_config.rb +5 -1
- data/lib/optimizely/semantic_version.rb +166 -0
- data/lib/optimizely/version.rb +1 -1
- metadata +7 -18
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.
|
4
|
+
version: 3.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Optimizely
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,20 +94,6 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: httparty
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0.11'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0.11'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: json-schema
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,6 +135,7 @@ files:
|
|
149
135
|
- lib/optimizely/bucketer.rb
|
150
136
|
- lib/optimizely/condition_tree_evaluator.rb
|
151
137
|
- lib/optimizely/config/datafile_project_config.rb
|
138
|
+
- lib/optimizely/config/proxy_config.rb
|
152
139
|
- lib/optimizely/config_manager/async_scheduler.rb
|
153
140
|
- lib/optimizely/config_manager/http_project_config_manager.rb
|
154
141
|
- lib/optimizely/config_manager/project_config_manager.rb
|
@@ -178,13 +165,16 @@ files:
|
|
178
165
|
- lib/optimizely/helpers/date_time_utils.rb
|
179
166
|
- lib/optimizely/helpers/event_tag_utils.rb
|
180
167
|
- lib/optimizely/helpers/group.rb
|
168
|
+
- lib/optimizely/helpers/http_utils.rb
|
181
169
|
- lib/optimizely/helpers/validator.rb
|
182
170
|
- lib/optimizely/helpers/variable_type.rb
|
183
171
|
- lib/optimizely/logger.rb
|
184
172
|
- lib/optimizely/notification_center.rb
|
173
|
+
- lib/optimizely/optimizely_config.rb
|
185
174
|
- lib/optimizely/optimizely_factory.rb
|
186
175
|
- lib/optimizely/params.rb
|
187
176
|
- lib/optimizely/project_config.rb
|
177
|
+
- lib/optimizely/semantic_version.rb
|
188
178
|
- lib/optimizely/user_profile_service.rb
|
189
179
|
- lib/optimizely/version.rb
|
190
180
|
homepage: https://www.optimizely.com/
|
@@ -206,8 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
196
|
- !ruby/object:Gem::Version
|
207
197
|
version: '0'
|
208
198
|
requirements: []
|
209
|
-
|
210
|
-
rubygems_version: 2.5.2.3
|
199
|
+
rubygems_version: 3.0.3
|
211
200
|
signing_key:
|
212
201
|
specification_version: 4
|
213
202
|
summary: Ruby SDK for Optimizely's testing framework
|