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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7be96043fffc0399b99aba04e426d0600b8f88e3a90725b6566fab079476b1f
4
- data.tar.gz: a94c64dd5d3091a875e2691c6d2d5380ec056b9667d206b43376022ad37be85f
3
+ metadata.gz: 61c453477460f53014006e52726ef7a85f2d310c0062ff41f1d692500c351478
4
+ data.tar.gz: 13c4315a83c75575a6d22cc5585b9c65e9e1d6d2327ec700b59f1cf991fd2852
5
5
  SHA512:
6
- metadata.gz: e89e4e48537fbe0a14b770e4069f931f24d8418357adfc179fb1ee72b933b88a82132b7d9abd8baef42b7dd8d1868b8ada2a74f93dae67c06f6b53f3f4265d4f
7
- data.tar.gz: 7fbd7ff1d889affbcc4530af2fd8b08f440af929ba3e1efa99f234c454f04c2fd14fdacdd21be6fb8688c21481f6cff35cdc4c61f3527f899cb23ebd1a131656
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
 
@@ -96,7 +96,7 @@ module ROM
96
96
  #
97
97
  # @api private
98
98
  def default_handlers
99
- if handlers_key = config[:handlers]
99
+ if (handlers_key = config[:handlers])
100
100
  Handlers[handlers_key]
101
101
  .map { |key, value| [:"#{key}_handler", value] }.to_h
102
102
  else
@@ -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), request|
37
- request[header.to_s] = value
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?
@@ -8,7 +8,7 @@ module ROM
8
8
  #
9
9
  # @api public
10
10
  class Handlers
11
- extend Dry::Container::Mixin
11
+ extend Dry::Core::Container::Mixin
12
12
 
13
13
  register(:json, request: JSONRequest, response: JSONResponse)
14
14
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ROM
4
4
  module HTTP
5
- VERSION = "0.9.0"
5
+ VERSION = "0.10.0"
6
6
  end
7
7
  end
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.9.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-09-27 00:00:00.000000000 Z
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.4'
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.4'
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.13'
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.13'
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.1.2
159
+ rubygems_version: 3.3.7
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: HTTP support for ROM