vwo-sdk 1.5.0 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vwo/constants.rb +26 -3
- data/lib/vwo/core/bucketer.rb +4 -6
- data/lib/vwo/core/variation_decider.rb +337 -45
- data/lib/vwo/enums.rb +49 -9
- data/lib/vwo/logger.rb +1 -1
- data/lib/vwo/schemas/settings_file.rb +1 -1
- data/lib/vwo/services/batch_events_dispatcher.rb +110 -0
- data/lib/vwo/services/batch_events_queue.rb +175 -0
- data/lib/vwo/services/event_dispatcher.rb +1 -13
- data/lib/vwo/services/hooks_manager.rb +36 -0
- data/lib/vwo/services/operand_evaluator.rb +10 -2
- data/lib/vwo/services/segment_evaluator.rb +5 -26
- data/lib/vwo/services/settings_file_manager.rb +8 -4
- data/lib/vwo/services/settings_file_processor.rb +6 -1
- data/lib/vwo/services/usage_stats.rb +29 -0
- data/lib/vwo/user_storage.rb +1 -1
- data/lib/vwo/utils/campaign.rb +108 -1
- data/lib/vwo/utils/custom_dimensions.rb +26 -3
- data/lib/vwo/utils/feature.rb +1 -1
- data/lib/vwo/utils/function.rb +1 -1
- data/lib/vwo/utils/impression.rb +58 -7
- data/lib/vwo/utils/request.rb +15 -1
- data/lib/vwo/utils/segment.rb +1 -1
- data/lib/vwo/utils/uuid.rb +1 -1
- data/lib/vwo/utils/validations.rb +85 -1
- data/lib/vwo.rb +586 -203
- metadata +36 -13
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vwo-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VWO
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: codecov
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.4.3
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.4.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.70'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mocha
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.13.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.13.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: json-schema
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +80,7 @@ dependencies:
|
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0.1'
|
69
|
-
description:
|
83
|
+
description: Ruby SDK for VWO FullStack testing.
|
70
84
|
email:
|
71
85
|
- dev@wingify.com
|
72
86
|
executables: []
|
@@ -80,11 +94,15 @@ files:
|
|
80
94
|
- lib/vwo/enums.rb
|
81
95
|
- lib/vwo/logger.rb
|
82
96
|
- lib/vwo/schemas/settings_file.rb
|
97
|
+
- lib/vwo/services/batch_events_dispatcher.rb
|
98
|
+
- lib/vwo/services/batch_events_queue.rb
|
83
99
|
- lib/vwo/services/event_dispatcher.rb
|
100
|
+
- lib/vwo/services/hooks_manager.rb
|
84
101
|
- lib/vwo/services/operand_evaluator.rb
|
85
102
|
- lib/vwo/services/segment_evaluator.rb
|
86
103
|
- lib/vwo/services/settings_file_manager.rb
|
87
104
|
- lib/vwo/services/settings_file_processor.rb
|
105
|
+
- lib/vwo/services/usage_stats.rb
|
88
106
|
- lib/vwo/user_storage.rb
|
89
107
|
- lib/vwo/utils/campaign.rb
|
90
108
|
- lib/vwo/utils/custom_dimensions.rb
|
@@ -97,9 +115,14 @@ files:
|
|
97
115
|
- lib/vwo/utils/validations.rb
|
98
116
|
homepage: https://vwo.com/fullstack/server-side-testing/
|
99
117
|
licenses:
|
100
|
-
- Apache
|
101
|
-
metadata:
|
102
|
-
|
118
|
+
- Apache-2.0
|
119
|
+
metadata:
|
120
|
+
bug_tracker_uri: https://github.com/wingify/vwo-ruby-sdk/issues
|
121
|
+
changelog_uri: https://github.com/wingify/vwo-ruby-sdk/blob/master/CHANGELOG.md
|
122
|
+
documentation_uri: https://developers.vwo.com/docs/ruby-sdk-reference
|
123
|
+
homepage_uri: https://github.com/wingify/vwo-ruby-sdk
|
124
|
+
source_code_uri: https://github.com/wingify/vwo-ruby-sdk
|
125
|
+
post_install_message:
|
103
126
|
rdoc_options: []
|
104
127
|
require_paths:
|
105
128
|
- lib
|
@@ -107,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
107
130
|
requirements:
|
108
131
|
- - ">="
|
109
132
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
133
|
+
version: 2.2.10
|
111
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
135
|
requirements:
|
113
136
|
- - ">="
|
@@ -115,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
138
|
version: '0'
|
116
139
|
requirements: []
|
117
140
|
rubygems_version: 3.0.6
|
118
|
-
signing_key:
|
141
|
+
signing_key:
|
119
142
|
specification_version: 4
|
120
|
-
summary: Ruby SDK for VWO
|
143
|
+
summary: Ruby SDK for VWO FullStack testing
|
121
144
|
test_files: []
|