Skip to content

Commit 9d0da0c

Browse files
committed
Lock sqlite3 for older Railses
1 parent cfa3920 commit 9d0da0c

5 files changed

+5
-2
lines changed

Gemfile

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
source 'https://rubygems.org'
22

33
gemspec
4+
5+
gem "sqlite3"

activerecord-session_store.gemspec

-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,4 @@ Gem::Specification.new do |s|
2424
s.add_dependency('railties', '>= 6.1')
2525
s.add_dependency('rack', '>= 2.0.8', '< 4')
2626
s.add_dependency('cgi', '>= 0.3.6')
27-
28-
s.add_development_dependency('sqlite3')
2927
end

gemfiles/rails_6.1.gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ 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"
66
gem "rack", "< 3"
7+
gem "sqlite3", "~> 1.4"
78

89
gemspec :path => "../"

gemfiles/rails_7.0.gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ 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"
66
gem "rack", "< 3"
7+
gem "sqlite3", "~> 1.4"
78

89
gemspec :path => "../"

gemfiles/rails_edge.gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ git "https://github.com/rails/rails.git", :branch => "main" do
77
end
88

99
gem "rack", ">= 2.2.4", "< 4"
10+
gem "sqlite3"
1011

1112
gemspec :path => "../"

0 commit comments

Comments
 (0)