mysql2 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +3 -0
- data/lib/mysql2.rb +1 -1
- data/lib/mysql2/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/lib/mysql2.rb
CHANGED
|
@@ -15,7 +15,7 @@ require 'mysql2/result'
|
|
|
15
15
|
module Mysql2
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
if defined?(ActiveRecord::VERSION::STRING) < "3.1"
|
|
18
|
+
if defined?(ActiveRecord::VERSION::STRING) && ActiveRecord::VERSION::STRING < "3.1"
|
|
19
19
|
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"
|
|
20
20
|
puts "WARNING: Please use the 0.2.x releases if you plan on using it in Rails <= 3.0.x"
|
|
21
21
|
end
|
data/lib/mysql2/version.rb
CHANGED
metadata
CHANGED