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 23, 2024
1 parent fe630e9 commit 7a74b02
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
mysql2_version = '0.5.6' if version >= 8.0
sqlite3_version = '1.3.0'
Expand Down Expand Up @@ -59,10 +58,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 7a74b02

Please # to comment.