oursprivacy-ingest 1.15.0 → 1.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 551fdea325493682552a6606566b1288d5a915992613c0ff8aee374f65bc0f79
4
- data.tar.gz: 04c17fd539467205f1e15cfd30517ea2582f46decb35520fdac725a6314f831d
3
+ metadata.gz: f7d2a2e9922971e9c23aec3b134c5cea566862e4e556f9a10f456bf23c98dc3e
4
+ data.tar.gz: 5d96cf2231696981f60f0c53abfc2aa1164edb89658810979e374e638fa3786f
5
5
  SHA512:
6
- metadata.gz: c6e4b0bfb862a738c3aff1a3918ef91a1897da23d4cc4549e041a4fdc5f981e34d5e9430c6839275af7ef8e12c1329b5046a6107beff03f00d10e4c1fa1ba85c
7
- data.tar.gz: 349485e4548b766eb59a3012fea6c2317ebf4bff4b784c929d8df5c02360caede63a2add2202cc7de7b2d0c33e4ea13fa8977256e1a64be92cbda73c468bcc74
6
+ metadata.gz: 9dfc90d71c3e2e0d870b1237afb2ec88d17be18c3bdb9fabef03858e082f8ff0b89d02f8a333970d80734fa6767b37187ea0bc18dba88828f3c93968ea7fe77f
7
+ data.tar.gz: c03e4841d379328f8cc00727aeac9d31647459446bfd9990c5c32b2432d46ed76c054bf2a9130c84e78f02b4f003f08fd9c3bb51fa4c034316fd3d256f8c4681
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.16.0 (2026-07-21)
4
+
5
+ Full Changelog: [v1.15.0...v1.16.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v1.15.0...v1.16.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([ffe73bb](https://github.com/with-ours/ingest-sdk-ruby/commit/ffe73bbb49d9e305e1bd74a5423c416f115cf0ce))
10
+
3
11
  ## 1.15.0 (2026-07-18)
4
12
 
5
13
  Full Changelog: [v1.14.3...v1.15.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v1.14.3...v1.15.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "oursprivacy-ingest", "~> 1.15.0"
20
+ gem "oursprivacy-ingest", "~> 1.16.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -48,6 +48,15 @@ module OursprivacyIngest
48
48
  # @return [Boolean, nil]
49
49
  optional :is_control, OursprivacyIngest::Internal::Type::Boolean, nil?: true
50
50
 
51
+ # @!attribute redirect
52
+ # Redirect destination for redirect (split-URL) variants — a same-domain relative
53
+ # path or an absolute https:// URL. Present only when the assigned variant is a
54
+ # redirect; absent for on-page (DOM-modification) variants. Read it straight off
55
+ # the payload and issue the redirect server-side.
56
+ #
57
+ # @return [String, nil]
58
+ optional :redirect, String, nil?: true
59
+
51
60
  # @!attribute type
52
61
  #
53
62
  # @return [String, nil]
@@ -58,15 +67,29 @@ module OursprivacyIngest
58
67
  # @return [String, nil]
59
68
  optional :variant_name, String, nil?: true
60
69
 
61
- # @!method initialize(experiment_id:, in_experiment:, success:, variant_id:, experiment_key: nil, experiment_name: nil, is_control: nil, type: nil, variant_name: nil)
70
+ # @!method initialize(experiment_id:, in_experiment:, success:, variant_id:, experiment_key: nil, experiment_name: nil, is_control: nil, redirect: nil, type: nil, variant_name: nil)
71
+ # Some parameter documentations has been truncated, see
72
+ # {OursprivacyIngest::Models::ExperimentAssignmentResponse::UnionMember0} for more
73
+ # details.
74
+ #
62
75
  # @param experiment_id [String]
76
+ #
63
77
  # @param in_experiment [Boolean, OursprivacyIngest::Models::ExperimentAssignmentResponse::UnionMember0::InExperiment]
78
+ #
64
79
  # @param success [Boolean, OursprivacyIngest::Models::ExperimentAssignmentResponse::UnionMember0::Success]
80
+ #
65
81
  # @param variant_id [String]
82
+ #
66
83
  # @param experiment_key [String, nil]
84
+ #
67
85
  # @param experiment_name [String, nil]
86
+ #
68
87
  # @param is_control [Boolean, nil]
88
+ #
89
+ # @param redirect [String, nil] Redirect destination for redirect (split-URL) variants — a same-domain relative
90
+ #
69
91
  # @param type [String, nil]
92
+ #
70
93
  # @param variant_name [String, nil]
71
94
 
72
95
  # @see OursprivacyIngest::Models::ExperimentAssignmentResponse::UnionMember0#in_experiment
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OursprivacyIngest
4
- VERSION = "1.15.0"
4
+ VERSION = "1.16.0"
5
5
  end
@@ -51,6 +51,13 @@ module OursprivacyIngest
51
51
  sig { returns(T.nilable(T::Boolean)) }
52
52
  attr_accessor :is_control
53
53
 
54
+ # Redirect destination for redirect (split-URL) variants — a same-domain relative
55
+ # path or an absolute https:// URL. Present only when the assigned variant is a
56
+ # redirect; absent for on-page (DOM-modification) variants. Read it straight off
57
+ # the payload and issue the redirect server-side.
58
+ sig { returns(T.nilable(String)) }
59
+ attr_accessor :redirect
60
+
54
61
  sig { returns(T.nilable(String)) }
55
62
  attr_accessor :type
56
63
 
@@ -68,6 +75,7 @@ module OursprivacyIngest
68
75
  experiment_key: T.nilable(String),
69
76
  experiment_name: T.nilable(String),
70
77
  is_control: T.nilable(T::Boolean),
78
+ redirect: T.nilable(String),
71
79
  type: T.nilable(String),
72
80
  variant_name: T.nilable(String)
73
81
  ).returns(T.attached_class)
@@ -80,6 +88,11 @@ module OursprivacyIngest
80
88
  experiment_key: nil,
81
89
  experiment_name: nil,
82
90
  is_control: nil,
91
+ # Redirect destination for redirect (split-URL) variants — a same-domain relative
92
+ # path or an absolute https:// URL. Present only when the assigned variant is a
93
+ # redirect; absent for on-page (DOM-modification) variants. Read it straight off
94
+ # the payload and issue the redirect server-side.
95
+ redirect: nil,
83
96
  type: nil,
84
97
  variant_name: nil
85
98
  )
@@ -97,6 +110,7 @@ module OursprivacyIngest
97
110
  experiment_key: T.nilable(String),
98
111
  experiment_name: T.nilable(String),
99
112
  is_control: T.nilable(T::Boolean),
113
+ redirect: T.nilable(String),
100
114
  type: T.nilable(String),
101
115
  variant_name: T.nilable(String)
102
116
  }
@@ -16,6 +16,7 @@ module OursprivacyIngest
16
16
  experiment_key: String?,
17
17
  experiment_name: String?,
18
18
  is_control: bool?,
19
+ redirect: String?,
19
20
  type: String?,
20
21
  variant_name: String?
21
22
  }
@@ -35,6 +36,8 @@ module OursprivacyIngest
35
36
 
36
37
  attr_accessor is_control: bool?
37
38
 
39
+ attr_accessor redirect: String?
40
+
38
41
  attr_accessor type: String?
39
42
 
40
43
  attr_accessor variant_name: String?
@@ -47,6 +50,7 @@ module OursprivacyIngest
47
50
  ?experiment_key: String?,
48
51
  ?experiment_name: String?,
49
52
  ?is_control: bool?,
53
+ ?redirect: String?,
50
54
  ?type: String?,
51
55
  ?variant_name: String?
52
56
  ) -> void
@@ -59,6 +63,7 @@ module OursprivacyIngest
59
63
  experiment_key: String?,
60
64
  experiment_name: String?,
61
65
  is_control: bool?,
66
+ redirect: String?,
62
67
  type: String?,
63
68
  variant_name: String?
64
69
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oursprivacy-ingest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ours Privacy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-20 00:00:00.000000000 Z
11
+ date: 2026-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi