Skip to content

Commit 029ad7c

Browse files
committed
[chore] Drop deprecated JRuby::Rack::Errors alias for JRuby::Rack::ErrorApp
1 parent 8159d7a commit 029ad7c

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

History.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- Drop deprecated `Rack::Handler::Servlet::Env` and `Rack::Handler::Servlet::LazyEnv` types (replaced by `DefaultEnv`)
1111
- Drop undocumented and deprecated jruby-rack 1.0 backwards compat properties `jruby.runtime.timeout.sec`, `jruby.runtime.initializer.threads`, `jruby.init.serial`, `jruby.rack.request.size.threshold.bytes`
1212
- Drop deprecated `JRuby::Rack::RailsFileSystemLayout` alias for `JRuby::Rack::FileSystemLayout`
13+
- Drop deprecated `JRuby::Rack::Errors` alias for `JRuby::Rack::ErrorApp`
1314
- Change context listener to throw, in case of an exception during initialization, by default
1415
- Change rails context listener to assume a thread-safe application by default
1516
- update (bundled) rack to 2.2.17

src/main/ruby/jruby/rack/errors.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/spec/ruby/jruby/rack/error_app_spec.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,3 @@ def in_tmpdir_with_files(files = {})
169169
end
170170

171171
end
172-
173-
describe 'JRuby::Rack::Errors' do
174-
175-
before(:all) { require 'jruby/rack/errors' }
176-
177-
it "still works (backward compat)" do
178-
expect(JRuby::Rack::Errors).to be JRuby::Rack::ErrorApp
179-
end
180-
181-
end

0 commit comments

Comments
 (0)