mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Bump rack to remove ssl? override
Rack 2.2+ already understands "wss" as being "ssl", so bumping the requirement lets us remove this override and call to super.
This commit is contained in:
parent
43a0e55c92
commit
14688b5578
3 changed files with 2 additions and 6 deletions
|
@ -45,7 +45,7 @@ PATH
|
|||
actionpack (7.0.0.alpha)
|
||||
actionview (= 7.0.0.alpha)
|
||||
activesupport (= 7.0.0.alpha)
|
||||
rack (~> 2.0, >= 2.0.9)
|
||||
rack (~> 2.0, >= 2.2.0)
|
||||
rack-test (>= 0.6.3)
|
||||
rails-dom-testing (~> 2.0)
|
||||
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||
|
|
|
@ -34,7 +34,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_dependency "activesupport", version
|
||||
|
||||
s.add_dependency "rack", "~> 2.0", ">= 2.0.9"
|
||||
s.add_dependency "rack", "~> 2.0", ">= 2.2.0"
|
||||
s.add_dependency "rack-test", ">= 0.6.3"
|
||||
s.add_dependency "rails-html-sanitizer", "~> 1.0", ">= 1.2.0"
|
||||
s.add_dependency "rails-dom-testing", "~> 2.0"
|
||||
|
|
|
@ -428,10 +428,6 @@ module ActionDispatch
|
|||
def commit_flash
|
||||
end
|
||||
|
||||
def ssl?
|
||||
super || scheme == "wss"
|
||||
end
|
||||
|
||||
def inspect # :nodoc:
|
||||
"#<#{self.class.name} #{method} #{original_url.dump} for #{remote_ip}>"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue