1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00

mysql2 0.4 (was 0.3)

Just a dev. dependency, no effect on library users.
This commit is contained in:
Jared Beck 2015-12-19 18:56:38 -05:00
parent 0e5b20e5c0
commit 10abe56b6f
2 changed files with 4 additions and 12 deletions

View file

@ -27,12 +27,7 @@ group :development, :test do
platforms :ruby do
gem 'sqlite3', '~> 1.2'
# We would prefer to only constrain mysql2 to '~> 0.3',
# but a rails bug (https://github.com/rails/rails/issues/21544)
# requires us to constrain to '~> 0.3.20' for now.
gem 'mysql2', '~> 0.3.20'
gem 'mysql2', '~> 0.3.20' # activerecord < 4.2.5 must use mysql2 < 0.4
gem 'pg', '~> 0.17.1'
end

View file

@ -43,12 +43,9 @@ Gem::Specification.new do |s|
s.add_development_dependency 'activerecord-jdbcmysql-adapter', '~> 1.3'
else
s.add_development_dependency 'sqlite3', '~> 1.2'
# We would prefer to only constrain mysql2 to '~> 0.3',
# but a rails bug (https://github.com/rails/rails/issues/21544)
# requires us to constrain to '~> 0.3.20' for now.
s.add_development_dependency 'mysql2', '~> 0.3.20'
s.add_development_dependency 'pg', '~> 0.17'
# activerecord >= 4.2.5 may use mysql2 >= 0.4
s.add_development_dependency 'mysql2', '~> 0.4.2'
end
end