mysql2 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.2 (April 26th, 2011)
4
+ * Fix typo in initialization for older ActiveRecord versions
5
+
3
6
  ## 0.3.1 (April 26th, 2011)
4
7
  * Fix typo in initialization for older ActiveRecord versions
5
8
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Mysql2
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Lopez