rom-http 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/rom/http/gateway.rb +1 -1
- data/lib/rom/http/handlers/json.rb +2 -2
- data/lib/rom/http/handlers.rb +1 -1
- data/lib/rom/http/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61c453477460f53014006e52726ef7a85f2d310c0062ff41f1d692500c351478
|
4
|
+
data.tar.gz: 13c4315a83c75575a6d22cc5585b9c65e9e1d6d2327ec700b59f1cf991fd2852
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d29e2a152a63a6169d001863cda61a731996cd2f5e7e514bc0ebe27bc1fb101392f6b5243c86d36ed3062eb33b15f47158c1db52a4d8bebc207cf5bc62eb14f
|
7
|
+
data.tar.gz: c07a8f9d87389eb0620ee57f98fc004eae5fc22a5ece7c49d28b52179758f68f473e881640cf38d3e4e38e862c77c5a40ccd85c6f6d38a524ec4e9ee97ea93ff
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
<!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
|
2
|
+
## 0.10.0 2022-11-26
|
3
|
+
|
4
|
+
### Changed
|
5
|
+
- Bump dry-core to ~> 1.0 (via #52) (@tiev)
|
6
|
+
|
7
|
+
[Compare v0.9.0...v0.10.0](https://github.com/rom-rb/rom-http/compare/v0.9.0...v0.10.0)
|
2
8
|
|
3
9
|
## 0.9.0 2022-09-27
|
4
10
|
|
data/lib/rom/http/gateway.rb
CHANGED
@@ -33,8 +33,8 @@ module ROM
|
|
33
33
|
|
34
34
|
request = request_class.new(uri.request_uri)
|
35
35
|
|
36
|
-
dataset.headers.each_with_object(request) do |(header, value),
|
37
|
-
|
36
|
+
dataset.headers.each_with_object(request) do |(header, value), req|
|
37
|
+
req[header.to_s] = value
|
38
38
|
end
|
39
39
|
|
40
40
|
request.body = JSON.dump(dataset.body_params) if dataset.body_params.any?
|
data/lib/rom/http/handlers.rb
CHANGED
data/lib/rom/http/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rom-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-11-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: concurrent-ruby
|
@@ -66,14 +66,14 @@ dependencies:
|
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0
|
69
|
+
version: '1.0'
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0
|
76
|
+
version: '1.0'
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: dry-equalizer
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '0
|
97
|
+
version: '1.0'
|
98
98
|
type: :runtime
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '0
|
104
|
+
version: '1.0'
|
105
105
|
description: HTTP support for ROM
|
106
106
|
email:
|
107
107
|
- piotr.solnica@gmail.com
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
|
-
rubygems_version: 3.
|
159
|
+
rubygems_version: 3.3.7
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: HTTP support for ROM
|