Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 2.11.0

- OpenapiFirst::Test.observe now works with `Rack::URLMap` (returned by `Rack::Builder.app`) and probably all objects that respond to `.call`

## 2.10.1
Expand Down
32 changes: 16 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
openapi_first (2.10.1)
openapi_first (2.11.0)
hana (~> 1.3)
json_schemer (>= 2.1, < 3.0)
openapi_parameters (>= 0.6.1, < 2.0)
Expand Down Expand Up @@ -93,19 +93,19 @@ GEM
diff-lcs (1.6.2)
docile (1.4.1)
drb (2.2.3)
erb (5.0.1)
erb (5.0.2)
erubi (1.13.1)
globalid (1.2.1)
activesupport (>= 6.1)
hana (1.3.7)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
io-console (0.8.0)
io-console (0.8.1)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.12.2)
json (2.13.2)
json_schemer (2.4.0)
bigdecimal
hana (~> 1.3)
Expand All @@ -125,7 +125,7 @@ GEM
marcel (1.0.4)
mini_mime (1.1.5)
minitest (5.25.5)
mustermann (3.0.3)
mustermann (3.0.4)
ruby2_keywords (~> 0.0.1)
net-imap (0.5.9)
date
Expand Down Expand Up @@ -156,7 +156,7 @@ GEM
openapi_parameters (0.6.1)
rack (>= 2.2)
parallel (1.27.0)
parser (3.3.8.0)
parser (3.3.9.0)
ast (~> 2.4.1)
racc
pp (0.6.2)
Expand All @@ -167,7 +167,7 @@ GEM
date
stringio
racc (1.8.1)
rack (3.1.16)
rack (3.2.0)
rack-protection (4.1.1)
base64 (>= 0.1.0)
logger (>= 1.6.0)
Expand Down Expand Up @@ -210,11 +210,11 @@ GEM
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.3.0)
rdoc (6.14.1)
rdoc (6.14.2)
erb
psych (>= 4.0.0)
regexp_parser (2.10.0)
reline (0.6.1)
regexp_parser (2.11.0)
reline (0.6.2)
io-console (~> 0.5)
rspec (3.13.1)
rspec-core (~> 3.13.0)
Expand All @@ -229,18 +229,18 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.4)
rubocop (1.77.0)
rubocop (1.79.1)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.45.1, < 2.0)
rubocop-ast (>= 1.46.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.45.1)
rubocop-ast (1.46.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-performance (1.25.0)
Expand All @@ -254,7 +254,7 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
simpleidn (0.2.3)
sinatra (4.1.1)
Expand All @@ -265,8 +265,8 @@ GEM
rack-session (>= 2.0.0, < 3)
tilt (~> 2.0)
stringio (3.1.7)
thor (1.3.2)
tilt (2.6.0)
thor (1.4.0)
tilt (2.6.1)
timeout (0.4.3)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
openapi_first (2.10.1)
openapi_first (2.11.0)
hana (~> 1.3)
json_schemer (>= 2.1, < 3.0)
openapi_parameters (>= 0.6.1, < 2.0)
Expand Down Expand Up @@ -29,7 +29,7 @@ GEM
simpleidn (~> 0.2)
logger (1.7.0)
memory_profiler (1.1.0)
mustermann (3.0.3)
mustermann (3.0.4)
ruby2_keywords (~> 0.0.1)
nio4r (2.7.4)
openapi_parameters (0.6.1)
Expand All @@ -39,7 +39,7 @@ GEM
profile-viewer (0.0.5)
optparse
webrick
puma (6.6.0)
puma (6.6.1)
nio4r (~> 2.0)
rack (3.1.16)
rack-protection (4.1.1)
Expand All @@ -49,7 +49,7 @@ GEM
rack-session (2.1.1)
base64 (>= 0.1.0)
rack (>= 3.0.0)
regexp_parser (2.10.0)
regexp_parser (2.11.0)
ruby2_keywords (0.0.5)
simpleidn (0.2.3)
sinatra (4.1.1)
Expand All @@ -59,7 +59,7 @@ GEM
rack-protection (= 4.1.1)
rack-session (>= 2.0.0, < 3)
tilt (~> 2.0)
tilt (2.6.0)
tilt (2.6.1)
vernier (1.8.0)
webrick (1.9.1)

Expand Down
1 change: 1 addition & 0 deletions lib/openapi_first/error_responses/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module ErrorResponses
# See also https://www.rfc-editor.org/rfc/rfc9457.html
class Default
include OpenapiFirst::ErrorResponse

OpenapiFirst.register_error_response(:default, self)

TITLES = {
Expand Down
1 change: 1 addition & 0 deletions lib/openapi_first/error_responses/jsonapi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module ErrorResponses
# A JSON:API conform error response. See https://jsonapi.org/.
class Jsonapi
include OpenapiFirst::ErrorResponse

OpenapiFirst.register_error_response(:jsonapi, self)

def body
Expand Down
2 changes: 1 addition & 1 deletion lib/openapi_first/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OpenapiFirst
VERSION = '2.10.1'
VERSION = '2.11.0'
end