]> source.dussan.org Git - redmine.git/commitdiff
Update SQLite3 gem to 1.7 (#39985).
authorGo MAEDA <maeda@farend.jp>
Sat, 30 Dec 2023 04:29:11 +0000 (04:29 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 30 Dec 2023 04:29:11 +0000 (04:29 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22579 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 1686687e2a0a84e9713bf8435095409f60e23482..1520383fafad36523951f2fb14843ee23dd0ff0e 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -72,7 +72,7 @@ if File.exist?(database_file)
       when /postgresql/
         gem 'pg', '~> 1.5.3'
       when /sqlite3/
-        gem 'sqlite3', '~> 1.6.0'
+        gem 'sqlite3', (Gem.ruby_version >= Gem::Version.new('3.0') ? '~> 1.7.0' : '~> 1.6.9')
       when /sqlserver/
         gem 'tiny_tds', '~> 2.1.2'
         gem 'activerecord-sqlserver-adapter', '~> 6.1.0'