userplex 0.16.0 → 0.16.2

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: 5409cd80ddef6dff1a3805e550e0c9c247c95931435508bfb2492b44c2f7710c
4
- data.tar.gz: e47a691919907a0d70dec176d29a778e292238506d99116f3797b2775f902660
3
+ metadata.gz: f2a354b3eb91fe1f4e682f2892742d9cc5d809fadc5a08d1536634c208d37cd3
4
+ data.tar.gz: dee02ba5e0e083de97e12f4d7431bab536633fbbffb6a9b9917a4abbe00795b3
5
5
  SHA512:
6
- metadata.gz: 0d5c413ee75ff3fcf3cc4a07ef9d297e4d9254746c5b97a7fc36ee318415022223401e5bb2ba3e8ff67bd7c9c0fd5b6d45344679112c3fd58259e94270e4e8d2
7
- data.tar.gz: '0495e186952c28e1672e481c027caa6eca64ff84c15a9c7a2f23f3fc427d8513bb2b53343a9de984a7f957dee2ac5cc0ef4ed4eeea935677099d4a288ee54928'
6
+ metadata.gz: 96cee03d9489f7337f26e2bea98eb4d724156796981ffb4224fdf344543e3897149a9a06d7b9f4cd0c9e6e951adfec9d123f403519f1885c6a5c4a16da14d73c
7
+ data.tar.gz: 306cecd8129028e848028e52ad25824505dc54fe073f7c3c0dfebcdedcfdbbc614529c08feb82ab4fc8d42943e55f545eac594359e38778592d0530741d31136
data/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.2 (2026-02-07)
4
+
5
+ Full Changelog: [v0.16.1...v0.16.2](https://github.com/dqnamo/userplex-ruby/compare/v0.16.1...v0.16.2)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** loosen json header parsing ([ab54b58](https://github.com/dqnamo/userplex-ruby/commit/ab54b587c09d616fb14c559890ab57ec4c6dbf7a))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **docs:** remove www prefix ([111bdd7](https://github.com/dqnamo/userplex-ruby/commit/111bdd788526149f7e4eec6909133095c1591215))
15
+
16
+ ## 0.16.1 (2026-02-03)
17
+
18
+ Full Changelog: [v0.16.0...v0.16.1](https://github.com/dqnamo/userplex-ruby/compare/v0.16.0...v0.16.1)
19
+
20
+ ### Bug Fixes
21
+
22
+ * **client:** always add content-length to post body, even when empty ([2212153](https://github.com/dqnamo/userplex-ruby/commit/22121532c58515209963b4f2df7ae8e421508340))
23
+
24
+
25
+ ### Chores
26
+
27
+ * **internal:** update `actions/checkout` version ([047f16e](https://github.com/dqnamo/userplex-ruby/commit/047f16e85b4ff2fa6e458c5bc003fb8f27721704))
28
+ * move `cgi` into dependencies for ruby 4 ([f3bbed2](https://github.com/dqnamo/userplex-ruby/commit/f3bbed2026e0a4ef4c32e28f93bee10530aa66fc))
29
+
3
30
  ## 0.16.0 (2026-01-06)
4
31
 
5
32
  Full Changelog: [v0.15.0...v0.16.0](https://github.com/dqnamo/userplex-ruby/compare/v0.15.0...v0.16.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "userplex", "~> 0.16.0"
18
+ gem "userplex", "~> 0.16.2"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -75,7 +75,7 @@ module Userplex
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 = Userplex::Internal::Util::ReadIOAdapter.new(body, &blk)
@@ -485,7 +485,7 @@ module Userplex
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 Userplex
4
- VERSION = "0.16.0"
4
+ VERSION = "0.16.2"
5
5
  end
@@ -296,7 +296,7 @@ module Userplex
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,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userplex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Userplex
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-06 00:00:00.000000000 Z
11
+ date: 2026-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cgi
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: connection_pool
15
29
  requirement: !ruby/object:Gem::Requirement