diff options
author | Go MAEDA <maeda@farend.jp> | 2024-01-21 03:58:09 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-01-21 03:58:09 +0000 |
commit | 6ea1fd551de8156ec7713759e4b1f264cf99adb2 (patch) | |
tree | 6c91cc044c9b703ae959427c0209ceab3bbb3cf9 | |
parent | a004863ce84b910501197a6a9b85d7befe32a172 (diff) | |
download | redmine-6ea1fd551de8156ec7713759e4b1f264cf99adb2.tar.gz redmine-6ea1fd551de8156ec7713759e4b1f264cf99adb2.zip |
Remove backported Rack::RewindableInput.size method due to Rack 3.0 migration (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22615 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | config/initializers/10-patches.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index 327cdd778..e9d15cae5 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -214,17 +214,3 @@ module ActionView end end end - -# https://github.com/rack/rack/pull/1703 -# TODO: remove this when Rack is updated to 3.0.0 -require 'rack' -module Rack - class RewindableInput - unless method_defined?(:size) - def size - make_rewindable unless @rewindable_io - @rewindable_io.size - end - end - end -end |