optimizely-sdk 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/optimizely.rb +169 -94
- data/lib/optimizely/audience.rb +7 -7
- data/lib/optimizely/bucketer.rb +16 -17
- data/lib/optimizely/config/datafile_project_config.rb +411 -0
- data/lib/optimizely/config_manager/async_scheduler.rb +91 -0
- data/lib/optimizely/config_manager/http_project_config_manager.rb +282 -0
- data/lib/optimizely/config_manager/project_config_manager.rb +24 -0
- data/lib/optimizely/config_manager/static_project_config_manager.rb +43 -0
- data/lib/optimizely/decision_service.rb +142 -52
- data/lib/optimizely/event_builder.rb +21 -28
- data/lib/optimizely/exceptions.rb +17 -1
- data/lib/optimizely/helpers/constants.rb +19 -0
- data/lib/optimizely/notification_center.rb +1 -0
- data/lib/optimizely/optimizely_factory.rb +73 -0
- data/lib/optimizely/project_config.rb +29 -434
- data/lib/optimizely/version.rb +1 -1
- metadata +12 -6
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Optimizely
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: rubocop
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.73.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.73.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: webmock
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,6 +147,11 @@ files:
|
|
147
147
|
- lib/optimizely/audience.rb
|
148
148
|
- lib/optimizely/bucketer.rb
|
149
149
|
- lib/optimizely/condition_tree_evaluator.rb
|
150
|
+
- lib/optimizely/config/datafile_project_config.rb
|
151
|
+
- lib/optimizely/config_manager/async_scheduler.rb
|
152
|
+
- lib/optimizely/config_manager/http_project_config_manager.rb
|
153
|
+
- lib/optimizely/config_manager/project_config_manager.rb
|
154
|
+
- lib/optimizely/config_manager/static_project_config_manager.rb
|
150
155
|
- lib/optimizely/custom_attribute_condition_evaluator.rb
|
151
156
|
- lib/optimizely/decision_service.rb
|
152
157
|
- lib/optimizely/error_handler.rb
|
@@ -160,6 +165,7 @@ files:
|
|
160
165
|
- lib/optimizely/helpers/variable_type.rb
|
161
166
|
- lib/optimizely/logger.rb
|
162
167
|
- lib/optimizely/notification_center.rb
|
168
|
+
- lib/optimizely/optimizely_factory.rb
|
163
169
|
- lib/optimizely/params.rb
|
164
170
|
- lib/optimizely/project_config.rb
|
165
171
|
- lib/optimizely/user_profile_service.rb
|