Skip to content

Commit 74536b1

Browse files
authored
Merge pull request #384 from ahx/2.11.0
2.11.0
2 parents 07d409b + 8d31d74 commit 74536b1

6 files changed

Lines changed: 26 additions & 22 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
## 2.11.0
6+
57
- OpenapiFirst::Test.observe now works with `Rack::URLMap` (returned by `Rack::Builder.app`) and probably all objects that respond to `.call`
68

79
## 2.10.1

Gemfile.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
openapi_first (2.10.1)
4+
openapi_first (2.11.0)
55
hana (~> 1.3)
66
json_schemer (>= 2.1, < 3.0)
77
openapi_parameters (>= 0.6.1, < 2.0)
@@ -93,19 +93,19 @@ GEM
9393
diff-lcs (1.6.2)
9494
docile (1.4.1)
9595
drb (2.2.3)
96-
erb (5.0.1)
96+
erb (5.0.2)
9797
erubi (1.13.1)
9898
globalid (1.2.1)
9999
activesupport (>= 6.1)
100100
hana (1.3.7)
101101
i18n (1.14.7)
102102
concurrent-ruby (~> 1.0)
103-
io-console (0.8.0)
103+
io-console (0.8.1)
104104
irb (1.15.2)
105105
pp (>= 0.6.0)
106106
rdoc (>= 4.0.0)
107107
reline (>= 0.4.2)
108-
json (2.12.2)
108+
json (2.13.2)
109109
json_schemer (2.4.0)
110110
bigdecimal
111111
hana (~> 1.3)
@@ -125,7 +125,7 @@ GEM
125125
marcel (1.0.4)
126126
mini_mime (1.1.5)
127127
minitest (5.25.5)
128-
mustermann (3.0.3)
128+
mustermann (3.0.4)
129129
ruby2_keywords (~> 0.0.1)
130130
net-imap (0.5.9)
131131
date
@@ -156,7 +156,7 @@ GEM
156156
openapi_parameters (0.6.1)
157157
rack (>= 2.2)
158158
parallel (1.27.0)
159-
parser (3.3.8.0)
159+
parser (3.3.9.0)
160160
ast (~> 2.4.1)
161161
racc
162162
pp (0.6.2)
@@ -167,7 +167,7 @@ GEM
167167
date
168168
stringio
169169
racc (1.8.1)
170-
rack (3.1.16)
170+
rack (3.2.0)
171171
rack-protection (4.1.1)
172172
base64 (>= 0.1.0)
173173
logger (>= 1.6.0)
@@ -210,11 +210,11 @@ GEM
210210
zeitwerk (~> 2.6)
211211
rainbow (3.1.1)
212212
rake (13.3.0)
213-
rdoc (6.14.1)
213+
rdoc (6.14.2)
214214
erb
215215
psych (>= 4.0.0)
216-
regexp_parser (2.10.0)
217-
reline (0.6.1)
216+
regexp_parser (2.11.0)
217+
reline (0.6.2)
218218
io-console (~> 0.5)
219219
rspec (3.13.1)
220220
rspec-core (~> 3.13.0)
@@ -229,18 +229,18 @@ GEM
229229
diff-lcs (>= 1.2.0, < 2.0)
230230
rspec-support (~> 3.13.0)
231231
rspec-support (3.13.4)
232-
rubocop (1.77.0)
232+
rubocop (1.79.1)
233233
json (~> 2.3)
234234
language_server-protocol (~> 3.17.0.2)
235235
lint_roller (~> 1.1.0)
236236
parallel (~> 1.10)
237237
parser (>= 3.3.0.2)
238238
rainbow (>= 2.2.2, < 4.0)
239239
regexp_parser (>= 2.9.3, < 3.0)
240-
rubocop-ast (>= 1.45.1, < 2.0)
240+
rubocop-ast (>= 1.46.0, < 2.0)
241241
ruby-progressbar (~> 1.7)
242242
unicode-display_width (>= 2.4.0, < 4.0)
243-
rubocop-ast (1.45.1)
243+
rubocop-ast (1.46.0)
244244
parser (>= 3.3.7.2)
245245
prism (~> 1.4)
246246
rubocop-performance (1.25.0)
@@ -254,7 +254,7 @@ GEM
254254
docile (~> 1.1)
255255
simplecov-html (~> 0.11)
256256
simplecov_json_formatter (~> 0.1)
257-
simplecov-html (0.13.1)
257+
simplecov-html (0.13.2)
258258
simplecov_json_formatter (0.1.4)
259259
simpleidn (0.2.3)
260260
sinatra (4.1.1)
@@ -265,8 +265,8 @@ GEM
265265
rack-session (>= 2.0.0, < 3)
266266
tilt (~> 2.0)
267267
stringio (3.1.7)
268-
thor (1.3.2)
269-
tilt (2.6.0)
268+
thor (1.4.0)
269+
tilt (2.6.1)
270270
timeout (0.4.3)
271271
tzinfo (2.0.6)
272272
concurrent-ruby (~> 1.0)

benchmarks/Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
openapi_first (2.10.1)
4+
openapi_first (2.11.0)
55
hana (~> 1.3)
66
json_schemer (>= 2.1, < 3.0)
77
openapi_parameters (>= 0.6.1, < 2.0)
@@ -29,7 +29,7 @@ GEM
2929
simpleidn (~> 0.2)
3030
logger (1.7.0)
3131
memory_profiler (1.1.0)
32-
mustermann (3.0.3)
32+
mustermann (3.0.4)
3333
ruby2_keywords (~> 0.0.1)
3434
nio4r (2.7.4)
3535
openapi_parameters (0.6.1)
@@ -39,7 +39,7 @@ GEM
3939
profile-viewer (0.0.5)
4040
optparse
4141
webrick
42-
puma (6.6.0)
42+
puma (6.6.1)
4343
nio4r (~> 2.0)
4444
rack (3.1.16)
4545
rack-protection (4.1.1)
@@ -49,7 +49,7 @@ GEM
4949
rack-session (2.1.1)
5050
base64 (>= 0.1.0)
5151
rack (>= 3.0.0)
52-
regexp_parser (2.10.0)
52+
regexp_parser (2.11.0)
5353
ruby2_keywords (0.0.5)
5454
simpleidn (0.2.3)
5555
sinatra (4.1.1)
@@ -59,7 +59,7 @@ GEM
5959
rack-protection (= 4.1.1)
6060
rack-session (>= 2.0.0, < 3)
6161
tilt (~> 2.0)
62-
tilt (2.6.0)
62+
tilt (2.6.1)
6363
vernier (1.8.0)
6464
webrick (1.9.1)
6565

lib/openapi_first/error_responses/default.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module ErrorResponses
66
# See also https://www.rfc-editor.org/rfc/rfc9457.html
77
class Default
88
include OpenapiFirst::ErrorResponse
9+
910
OpenapiFirst.register_error_response(:default, self)
1011

1112
TITLES = {

lib/openapi_first/error_responses/jsonapi.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module ErrorResponses
55
# A JSON:API conform error response. See https://jsonapi.org/.
66
class Jsonapi
77
include OpenapiFirst::ErrorResponse
8+
89
OpenapiFirst.register_error_response(:jsonapi, self)
910

1011
def body

lib/openapi_first/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module OpenapiFirst
4-
VERSION = '2.10.1'
4+
VERSION = '2.11.0'
55
end

0 commit comments

Comments
 (0)