trycourier 4.7.0 → 4.7.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: 3dd2288c8edaa2eaa89d4a639297c9d02f7c4b1361bfb352430e8efa8344e009
4
- data.tar.gz: 6afb815a642a95197e1b8ad54aa84bbdceac455f19fac9e7ae75145b30461f50
3
+ metadata.gz: 60a3e529dea2838c4e1a907cb78d1e593eb5aa2574515b56e3923968b73ee6fb
4
+ data.tar.gz: b9112b225ef1284261bc91162a93929bca085cb983241ccffceb4ab9527892d1
5
5
  SHA512:
6
- metadata.gz: 8ca433a2d574f2e7c44d24927dfbb80060591ae0b42582caceb6fc93dd77f8aa2d1fea1093ad34269257effcd799b106de1178056e2430a59fc062276c0210a0
7
- data.tar.gz: d5ca09a7b432d9bf0e071be548bd25e8121403e53609af20d257a7fa2e5094c04da95d07e8a4f5d69373a5dd7256d9f3fc57f4138168e9669b0d34da6c091c14
6
+ metadata.gz: 2dbc06288c898543b75c19fe26285f7897a11087cebea941cd71eee7458615d3d156bd4e2bfe33ca4f20aa3825d041e30a9f2a7f6b71a83b9523a57839dfa772
7
+ data.tar.gz: 5fb3b16785c63052748c36af642ec13bf67c7743264060088953d914bcb799a7deb040c066f5b06ae334a16b45dae28e5bef736ab2760f12af3a34ce9f441381
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.7.1 (2026-02-07)
4
+
5
+ Full Changelog: [v4.7.0...v4.7.1](https://github.com/trycourier/courier-ruby/compare/v4.7.0...v4.7.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** loosen json header parsing ([70d1c0d](https://github.com/trycourier/courier-ruby/commit/70d1c0d55a6982b059be2809cae088351ba7f112))
10
+
3
11
  ## 4.7.0 (2026-02-06)
4
12
 
5
13
  Full Changelog: [v4.6.3...v4.7.0](https://github.com/trycourier/courier-ruby/compare/v4.6.3...v4.7.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 "trycourier", "~> 4.7.0"
20
+ gem "trycourier", "~> 4.7.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -485,7 +485,7 @@ module Courier
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 Courier
4
- VERSION = "4.7.0"
4
+ VERSION = "4.7.1"
5
5
  end
@@ -296,7 +296,7 @@ module Courier
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: trycourier
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.7.0
4
+ version: 4.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Courier
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-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi