diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-28 15:51:59 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-28 15:51:59 +0900 |
commit | 349f00beaa16f6b5eec3de7d3be8e9b72313a92f (patch) | |
tree | d5637f0d635389174c5fa351cf8b3368d84e5ec2 /railties/lib/rails | |
parent | 9aed61f52fc27926d229d2bac88dc2a6f5ae683d (diff) | |
download | rails-349f00beaa16f6b5eec3de7d3be8e9b72313a92f.tar.gz rails-349f00beaa16f6b5eec3de7d3be8e9b72313a92f.tar.bz2 rails-349f00beaa16f6b5eec3de7d3be8e9b72313a92f.zip |
Use same version constraint in mysql adapter and generated application
Follow up of 924a368f5c654f5304e575c767eb0fc64adc8659
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 049f9935b8..b9ae24de59 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -297,7 +297,7 @@ module Rails def gem_for_database # %w( mysql postgresql sqlite3 oracle frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql ) case options[:database] - when "mysql" then ["mysql2", [">= 0.3.18", "< 0.5"]] + when "mysql" then ["mysql2", ["~> 0.4.4"]] when "postgresql" then ["pg", ["~> 0.18"]] when "oracle" then ["activerecord-oracle_enhanced-adapter", nil] when "frontbase" then ["ruby-frontbase", nil] |