Skip to content

Commit

Permalink
Remove dependency on rack-session, and development dependency on mini…
Browse files Browse the repository at this point in the history
…test-sprint

Add rack-session gem when testing rack-attack
  • Loading branch information
jeremyevans committed May 6, 2022
1 parent b1deb7e commit 84614ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def clone_and_test(url, name, command)
# I tried using `bundle config --local local.async ../` but it simply doesn't work.
File.open("#{path}/Gemfile", "a") do |file|
file.puts("gem 'rack', path: '../../'")
file.puts("gem 'rack-session', github: 'rack/rack-session'") if name == 'rack-attack'
end

sh("cd #{path} && bundle install && #{command}")
Expand Down
3 changes: 0 additions & 3 deletions rack.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ Gem::Specification.new do |s|
"source_code_uri" => "https://github.com/rack/rack"
}

s.add_dependency 'rack-session'

s.add_development_dependency 'minitest', "~> 5.0"
s.add_development_dependency 'minitest-sprint'
s.add_development_dependency 'minitest-global_expectations'

s.add_development_dependency 'bundler'
Expand Down

0 comments on commit 84614ba

Please sign in to comment.