altertable-lakehouse 0.5.0 → 0.5.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 +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/altertable/lakehouse/client.rb +10 -1
- data/lib/altertable/lakehouse/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a603bff18558e212586e0bb27016f56c832266d7dedce34ee0a7cf5a6b820a5
|
|
4
|
+
data.tar.gz: 4203dd0b9b090439722b8f51c8ad931048689e37ab1078738b541b0644f07427
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48b6b338259bdfa8ef5b65f967b76ec8ef79b48bba966eff4cd32c123c16ad94c7e3bb90d30ea09325d9b96f4313ea193f5e9bf639207f1969d0f640e869f44a
|
|
7
|
+
data.tar.gz: 3459d13102d1a68eb09aaa8cdb969d0bb0ec7157061ceb83873eea9af545e0414f4702939d693eb32bcbe8a7c4208379041cb971b02de261f735801851304895
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.5.1](https://github.com/altertable-ai/altertable-lakehouse-ruby/compare/altertable-lakehouse/v0.5.0...altertable-lakehouse/v0.5.1) (2026-05-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **array payload:** ensure array payload are also converted to JSON ([#39](https://github.com/altertable-ai/altertable-lakehouse-ruby/issues/39)) ([0d01361](https://github.com/altertable-ai/altertable-lakehouse-ruby/commit/0d013615f44104890f482c20da9316b9f8a7fee4))
|
|
11
|
+
|
|
5
12
|
## [0.5.0](https://github.com/altertable-ai/altertable-lakehouse-ruby/compare/altertable-lakehouse/v0.4.2...altertable-lakehouse/v0.5.0) (2026-05-28)
|
|
6
13
|
|
|
7
14
|
|
data/Gemfile.lock
CHANGED
|
@@ -185,13 +185,22 @@ module Altertable
|
|
|
185
185
|
def request(method, path, body: nil, query: nil, headers: {})
|
|
186
186
|
resp = @adapter.send(
|
|
187
187
|
method, path,
|
|
188
|
-
body: body
|
|
188
|
+
body: encode_request_body(body),
|
|
189
189
|
params: query || {},
|
|
190
190
|
headers: headers
|
|
191
191
|
)
|
|
192
192
|
handle_response(resp)
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
+
def encode_request_body(body)
|
|
196
|
+
case body
|
|
197
|
+
when Hash, Array
|
|
198
|
+
body.to_json
|
|
199
|
+
else
|
|
200
|
+
body
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
195
204
|
def handle_stream_response(resp, buffer, yielder)
|
|
196
205
|
case resp.status
|
|
197
206
|
when 400
|