redox 1.10.0 → 1.11.0
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 +5 -0
- data/lib/redox/connection.rb +1 -0
- data/lib/redox/models/transaction.rb +1 -1
- data/lib/redox/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: d7381604ec036a1daa97af763d7674fc8c5ad75ce4e37111969687c4bb806820
|
|
4
|
+
data.tar.gz: '048fa332dfe5018905dc6c56146dd38891de0448b27fdc88b22af975c0229033'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1249e59ad3decdd43242a2b11d6f5dad8d4e85d4f197da2be7440f48ecdd99b81b3820b1da0d345be37e94c757c9733c4cfe4d70834df8d84f4cbfec2dfccf1c
|
|
7
|
+
data.tar.gz: 1c4955af5bccb9007b72a800309f745790a06e251de06cebb741f9d530ad70cefb1c60cd4a9261e720191ac5dc3dd16c450fc66ed8b1169fca9e912b04fcf555
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.11.0] - 2025-12-30
|
|
8
|
+
### Added
|
|
9
|
+
- JSON compatibility with Rails 7.1's ActiveSupport
|
|
10
|
+
|
|
7
11
|
## [1.10.0] - 2025-11-14
|
|
8
12
|
### Added
|
|
9
13
|
- GitHub Actions CI support for Ruby 3.3 and 3.4
|
|
@@ -226,6 +230,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
226
230
|
### Added
|
|
227
231
|
- Initial Release
|
|
228
232
|
|
|
233
|
+
[1.11.0]: https://github.com/WeInfuse/redox/compare/v1.10.0...v1.11.0
|
|
229
234
|
[1.10.0]: https://github.com/WeInfuse/redox/compare/v1.9.0...v1.10.0
|
|
230
235
|
[1.9.0]: https://github.com/WeInfuse/redox/compare/v1.8.7...v1.9.0
|
|
231
236
|
[1.8.7]: https://github.com/WeInfuse/redox/compare/v1.8.6...v1.8.7
|
data/lib/redox/connection.rb
CHANGED
|
@@ -13,6 +13,7 @@ module Redox
|
|
|
13
13
|
format :json
|
|
14
14
|
|
|
15
15
|
def request(endpoint: DEFAULT_ENDPOINT, body: nil, headers: {}, auth: true)
|
|
16
|
+
body = body.as_json if body.is_a?(Hash) && body.respond_to?(:as_json) # compatibility with Rails 7.1+
|
|
16
17
|
body = body.to_json if body.is_a?(Hash)
|
|
17
18
|
headers = auth_header.merge(headers) if auth
|
|
18
19
|
|
data/lib/redox/version.rb
CHANGED