From d8c362ce566d244643f1d2494b03f8420ccab186 Mon Sep 17 00:00:00 2001 From: Andreas Finger Date: Wed, 24 Mar 2021 19:09:23 +0100 Subject: [PATCH] Remove unused 'rack-proxy' dependency Convert 'rack' to implicit dependency (of actionpack) instead of listing it explicitly --- Gemfile | 2 -- Gemfile.lock | 4 ---- lib/reverse_proxy/client.rb | 1 - rails-reverse-proxy.gemspec | 6 ------ 4 files changed, 13 deletions(-) diff --git a/Gemfile b/Gemfile index e633f42..3b2206f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,6 @@ source "http://rubygems.org" gem 'actionpack' -gem 'rack' -gem 'rack-proxy' gem 'addressable' # Add dependencies to develop your gem here. diff --git a/Gemfile.lock b/Gemfile.lock index 478a5b2..a87f2dc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -70,8 +70,6 @@ GEM rack (>= 1.2, < 3) public_suffix (2.0.5) rack (1.6.5) - rack-proxy (0.5.17) - rack rack-test (0.6.3) rack (>= 1.0) rails-deprecated_sanitizer (1.0.3) @@ -109,8 +107,6 @@ DEPENDENCIES addressable bundler (~> 1.0) jeweler (~> 2.1.2) - rack - rack-proxy rdoc (~> 3.12) shoulda simplecov diff --git a/lib/reverse_proxy/client.rb b/lib/reverse_proxy/client.rb index b08b36a..42da18a 100644 --- a/lib/reverse_proxy/client.rb +++ b/lib/reverse_proxy/client.rb @@ -1,5 +1,4 @@ require 'rack' -require 'rack-proxy' require 'addressable/uri' module ReverseProxy diff --git a/rails-reverse-proxy.gemspec b/rails-reverse-proxy.gemspec index e327c55..48a46df 100644 --- a/rails-reverse-proxy.gemspec +++ b/rails-reverse-proxy.gemspec @@ -43,8 +43,6 @@ Gem::Specification.new do |s| if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q.freeze, [">= 0"]) - s.add_runtime_dependency(%q.freeze, [">= 0"]) - s.add_runtime_dependency(%q.freeze, [">= 0"]) s.add_runtime_dependency(%q.freeze, [">= 0"]) s.add_development_dependency(%q.freeze, [">= 0"]) s.add_development_dependency(%q.freeze, ["~> 3.12"]) @@ -53,8 +51,6 @@ Gem::Specification.new do |s| s.add_development_dependency(%q.freeze, [">= 0"]) else s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) s.add_dependency(%q.freeze, [">= 0"]) s.add_dependency(%q.freeze, [">= 0"]) s.add_dependency(%q.freeze, ["~> 3.12"]) @@ -64,8 +60,6 @@ Gem::Specification.new do |s| end else s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) s.add_dependency(%q.freeze, [">= 0"]) s.add_dependency(%q.freeze, [">= 0"]) s.add_dependency(%q.freeze, ["~> 3.12"])