optimizely-sdk 2.0.0.beta → 2.0.0.beta1
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 +166 -73
- data/lib/optimizely/audience.rb +6 -3
- data/lib/optimizely/bucketer.rb +21 -16
- data/lib/optimizely/condition.rb +4 -2
- data/lib/optimizely/decision_service.rb +141 -141
- data/lib/optimizely/error_handler.rb +5 -5
- data/lib/optimizely/event_builder.rb +158 -147
- data/lib/optimizely/event_dispatcher.rb +7 -6
- data/lib/optimizely/exceptions.rb +12 -1
- data/lib/optimizely/helpers/constants.rb +64 -63
- data/lib/optimizely/helpers/event_tag_utils.rb +86 -11
- data/lib/optimizely/helpers/group.rb +3 -1
- data/lib/optimizely/helpers/validator.rb +9 -1
- data/lib/optimizely/helpers/variable_type.rb +11 -7
- data/lib/optimizely/logger.rb +5 -5
- data/lib/optimizely/notification_center.rb +150 -0
- data/lib/optimizely/params.rb +3 -1
- data/lib/optimizely/project_config.rb +128 -24
- data/lib/optimizely/user_profile_service.rb +2 -0
- data/lib/optimizely/version.rb +4 -1
- metadata +15 -16
metadata
CHANGED
@@ -1,16 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optimizely-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Andrew Delikat
|
8
|
-
- Haley Bash
|
9
7
|
- Optimizely
|
10
8
|
autorequire:
|
11
9
|
bindir: bin
|
12
10
|
cert_chain: []
|
13
|
-
date:
|
11
|
+
date: 2018-03-29 00:00:00.000000000 Z
|
14
12
|
dependencies:
|
15
13
|
- !ruby/object:Gem::Dependency
|
16
14
|
name: bundler
|
@@ -60,56 +58,56 @@ dependencies:
|
|
60
58
|
requirements:
|
61
59
|
- - "~>"
|
62
60
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
61
|
+
version: 0.51.0
|
64
62
|
type: :development
|
65
63
|
prerelease: false
|
66
64
|
version_requirements: !ruby/object:Gem::Requirement
|
67
65
|
requirements:
|
68
66
|
- - "~>"
|
69
67
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.
|
68
|
+
version: 0.51.0
|
71
69
|
- !ruby/object:Gem::Dependency
|
72
|
-
name:
|
70
|
+
name: httparty
|
73
71
|
requirement: !ruby/object:Gem::Requirement
|
74
72
|
requirements:
|
75
73
|
- - "~>"
|
76
74
|
- !ruby/object:Gem::Version
|
77
|
-
version: '0.
|
75
|
+
version: '0.11'
|
78
76
|
type: :runtime
|
79
77
|
prerelease: false
|
80
78
|
version_requirements: !ruby/object:Gem::Requirement
|
81
79
|
requirements:
|
82
80
|
- - "~>"
|
83
81
|
- !ruby/object:Gem::Version
|
84
|
-
version: '0.
|
82
|
+
version: '0.11'
|
85
83
|
- !ruby/object:Gem::Dependency
|
86
|
-
name:
|
84
|
+
name: json-schema
|
87
85
|
requirement: !ruby/object:Gem::Requirement
|
88
86
|
requirements:
|
89
87
|
- - "~>"
|
90
88
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
89
|
+
version: '2.6'
|
92
90
|
type: :runtime
|
93
91
|
prerelease: false
|
94
92
|
version_requirements: !ruby/object:Gem::Requirement
|
95
93
|
requirements:
|
96
94
|
- - "~>"
|
97
95
|
- !ruby/object:Gem::Version
|
98
|
-
version: '
|
96
|
+
version: '2.6'
|
99
97
|
- !ruby/object:Gem::Dependency
|
100
|
-
name:
|
98
|
+
name: murmurhash3
|
101
99
|
requirement: !ruby/object:Gem::Requirement
|
102
100
|
requirements:
|
103
101
|
- - "~>"
|
104
102
|
- !ruby/object:Gem::Version
|
105
|
-
version: '
|
103
|
+
version: '0.1'
|
106
104
|
type: :runtime
|
107
105
|
prerelease: false
|
108
106
|
version_requirements: !ruby/object:Gem::Requirement
|
109
107
|
requirements:
|
110
108
|
- - "~>"
|
111
109
|
- !ruby/object:Gem::Version
|
112
|
-
version: '
|
110
|
+
version: '0.1'
|
113
111
|
description: A Ruby SDK for Optimizely's Full Stack product.
|
114
112
|
email:
|
115
113
|
- developers@optimizely.com
|
@@ -132,6 +130,7 @@ files:
|
|
132
130
|
- lib/optimizely/helpers/validator.rb
|
133
131
|
- lib/optimizely/helpers/variable_type.rb
|
134
132
|
- lib/optimizely/logger.rb
|
133
|
+
- lib/optimizely/notification_center.rb
|
135
134
|
- lib/optimizely/params.rb
|
136
135
|
- lib/optimizely/project_config.rb
|
137
136
|
- lib/optimizely/user_profile_service.rb
|
@@ -156,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
155
|
version: 1.3.1
|
157
156
|
requirements: []
|
158
157
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.6.
|
158
|
+
rubygems_version: 2.6.13
|
160
159
|
signing_key:
|
161
160
|
specification_version: 4
|
162
161
|
summary: Ruby SDK for Optimizely's testing framework
|