promoted-ruby-client 5.0.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -0
- data/dev.md +1 -1
- data/lib/promoted/ruby/client/validator.rb +8 -0
- data/lib/promoted/ruby/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 752ae807e4eed73dd5c6077003908686ee2382e79825115bcdf9d3c4a8586c45
|
|
4
|
+
data.tar.gz: 9efe0d9d8ef770ccb3ff8de202e0f8307d44c2f9587ba81a0b0e5b6675bc1a90
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2e4d11859cc5742311038f4054196ac4a33525b44644830b3d9b3519b233e83c0dcaabf4d0b471949b1fb3f0cc15ed39d070fbf536459732b8549aa24799d57
|
|
7
|
+
data.tar.gz: f409cac31316515b0cc21ba603f1b4eb055ea6fdf4ba46a2b8aa702e68850bac221915a4569e1ae71d249240defcda14aebac303c877d1ae758e14e3e863abd4
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -65,6 +65,7 @@ Field Name | Type | Optional? | Description
|
|
|
65
65
|
```:user_id``` | String | Yes | The platform user id, cleared from Promoted logs.
|
|
66
66
|
```:anon_user_id``` | String | Yes | A different user id (presumably a UUID) disconnected from the platform user id, good for working with unauthenticated users or implementing right-to-be-forgotten.
|
|
67
67
|
```:is_internal_user``` | Boolean | Yes | If this user is a test user or not, defaults to false.
|
|
68
|
+
```:ignore_usage``` | Boolean | Yes | If you want to ignore usage from this user, defaults to false.
|
|
68
69
|
|
|
69
70
|
---
|
|
70
71
|
### CohortMembership
|
|
@@ -188,6 +189,8 @@ Field Name | Type | Optional? | Description
|
|
|
188
189
|
```:properties``` | Properties | Yes | Any additional custom properties to associate.
|
|
189
190
|
```:paging``` | Paging | Yes | Paging parameters
|
|
190
191
|
```:device``` | Device | Yes | Device information (as available)
|
|
192
|
+
```:disable_personalization``` | Boolean | Yes | If true, disables personalized inputs into Delivery algorithm.
|
|
193
|
+
|
|
191
194
|
---
|
|
192
195
|
|
|
193
196
|
### DeliveryRequest
|
data/dev.md
CHANGED
|
@@ -11,4 +11,4 @@ bundle exec rspec
|
|
|
11
11
|
3. Modify `promoted-ruby-client.gemspec`'s push block.
|
|
12
12
|
4. Run `gem build promoted-ruby-client.gemspec` to generate `gem`.
|
|
13
13
|
5. Run `bundle exec rspec`. This updates `Gemfile.lock`.
|
|
14
|
-
6. Run (using new output) `gem push promoted-ruby-client-5.
|
|
14
|
+
6. Run (using new output) `gem push promoted-ruby-client-5.2.0.gem`
|
|
@@ -18,6 +18,10 @@ module Promoted
|
|
|
18
18
|
{
|
|
19
19
|
:name => :is_internal_user,
|
|
20
20
|
:type => [TrueClass, FalseClass]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
:name => :ignore_usage,
|
|
24
|
+
:type => [TrueClass, FalseClass]
|
|
21
25
|
}
|
|
22
26
|
]
|
|
23
27
|
)
|
|
@@ -97,6 +101,10 @@ module Promoted
|
|
|
97
101
|
:name => :session_id,
|
|
98
102
|
:type => String
|
|
99
103
|
},
|
|
104
|
+
{
|
|
105
|
+
:name => :disable_personalization,
|
|
106
|
+
:type => [TrueClass, FalseClass]
|
|
107
|
+
},
|
|
100
108
|
{
|
|
101
109
|
:name => :insertion,
|
|
102
110
|
:required => true,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: promoted-ruby-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- scottmcmaster
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|