From 18592e5d79ea571693ac6e20fdb3d91e181b37cb Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 4 May 2024 18:52:52 +0200 Subject: [PATCH] Remove Rack::Lint Add CHANGELOG entry --- CHANGELOG.md | 1 + lib/grape/endpoint.rb | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 963ad514aa..08fb4e266e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * [#2425](https://github.com/ruby-grape/grape/pull/2425): Replace `{}` with `Rack::Header` or `Rack::Utils::HeaderHash` - [@dhruvCW](https://github.com/dhruvCW). * [#2430](https://github.com/ruby-grape/grape/pull/2430): Isolate extensions within specific gemfile - [@ericproulx](https://github.com/ericproulx). * [#2431](https://github.com/ruby-grape/grape/pull/2431): Drop appraisals in favor of eval_gemfile - [@ericproulx](https://github.com/ericproulx). +* [#2435](https://github.com/ruby-grape/grape/pull/2435): Use rack constants - [@ericproulx](https://github.com/ericproulx). * Your contribution here. #### Fixes diff --git a/lib/grape/endpoint.rb b/lib/grape/endpoint.rb index cfca9d353f..7ec07792de 100644 --- a/lib/grape/endpoint.rb +++ b/lib/grape/endpoint.rb @@ -280,7 +280,6 @@ def build_stack(helpers) stack = Grape::Middleware::Stack.new stack.use Rack::Head - stack.use Rack::Lint stack.use Class.new(Grape::Middleware::Error), helpers: helpers, format: namespace_inheritable(:format),