Skip to content

Commit

Permalink
Update Gemfile to require AR_VERSION 5.2 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
smasato committed Nov 12, 2024
1 parent 9888643 commit 491add4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ gemspec

version = ENV['AR_VERSION'].to_f

mysql2_version = '0.3.0'
mysql2_version = '0.4.0' if version >= 4.2
mysql2_version = '0.4.0'
mysql2_version = '0.5.0' if version >= 6.1
sqlite3_version = '1.3.0'
sqlite3_version = '1.4.0' if version >= 6.0
Expand Down Expand Up @@ -56,10 +55,6 @@ platforms :ruby do
gem "pry", "~> 0.14.0"
end

if version >= 4.0
gem "minitest"
else
gem "test-unit"
end
gem "minitest"

eval_gemfile File.expand_path("../gemfiles/#{version}.gemfile", __FILE__)

0 comments on commit 491add4

Please sign in to comment.