From 92ee7b70ef32b41c72acc9543bce60127261a2b8 Mon Sep 17 00:00:00 2001 From: Nguyen Duc Tung Date: Mon, 19 Aug 2019 09:06:31 +0700 Subject: [PATCH] Fix incompatibility with Dependabot --- ransack.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ransack.gemspec b/ransack.gemspec index 85a6ec0..80303af 100644 --- a/ransack.gemspec +++ b/ransack.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rspec', '~> 3' s.add_development_dependency 'machinist', '~> 1.0.6' s.add_development_dependency 'faker', '~> 0.9.5' - s.add_development_dependency 'sqlite3', ::Gem::Version.new(ENV['RAILS'].gsub(/^v/, '')) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3' + s.add_development_dependency 'sqlite3', ::Gem::Version.new(ENV['RAILS']&.gsub(/^v/, '')) >= ::Gem::Version.new('6-0-stable') ? '~> 1.4.1' : '~> 1.3.3' s.add_development_dependency 'pg', '~> 0.21' s.add_development_dependency 'mysql2', '0.3.20' s.add_development_dependency 'pry', '0.10'