oursprivacy-ingest 0.5.3 → 0.6.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: fd45efb319fccf6e5a5418ca666863bf4a8590b9be0829e8df96509ef6edfb60
4
- data.tar.gz: aaf9c78d38df70913be8c7cbc57700516b477ca4c373f00875a9002144e66afe
3
+ metadata.gz: f0d8f90ce18584b889726c8b525dd97fd20c23639888b6d8c922c15ec98a81a3
4
+ data.tar.gz: 6e56a65cf040e5e7245a89396a63c1b5c8173125b819614b1345a8bf828fc496
5
5
  SHA512:
6
- metadata.gz: 65166abb22df74ad325fb653d753d486264bfe7750345f714a4e9fa817eef04c8ea396a11301659601c5d216304ed492ccd8f9f22bc71c20c249fbabfa9b2309
7
- data.tar.gz: 6250f8b010bcb9867de2756171644a09176df5717f99d1801ffdd4ffaf62d4bc7ddbd3a9ec8836d1d0f1655d1aff47a0f2ed90bd56121e4b3679e0db312f7871
6
+ metadata.gz: cac8037c6bb90aaaeba3faaa4849781fe3748db965b64ac57c8188a3c7d81402917346b0b060b689c274c7a892a271e801e1a7aa56fab92360560bd43cb322dc
7
+ data.tar.gz: 8a54b08be6e6071943e9f5d91181178fe6a40bfa33fd76b32487a82f589c409ac48bce35c0ad3136084f7cbc4adbcf5d59803f6d8a86bbaa68f42b73a35188e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.0 (2026-02-04)
4
+
5
+ Full Changelog: [v0.5.3...v0.6.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v0.5.3...v0.6.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([c897e73](https://github.com/with-ours/ingest-sdk-ruby/commit/c897e73b41d03ed59d3b16695ac593444a1de033))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **client:** always add content-length to post body, even when empty ([dbd2c0d](https://github.com/with-ours/ingest-sdk-ruby/commit/dbd2c0d48f21a6dfb3a5376fae25acd27b16e765))
15
+
16
+
17
+ ### Chores
18
+
19
+ * **docs:** remove www prefix ([4558817](https://github.com/with-ours/ingest-sdk-ruby/commit/45588178bcce89a6136eb025efc7d0db66e33a24))
20
+
3
21
  ## 0.5.3 (2026-01-17)
4
22
 
5
23
  Full Changelog: [v0.5.2...v0.5.3](https://github.com/with-ours/ingest-sdk-ruby/compare/v0.5.2...v0.5.3)
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", "~> 0.5.3"
20
+ gem "oursprivacy-ingest", "~> 0.6.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -75,7 +75,7 @@ module OursprivacyIngest
75
75
 
76
76
  case body
77
77
  in nil
78
- nil
78
+ req["content-length"] ||= 0 unless req["transfer-encoding"]
79
79
  in String
80
80
  req["content-length"] ||= body.bytesize.to_s unless req["transfer-encoding"]
81
81
  req.body_stream = OursprivacyIngest::Internal::Util::ReadIOAdapter.new(body, &blk)
@@ -8,7 +8,7 @@ module OursprivacyIngest
8
8
  include OursprivacyIngest::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute token
11
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
11
+ # The token for your Source. You can find this in the dashboard.
12
12
  #
13
13
  # @return [String]
14
14
  required :token, String
@@ -90,7 +90,7 @@ module OursprivacyIngest
90
90
  # Some parameter documentations has been truncated, see
91
91
  # {OursprivacyIngest::Models::TrackEventParams} for more details.
92
92
  #
93
- # @param token [String] The token for your Ours Privacy Source. You can find this in the Ours dashboard.
93
+ # @param token [String] The token for your Source. You can find this in the dashboard.
94
94
  #
95
95
  # @param event [String] The name of the event you're tracking. This must be whitelisted in the Ours dash
96
96
  #
@@ -8,7 +8,7 @@ module OursprivacyIngest
8
8
  include OursprivacyIngest::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute token
11
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
11
+ # The token for your Source. You can find this in the dashboard.
12
12
  #
13
13
  # @return [String]
14
14
  required :token, String
@@ -61,7 +61,7 @@ module OursprivacyIngest
61
61
  # Some parameter documentations has been truncated, see
62
62
  # {OursprivacyIngest::Models::VisitorUpsertParams} for more details.
63
63
  #
64
- # @param token [String] The token for your Ours Privacy Source. You can find this in the Ours dashboard.
64
+ # @param token [String] The token for your Source. You can find this in the dashboard.
65
65
  #
66
66
  # @param user_properties [OursprivacyIngest::Models::VisitorUpsertParams::UserProperties] User properties to associate with this user. The existing user properties will b
67
67
  #
@@ -13,7 +13,7 @@ module OursprivacyIngest
13
13
  #
14
14
  # @overload event(token:, event:, default_properties: nil, distinct_id: nil, email: nil, event_properties: nil, external_id: nil, time: nil, user_id: nil, user_properties: nil, request_options: {})
15
15
  #
16
- # @param token [String] The token for your Ours Privacy Source. You can find this in the Ours dashboard.
16
+ # @param token [String] The token for your Source. You can find this in the dashboard.
17
17
  #
18
18
  # @param event [String] The name of the event you're tracking. This must be whitelisted in the Ours dash
19
19
  #
@@ -12,7 +12,7 @@ module OursprivacyIngest
12
12
  #
13
13
  # @overload upsert(token:, user_properties:, default_properties: nil, email: nil, external_id: nil, user_id: nil, request_options: {})
14
14
  #
15
- # @param token [String] The token for your Ours Privacy Source. You can find this in the Ours dashboard.
15
+ # @param token [String] The token for your Source. You can find this in the dashboard.
16
16
  #
17
17
  # @param user_properties [OursprivacyIngest::Models::VisitorUpsertParams::UserProperties] User properties to associate with this user. The existing user properties will b
18
18
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OursprivacyIngest
4
- VERSION = "0.5.3"
4
+ VERSION = "0.6.0"
5
5
  end
@@ -14,7 +14,7 @@ module OursprivacyIngest
14
14
  )
15
15
  end
16
16
 
17
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
17
+ # The token for your Source. You can find this in the dashboard.
18
18
  sig { returns(String) }
19
19
  attr_accessor :token
20
20
 
@@ -112,7 +112,7 @@ module OursprivacyIngest
112
112
  ).returns(T.attached_class)
113
113
  end
114
114
  def self.new(
115
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
115
+ # The token for your Source. You can find this in the dashboard.
116
116
  token:,
117
117
  # The name of the event you're tracking. This must be whitelisted in the Ours
118
118
  # dashboard.
@@ -14,7 +14,7 @@ module OursprivacyIngest
14
14
  )
15
15
  end
16
16
 
17
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
17
+ # The token for your Source. You can find this in the dashboard.
18
18
  sig { returns(String) }
19
19
  attr_accessor :token
20
20
 
@@ -85,7 +85,7 @@ module OursprivacyIngest
85
85
  ).returns(T.attached_class)
86
86
  end
87
87
  def self.new(
88
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
88
+ # The token for your Source. You can find this in the dashboard.
89
89
  token:,
90
90
  # User properties to associate with this user. The existing user properties will
91
91
  # be updated. And all future events will have these properties associated with
@@ -29,7 +29,7 @@ module OursprivacyIngest
29
29
  ).returns(OursprivacyIngest::Models::TrackEventResponse)
30
30
  end
31
31
  def event(
32
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
32
+ # The token for your Source. You can find this in the dashboard.
33
33
  token:,
34
34
  # The name of the event you're tracking. This must be whitelisted in the Ours
35
35
  # dashboard.
@@ -22,7 +22,7 @@ module OursprivacyIngest
22
22
  ).returns(OursprivacyIngest::Models::VisitorUpsertResponse)
23
23
  end
24
24
  def upsert(
25
- # The token for your Ours Privacy Source. You can find this in the Ours dashboard.
25
+ # The token for your Source. You can find this in the dashboard.
26
26
  token:,
27
27
  # User properties to associate with this user. The existing user properties will
28
28
  # be updated. And all future events will have these properties associated with
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: 0.5.3
4
+ version: 0.6.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-01-17 00:00:00.000000000 Z
11
+ date: 2026-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi