From 90e0997ce1b6c813ad1e4d2994c5c694e5059dd4 Mon Sep 17 00:00:00 2001 From: Lucas Caton Date: Tue, 21 May 2019 17:48:16 +1000 Subject: [PATCH] Specify 'sqlite3' gem version --- Appraisals | 2 +- gemfiles/rails_4.0.gemfile | 2 +- gemfiles/rails_4.1.gemfile | 2 +- gemfiles/rails_4.2.gemfile | 2 +- gemfiles/rails_5.0.gemfile | 2 +- gemfiles/rails_5.1.gemfile | 2 +- gemfiles/rails_5.2.gemfile | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Appraisals b/Appraisals index e6e3397..e1762b5 100644 --- a/Appraisals +++ b/Appraisals @@ -13,6 +13,6 @@ rails_versions = JSON.parse(Net::HTTP.get(URI('https://rubygems.org/api/v1/versi gem 'activesupport', "~> #{current_version}" gem 'activerecord', "~> #{current_version}" - gem 'sqlite3' + gem 'sqlite3', Gem::Version.new(version) > Gem::Version.new(5.0) ? '~> 1.4.1' : '< 1.4' end end diff --git a/gemfiles/rails_4.0.gemfile b/gemfiles/rails_4.0.gemfile index a134208..770f3f1 100644 --- a/gemfiles/rails_4.0.gemfile +++ b/gemfiles/rails_4.0.gemfile @@ -4,6 +4,6 @@ source 'https://rubygems.org' gem 'activerecord', '~> 4.0.13' gem 'activesupport', '~> 4.0.13' -gem 'sqlite3' +gem 'sqlite3', '< 1.4' gemspec path: '../' diff --git a/gemfiles/rails_4.1.gemfile b/gemfiles/rails_4.1.gemfile index 0c7bf54..b7281d2 100644 --- a/gemfiles/rails_4.1.gemfile +++ b/gemfiles/rails_4.1.gemfile @@ -4,6 +4,6 @@ source 'https://rubygems.org' gem 'activerecord', '~> 4.1.16' gem 'activesupport', '~> 4.1.16' -gem 'sqlite3' +gem 'sqlite3', '< 1.4' gemspec path: '../' diff --git a/gemfiles/rails_4.2.gemfile b/gemfiles/rails_4.2.gemfile index cd1628f..b73b548 100644 --- a/gemfiles/rails_4.2.gemfile +++ b/gemfiles/rails_4.2.gemfile @@ -4,6 +4,6 @@ source 'https://rubygems.org' gem 'activerecord', '~> 4.2.11.1' gem 'activesupport', '~> 4.2.11.1' -gem 'sqlite3' +gem 'sqlite3', '< 1.4' gemspec path: '../' diff --git a/gemfiles/rails_5.0.gemfile b/gemfiles/rails_5.0.gemfile index ea7254a..6db91c5 100644 --- a/gemfiles/rails_5.0.gemfile +++ b/gemfiles/rails_5.0.gemfile @@ -4,6 +4,6 @@ source 'https://rubygems.org' gem 'activerecord', '~> 5.0.7.2' gem 'activesupport', '~> 5.0.7.2' -gem 'sqlite3' +gem 'sqlite3', '< 1.4' gemspec path: '../' diff --git a/gemfiles/rails_5.1.gemfile b/gemfiles/rails_5.1.gemfile index 3bae5cb..3b7ed0e 100644 --- a/gemfiles/rails_5.1.gemfile +++ b/gemfiles/rails_5.1.gemfile @@ -4,6 +4,6 @@ source 'https://rubygems.org' gem 'activerecord', '~> 5.1.7' gem 'activesupport', '~> 5.1.7' -gem 'sqlite3' +gem 'sqlite3', '~> 1.4.1' gemspec path: '../' diff --git a/gemfiles/rails_5.2.gemfile b/gemfiles/rails_5.2.gemfile index 7e4143f..368e1ca 100644 --- a/gemfiles/rails_5.2.gemfile +++ b/gemfiles/rails_5.2.gemfile @@ -4,6 +4,6 @@ source 'https://rubygems.org' gem 'activerecord', '~> 5.2.3' gem 'activesupport', '~> 5.2.3' -gem 'sqlite3' +gem 'sqlite3', '~> 1.4.1' gemspec path: '../'