dodopayments 1.81.0 → 1.81.1

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: 6f647a567da0ad9b57695dbc2a6aee4213e7c9a8ae51a18c460af66bd91b4e93
4
- data.tar.gz: 55df95f205e5c8ca61c46f998de46f83b3bde3dfa084bb84611d0a13ca0b4d3e
3
+ metadata.gz: a887610b73292cc2ac89a288ad023df611aaf2a1757adfeab11ad0b08ecf3fa0
4
+ data.tar.gz: 568b8078505602e40c66d20db148de71cb16acf508d87fb82167773a8c4326f3
5
5
  SHA512:
6
- metadata.gz: 55f12be23f25a942b510001f7d69cbfdda22aeef9565ddb37d906d0f374e35cd6224596bf2a00ec90c3996454f38cbfb3dddccecaced33150898dfd4a3e2b9df
7
- data.tar.gz: c4037b7d004e738e0f710f5b89db08f88ac729fd13bf4713a9886ea0e38f9268e8191a7f6e1b834b6d91e9d804d5e202a6f17752444d256e1da5e66458a7cafb
6
+ metadata.gz: 890ad56a9600a773c462fa6263e3c06d701167f6b4cbfd6534a481f0ae19d845897a2b68740a0eb7676d5fa55e1afd707238692e61d6f4abded5daa4927745e1
7
+ data.tar.gz: 045770e781bdf35663c8bfca689d49b7ab9e453cfdb01afb6d9e523f4c26c65d010b724418f70141f33c344c05f6128841f2a651bd45fc22ad0ee87308c2d11c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.81.1 (2026-02-07)
4
+
5
+ Full Changelog: [v1.81.0...v1.81.1](https://github.com/dodopayments/dodopayments-ruby/compare/v1.81.0...v1.81.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** loosen json header parsing ([c89ca91](https://github.com/dodopayments/dodopayments-ruby/commit/c89ca911568c15c34c55801fd959a528fc2c29af))
10
+
3
11
  ## 1.81.0 (2026-02-06)
4
12
 
5
13
  Full Changelog: [v1.78.0...v1.81.0](https://github.com/dodopayments/dodopayments-ruby/compare/v1.78.0...v1.81.0)
data/README.md CHANGED
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
26
26
  <!-- x-release-please-start-version -->
27
27
 
28
28
  ```ruby
29
- gem "dodopayments", "~> 1.81.0"
29
+ gem "dodopayments", "~> 1.81.1"
30
30
  ```
31
31
 
32
32
  <!-- x-release-please-end -->
@@ -485,7 +485,7 @@ module Dodopayments
485
485
  end
486
486
 
487
487
  # @type [Regexp]
488
- JSON_CONTENT = %r{^application/(?:vnd(?:\.[^.]+)*\+)?json(?!l)}
488
+ JSON_CONTENT = %r{^application/(?:[a-zA-Z0-9.-]+\+)?json(?!l)}
489
489
  # @type [Regexp]
490
490
  JSONL_CONTENT = %r{^application/(:?x-(?:n|l)djson)|(:?(?:x-)?jsonl)}
491
491
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dodopayments
4
- VERSION = "1.81.0"
4
+ VERSION = "1.81.1"
5
5
  end
@@ -296,7 +296,7 @@ module Dodopayments
296
296
  end
297
297
 
298
298
  JSON_CONTENT =
299
- T.let(%r{^application/(?:vnd(?:\.[^.]+)*\+)?json(?!l)}, Regexp)
299
+ T.let(%r{^application/(?:[a-zA-Z0-9.-]+\+)?json(?!l)}, Regexp)
300
300
  JSONL_CONTENT =
301
301
  T.let(%r{^application/(:?x-(?:n|l)djson)|(:?(?:x-)?jsonl)}, Regexp)
302
302
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dodopayments
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.81.0
4
+ version: 1.81.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dodo Payments
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-06 00:00:00.000000000 Z
11
+ date: 2026-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi