Skip to content

Commit

Permalink
Merge branch 'master' into stmt
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmario committed Apr 27, 2011
2 parents ef979d1 + 3f97238 commit f0df399
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog

## 0.3.2 (April 26th, 2011)
* Fix typo in initialization for older ActiveRecord versions

## 0.3.1 (April 26th, 2011)
* Fix typo in initialization for older ActiveRecord versions

Expand Down
2 changes: 1 addition & 1 deletion lib/mysql2.rb
Expand Up @@ -16,7 +16,7 @@
module Mysql2
end

if defined?(ActiveRecord::VERSION::STRING) < "3.1"
if defined?(ActiveRecord::VERSION::STRING) && ActiveRecord::VERSION::STRING < "3.1"
puts "WARNING: This version of mysql2 (#{Mysql2::VERSION}) doesn't ship with the ActiveRecord adapter bundled anymore as it's now part of Rails 3.1"
puts "WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x"
end
2 changes: 1 addition & 1 deletion lib/mysql2/version.rb
@@ -1,3 +1,3 @@
module Mysql2
VERSION = "0.3.1"
VERSION = "0.3.2"
end

0 comments on commit f0df399

Please sign in to comment.