Skip to content

Commit

Permalink
Merge pull request #278 from grzuy/move_all_deps_to_gemspec
Browse files Browse the repository at this point in the history
Move all dependencies to gemspec out of Gemfile
  • Loading branch information
grzuy authored Mar 9, 2018
2 parents 922917d + 859c212 commit c9cd023
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 30 deletions.
6 changes: 0 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
source 'https://rubygems.org'

gemspec

group :development do
gem 'pry'
gem 'guard' # NB: this is necessary in newer versions
gem 'guard-minitest'
end
6 changes: 0 additions & 6 deletions gemfiles/dalli2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ source "https://rubygems.org"

gem "dalli", "~> 2.0"

group :development do
gem "pry"
gem "guard"
gem "guard-minitest"
end

gemspec path: "../"
6 changes: 0 additions & 6 deletions gemfiles/rails_4_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ source "https://rubygems.org"
gem "activesupport", "~> 4.2.0"
gem "actionpack", "~> 4.2.0"

group :development do
gem "pry"
gem "guard"
gem "guard-minitest"
end

gemspec path: "../"
6 changes: 0 additions & 6 deletions gemfiles/rails_5_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ source "https://rubygems.org"
gem "activesupport", "~> 5.0.0"
gem "actionpack", "~> 5.0.0"

group :development do
gem "pry"
gem "guard"
gem "guard-minitest"
end

gemspec path: "../"
6 changes: 0 additions & 6 deletions gemfiles/rails_5_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,4 @@ source "https://rubygems.org"
gem "activesupport", "~> 5.1.0"
gem "actionpack", "~> 5.1.0"

group :development do
gem "pry"
gem "guard"
gem "guard-minitest"
end

gemspec path: "../"
7 changes: 7 additions & 0 deletions rack-attack.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,11 @@ Gem::Specification.new do |s|
s.add_development_dependency 'connection_pool'
s.add_development_dependency 'memcache-client'
s.add_development_dependency "timecop"
s.add_development_dependency 'pry'
s.add_development_dependency 'guard-minitest'
# Need to explicitly depend on guard because guard-minitest doesn't declare
# the dependency intentionally
#
# See https://github.com/guard/guard-minitest/pull/131
s.add_development_dependency 'guard'
end

0 comments on commit c9cd023

Please sign in to comment.