onebusaway-sdk 1.0.8 → 1.0.10
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 +4 -4
- data/CHANGELOG.md +23 -0
- data/README.md +1 -1
- data/lib/onebusaway_sdk/internal/transport/base_client.rb +10 -2
- data/lib/onebusaway_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fb7a41f1316f6f61ae9e410b4cbea5714d7d07b18a01f171e61287f971a56db
|
4
|
+
data.tar.gz: 0f47183aea0e1ae04fc58b08717b3f00cdf655645cd2f229d9e2bbc1ef514db4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24ed896c0a07f043f812d30a4846e92a52fd1a8aa5c3f064731c1614b608f38d32b4d6c81286b1fc26184a3329ff9e1e6ddc5cd9f0124bc6a096975b794321d7
|
7
|
+
data.tar.gz: bbd124ac5f1c55714c289ecb057b0ade008b47f14754321408dd389b6b19fef5ccf07971a53ce2c70d99b073651321904b56e34608f6fb1b182518a9bc5b0e81
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.0.10 (2025-07-01)
|
4
|
+
|
5
|
+
Full Changelog: [v1.0.9...v1.0.10](https://github.com/OneBusAway/ruby-sdk/compare/v1.0.9...v1.0.10)
|
6
|
+
|
7
|
+
### Chores
|
8
|
+
|
9
|
+
* **ci:** only run for pushes and fork pull requests ([64a0591](https://github.com/OneBusAway/ruby-sdk/commit/64a0591f91cc98b55b583d81727ae067c0c1d1c2))
|
10
|
+
* **internal:** allow streams to also be unwrapped on a per-row basis ([2710480](https://github.com/OneBusAway/ruby-sdk/commit/27104809a931e4c3e99cb3cc5949c531816e5b87))
|
11
|
+
* **internal:** version bump ([a8f4163](https://github.com/OneBusAway/ruby-sdk/commit/a8f416393445b3b824740a5159b5c35aa455048e))
|
12
|
+
|
13
|
+
## 1.0.9 (2025-06-27)
|
14
|
+
|
15
|
+
Full Changelog: [v1.0.8...v1.0.9](https://github.com/OneBusAway/ruby-sdk/compare/v1.0.8...v1.0.9)
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* **ci:** release-doctor — report correct token name ([9c550bf](https://github.com/OneBusAway/ruby-sdk/commit/9c550bf5cff1eee21ffa66565ee5245e099f6a28))
|
20
|
+
|
21
|
+
|
22
|
+
### Chores
|
23
|
+
|
24
|
+
* **internal:** version bump ([0249814](https://github.com/OneBusAway/ruby-sdk/commit/02498140d38148e79738af88f5794f19949127ad))
|
25
|
+
|
3
26
|
## 1.0.8 (2025-06-18)
|
4
27
|
|
5
28
|
Full Changelog: [v1.0.7...v1.0.8](https://github.com/OneBusAway/ruby-sdk/compare/v1.0.7...v1.0.8)
|
data/README.md
CHANGED
@@ -481,6 +481,7 @@ module OnebusawaySDK
|
|
481
481
|
self.class.validate!(req)
|
482
482
|
model = req.fetch(:model) { OnebusawaySDK::Internal::Type::Unknown }
|
483
483
|
opts = req[:options].to_h
|
484
|
+
unwrap = req[:unwrap]
|
484
485
|
OnebusawaySDK::RequestOptions.validate!(opts)
|
485
486
|
request = build_request(req.except(:options), opts)
|
486
487
|
url = request.fetch(:url)
|
@@ -497,11 +498,18 @@ module OnebusawaySDK
|
|
497
498
|
decoded = OnebusawaySDK::Internal::Util.decode_content(response, stream: stream)
|
498
499
|
case req
|
499
500
|
in {stream: Class => st}
|
500
|
-
st.new(
|
501
|
+
st.new(
|
502
|
+
model: model,
|
503
|
+
url: url,
|
504
|
+
status: status,
|
505
|
+
response: response,
|
506
|
+
unwrap: unwrap,
|
507
|
+
stream: decoded
|
508
|
+
)
|
501
509
|
in {page: Class => page}
|
502
510
|
page.new(client: self, req: req, headers: response, page_data: decoded)
|
503
511
|
else
|
504
|
-
unwrapped = OnebusawaySDK::Internal::Util.dig(decoded,
|
512
|
+
unwrapped = OnebusawaySDK::Internal::Util.dig(decoded, unwrap)
|
505
513
|
OnebusawaySDK::Internal::Type::Converter.coerce(model, unwrapped)
|
506
514
|
end
|
507
515
|
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.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Onebusaway SDK
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|