onebusaway-sdk 1.9.0 → 1.9.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: 3cde8149759872b1be572e13efee4030c38d4b4d0b9f0d5c919c10e0903e57f7
4
- data.tar.gz: 79400d6bdebf26db230633d94e2ef262eaa38875f30d3ad040268c23f15182da
3
+ metadata.gz: 8cc6f426766544b314bbf7787bb4885d25ae0ca9c8cbcb9ce497ea3e322a7e1f
4
+ data.tar.gz: 4b2ee1f30c2aafa5ad240fc6d193536eee711359c1be89ffaa82ad95c34d4571
5
5
  SHA512:
6
- metadata.gz: c071714483c2a9dd71355bacca8da7b2ce4f8955fb7940243defeb87ae60919928a0caa197b05dd67d5cb5a8e026fafc89adea295426ef40883ab5c4a02c806c
7
- data.tar.gz: fb3dffde0ad67444fd7eb11fc93ee61348e0276b4615c35e67947be6c55d8971d724690d5f29fa8c70e9512aa48e87b7871fd67af063b00b7b120d43bc531ad9
6
+ metadata.gz: 81133dd774e05f874548fce01cf520c093a7f507e71b1f179447775f23e3a4cef6834c2c7e293859204fea197104cd5a09adafe79d827dcc7f78677f87e22c13
7
+ data.tar.gz: e70c05a27a80e642da84b752938860fa237e380d449dfbe66d4de67b1a0ab98405cb5ce6143cdaeb14d6ae565291f24dd6213fd2f05d01ee2a9748a9be4f36ab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.9.1 (2026-06-17)
4
+
5
+ Full Changelog: [v1.9.0...v1.9.1](https://github.com/OneBusAway/ruby-sdk/compare/v1.9.0...v1.9.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** send content-type header for requests with an omitted optional body ([cda4fbd](https://github.com/OneBusAway/ruby-sdk/commit/cda4fbdc4803761c42392d3d270645943de81560))
10
+
3
11
  ## 1.9.0 (2026-06-01)
4
12
 
5
13
  Full Changelog: [v1.8.0...v1.9.0](https://github.com/OneBusAway/ruby-sdk/compare/v1.8.0...v1.9.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 "onebusaway-sdk", "~> 1.9.0"
20
+ gem "onebusaway-sdk", "~> 1.9.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -309,7 +309,10 @@ module OnebusawaySDK
309
309
  OnebusawaySDK::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
310
310
  end
311
311
 
312
- headers.delete("content-type") if body.nil?
312
+ # Generated methods always pass `req[:body]` for operations that define a
313
+ # request body, so only elide the content-type header when the operation
314
+ # has no body at all, not when an optional body param was omitted.
315
+ headers.delete("content-type") if body.nil? && !req.key?(:body)
313
316
 
314
317
  url = OnebusawaySDK::Internal::Util.join_parsed_uri(
315
318
  @base_url_components,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OnebusawaySDK
4
- VERSION = "1.9.0"
4
+ VERSION = "1.9.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onebusaway-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Onebusaway SDK
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-02 00:00:00.000000000 Z
11
+ date: 2026-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi