Remove unused 'rack-proxy' dependency
Convert 'rack' to implicit dependency (of actionpack) instead of listing it explicitly
This commit is contained in:
parent
adc481bc96
commit
d8c362ce56
2
Gemfile
2
Gemfile
|
@ -1,8 +1,6 @@
|
||||||
source "http://rubygems.org"
|
source "http://rubygems.org"
|
||||||
|
|
||||||
gem 'actionpack'
|
gem 'actionpack'
|
||||||
gem 'rack'
|
|
||||||
gem 'rack-proxy'
|
|
||||||
gem 'addressable'
|
gem 'addressable'
|
||||||
|
|
||||||
# Add dependencies to develop your gem here.
|
# Add dependencies to develop your gem here.
|
||||||
|
|
|
@ -70,8 +70,6 @@ GEM
|
||||||
rack (>= 1.2, < 3)
|
rack (>= 1.2, < 3)
|
||||||
public_suffix (2.0.5)
|
public_suffix (2.0.5)
|
||||||
rack (1.6.5)
|
rack (1.6.5)
|
||||||
rack-proxy (0.5.17)
|
|
||||||
rack
|
|
||||||
rack-test (0.6.3)
|
rack-test (0.6.3)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
rails-deprecated_sanitizer (1.0.3)
|
rails-deprecated_sanitizer (1.0.3)
|
||||||
|
@ -109,8 +107,6 @@ DEPENDENCIES
|
||||||
addressable
|
addressable
|
||||||
bundler (~> 1.0)
|
bundler (~> 1.0)
|
||||||
jeweler (~> 2.1.2)
|
jeweler (~> 2.1.2)
|
||||||
rack
|
|
||||||
rack-proxy
|
|
||||||
rdoc (~> 3.12)
|
rdoc (~> 3.12)
|
||||||
shoulda
|
shoulda
|
||||||
simplecov
|
simplecov
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
require 'rack'
|
require 'rack'
|
||||||
require 'rack-proxy'
|
|
||||||
require 'addressable/uri'
|
require 'addressable/uri'
|
||||||
|
|
||||||
module ReverseProxy
|
module ReverseProxy
|
||||||
|
|
|
@ -43,8 +43,6 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||||||
s.add_runtime_dependency(%q<actionpack>.freeze, [">= 0"])
|
s.add_runtime_dependency(%q<actionpack>.freeze, [">= 0"])
|
||||||
s.add_runtime_dependency(%q<rack>.freeze, [">= 0"])
|
|
||||||
s.add_runtime_dependency(%q<rack-proxy>.freeze, [">= 0"])
|
|
||||||
s.add_runtime_dependency(%q<addressable>.freeze, [">= 0"])
|
s.add_runtime_dependency(%q<addressable>.freeze, [">= 0"])
|
||||||
s.add_development_dependency(%q<shoulda>.freeze, [">= 0"])
|
s.add_development_dependency(%q<shoulda>.freeze, [">= 0"])
|
||||||
s.add_development_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
s.add_development_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
||||||
|
@ -53,8 +51,6 @@ Gem::Specification.new do |s|
|
||||||
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
||||||
else
|
else
|
||||||
s.add_dependency(%q<actionpack>.freeze, [">= 0"])
|
s.add_dependency(%q<actionpack>.freeze, [">= 0"])
|
||||||
s.add_dependency(%q<rack>.freeze, [">= 0"])
|
|
||||||
s.add_dependency(%q<rack-proxy>.freeze, [">= 0"])
|
|
||||||
s.add_dependency(%q<addressable>.freeze, [">= 0"])
|
s.add_dependency(%q<addressable>.freeze, [">= 0"])
|
||||||
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
||||||
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
||||||
|
@ -64,8 +60,6 @@ Gem::Specification.new do |s|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
s.add_dependency(%q<actionpack>.freeze, [">= 0"])
|
s.add_dependency(%q<actionpack>.freeze, [">= 0"])
|
||||||
s.add_dependency(%q<rack>.freeze, [">= 0"])
|
|
||||||
s.add_dependency(%q<rack-proxy>.freeze, [">= 0"])
|
|
||||||
s.add_dependency(%q<addressable>.freeze, [">= 0"])
|
s.add_dependency(%q<addressable>.freeze, [">= 0"])
|
||||||
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
||||||
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
||||||
|
|
Loading…
Reference in New Issue