Skip to content

Commit

Permalink
Merge pull request rails#2744 from arunagw/mysql2_bump
Browse files Browse the repository at this point in the history
Mysql2 bump
  • Loading branch information
tenderlove committed Aug 30, 2011
2 parents d7d0c25 + 941a9d0 commit 0195846
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -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.11"
gem "mysql2", "~> 0.2.13"
end
end

Expand Down
2 changes: 1 addition & 1 deletion railties/lib/rails/generators/rails/app/app_generator.rb
Expand Up @@ -425,7 +425,7 @@ def convert_database_option_for_jruby

def version_constraint_for_database_gem
case options[:database]
when "mysql" then "~> 0.2.11"
when "mysql" then "~> 0.2.13"
else nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion railties/test/generators/app_generator_test.rb
Expand Up @@ -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.11'$/
assert_file "Gemfile", /^gem\s+["']mysql2["'],\s*'~> 0.2.13'$/
else
assert_file "Gemfile", /^gem\s+["']activerecord-jdbcmysql-adapter["']$/
end
Expand Down

0 comments on commit 0195846

Please sign in to comment.