Permalink
Browse files

Mysql2 version bump!

I saw one bug fixed here 

brianmario/mysql2@e60599b
  • Loading branch information...
1 parent 2ba0309 commit 4e72f59c5d1c570f043fc54a088f4db23029173e @arunagw arunagw committed Nov 17, 2011
View
2 Gemfile
@@ -41,7 +41,7 @@ platforms :ruby do
group :db do
gem "pg", ">= 0.9.0" unless ENV['TRAVIS'] # once pg is on travis this can be removed
gem "mysql", ">= 2.8.1"
- gem "mysql2", "~> 0.2.13"
+ gem "mysql2", "~> 0.2.17"
end
end
View
2 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -425,7 +425,7 @@ def convert_database_option_for_jruby
def version_constraint_for_database_gem
case options[:database]
- when "mysql" then "~> 0.2.13"
+ when "mysql" then "~> 0.2.17"
else nil
end
end
View
2 railties/test/generators/app_generator_test.rb
@@ -167,7 +167,7 @@ def test_config_another_database
unless defined?(JRUBY_VERSION)
# Ensure that the mysql2 gem is listed with a compatible version of the
# mysql2 gem
- assert_file "Gemfile", /^gem\s+["']mysql2["'],\s*'~> 0.2.13'$/
+ assert_file "Gemfile", /^gem\s+["']mysql2["'],\s*'~> 0.2.17'$/
else
assert_file "Gemfile", /^gem\s+["']activerecord-jdbcmysql-adapter["']$/
end

0 comments on commit 4e72f59

Please sign in to comment.