Skip to content

Commit 889dd09

Browse files
authored
Merge pull request #206 from casperisfine/handle-rack-3
Allow to use Rack 3.x
2 parents 0fa232b + 0e71973 commit 889dd09

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

activerecord-session_store.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
2222
s.add_dependency('activerecord', '>= 6.1')
2323
s.add_dependency('actionpack', '>= 6.1')
2424
s.add_dependency('railties', '>= 6.1')
25-
s.add_dependency('rack', '>= 2.0.8', '< 3')
25+
s.add_dependency('rack', '>= 2.0.8', '< 4')
2626
s.add_dependency('multi_json', '~> 1.11', '>= 1.11.2')
2727
s.add_dependency('cgi', '>= 0.3.6')
2828

gemfiles/rails_6.1.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ source "https://rubygems.org"
33
gem "actionpack", github: "rails/rails", branch: "6-1-stable"
44
gem "activerecord", github: "rails/rails", branch: "6-1-stable"
55
gem "railties", github: "rails/rails", branch: "6-1-stable"
6+
gem "rack", "< 3"
67

78
gemspec :path => "../"

gemfiles/rails_7.0.gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ source "https://rubygems.org"
33
gem "actionpack", github: "rails/rails", branch: "7-0-stable"
44
gem "activerecord", github: "rails/rails", branch: "7-0-stable"
55
gem "railties", github: "rails/rails", branch: "7-0-stable"
6+
gem "rack", "< 3"
67

78
gemspec :path => "../"

gemfiles/rails_edge.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ git "https://github.com/rails/rails.git", :branch => "main" do
66
gem "railties"
77
end
88

9-
gem "rack", "~> 2.0", ">= 2.2.4"
9+
gem "rack", ">= 2.2.4", "< 4"
1010

1111
gemspec :path => "../"

0 commit comments

Comments
 (0)