summaryrefslogtreecommitdiff
path: root/lib/rack/static.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2022-01-24 12:02:03 -0800
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2022-01-25 15:14:36 +1300
commitfba681965d592c312d4d4ce6694eb4ae5e9d0f04 (patch)
tree50e3db9e78b6f739df6c6a27cdd0ed0f54524bcd /lib/rack/static.rb
parent1760292adeb6900c54270dfdd9490d1592a318fd (diff)
downloadrack-fba681965d592c312d4d4ce6694eb4ae5e9d0f04.tar.gz
Drop support for Ruby 2.3
Ruby 2.4 is now the minimum supported Ruby version. The tests didn't pass on Ruby 2.3 due to the use of Array#sum, and we don't test Ruby 2.3 in CI. Additionally, dropping Ruby 2.3 support allows for drop the Regexp core extension.
Diffstat (limited to 'lib/rack/static.rb')
-rw-r--r--lib/rack/static.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rack/static.rb b/lib/rack/static.rb
index 8cb58b2f..88b0a802 100644
--- a/lib/rack/static.rb
+++ b/lib/rack/static.rb
@@ -86,8 +86,6 @@ module Rack
# ]
#
class Static
- (require_relative 'core_ext/regexp'; using ::Rack::RegexpExtensions) if RUBY_VERSION < '2.4'
-
def initialize(app, options = {})
@app = app
@urls = options[:urls] || ["/favicon.ico"]