Skip to content

Commit 16b9aea

Browse files
Merge pull request #595 from OneBusAway/release-please--branches--main--changes--next
release: 1.2.9
2 parents 0e3632a + 1687582 commit 16b9aea

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.2.8"
2+
".": "1.2.9"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.2.9 (2026-02-03)
4+
5+
Full Changelog: [v1.2.8...v1.2.9](https://github.com/OneBusAway/ruby-sdk/compare/v1.2.8...v1.2.9)
6+
7+
### Bug Fixes
8+
9+
* **client:** always add content-length to post body, even when empty ([2803594](https://github.com/OneBusAway/ruby-sdk/commit/2803594141f295c07c381fdadb67ed2e422fe7c7))
10+
311
## 1.2.8 (2026-01-17)
412

513
Full Changelog: [v1.2.7...v1.2.8](https://github.com/OneBusAway/ruby-sdk/compare/v1.2.7...v1.2.8)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
onebusaway-sdk (1.2.8)
14+
onebusaway-sdk (1.2.9)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
1717
<!-- x-release-please-start-version -->
1818

1919
```ruby
20-
gem "onebusaway-sdk", "~> 1.2.8"
20+
gem "onebusaway-sdk", "~> 1.2.9"
2121
```
2222

2323
<!-- x-release-please-end -->

lib/onebusaway_sdk/internal/transport/pooled_net_requester.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def build_request(request, &blk)
7575

7676
case body
7777
in nil
78-
nil
78+
req["content-length"] ||= 0 unless req["transfer-encoding"]
7979
in String
8080
req["content-length"] ||= body.bytesize.to_s unless req["transfer-encoding"]
8181
req.body_stream = OnebusawaySDK::Internal::Util::ReadIOAdapter.new(body, &blk)

lib/onebusaway_sdk/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module OnebusawaySDK
4-
VERSION = "1.2.8"
4+
VERSION = "1.2.9"
55
end

0 commit comments

Comments
 (0)