promoted-ruby-client 5.0.0 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b71559ca253efcd620dbbc41ccd95dc17f479a4d9efe3241565038edee43acb
4
- data.tar.gz: cfb8da8803830124ea5c6147d83150c05d14068518b0d45285528096925a62a3
3
+ metadata.gz: 752ae807e4eed73dd5c6077003908686ee2382e79825115bcdf9d3c4a8586c45
4
+ data.tar.gz: 9efe0d9d8ef770ccb3ff8de202e0f8307d44c2f9587ba81a0b0e5b6675bc1a90
5
5
  SHA512:
6
- metadata.gz: 20717e1151bb52bb1917456ee22a8e73382b7e8ca0fb33d1aad73f2150e3533837b5ce0c20464a65d1988398be27218af2884eb16227a1a8660a47c600f4d220
7
- data.tar.gz: 8d4dff6877a2d28dca45c17116292ef6a2c78e2f6e78b4a255b52c1f3c1aab5fb7daaa62d80655f2e6c90527eff44840f27fe85aef04ac85938710f7ef9a738d
6
+ metadata.gz: d2e4d11859cc5742311038f4054196ac4a33525b44644830b3d9b3519b233e83c0dcaabf4d0b471949b1fb3f0cc15ed39d070fbf536459732b8549aa24799d57
7
+ data.tar.gz: f409cac31316515b0cc21ba603f1b4eb055ea6fdf4ba46a2b8aa702e68850bac221915a4569e1ae71d249240defcda14aebac303c877d1ae758e14e3e863abd4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- promoted-ruby-client (5.0.0)
4
+ promoted-ruby-client (5.2.0)
5
5
  concurrent-ruby (~> 1)
6
6
  faraday (>= 0.9.0)
7
7
  faraday_middleware (>= 0.9.0)
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.0.0.gem`
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,
@@ -1,7 +1,7 @@
1
1
  module Promoted
2
2
  module Ruby
3
3
  module Client
4
- VERSION = "5.0.0"
4
+ VERSION = "5.2.0"
5
5
  SERVER_VERSION = "rb." + VERSION
6
6
  end
7
7
  end
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.0.0
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-09-28 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday