activerecord-mysql-awesome 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61fbabfdb8b2dbef3e83d6ffbc24e95550aa1822
4
- data.tar.gz: 3963c7f71541e73241acc40f8b6745e6821134ac
3
+ metadata.gz: bcb6bbe01ddf851d0cc7d105dbaa118dec5a7dd6
4
+ data.tar.gz: 2725be6b893041946c54305e87d750bbe19f971a
5
5
  SHA512:
6
- metadata.gz: c9d4eac2a815ed770221b9c9f0df096603534003dbf15e939fcd868ec7ed7a43974cfd02eec72782ffbe340062c63216f2582afdcb533c41c6240c64757b3ea2
7
- data.tar.gz: e436050985e009b96b3aefcb60b5a619519f98a3be5154fefe2f7ae593f443fc007076808695c9bcc53b8ab4e83f9d21c4e59aba00fbd221e485623c2b22f1cd
6
+ metadata.gz: 19e8bd36fa0348b7ea44713de4fe3ffe4caec169fca4c2d3bdcf70267ecaa53fb653b198a51958a0a8c1b1c6b1d87aa8d372c82458890b6983c6baeb920d0e09
7
+ data.tar.gz: b612ba760ca2456228f5f42fe6314dc478d9e3136ca311fcc0aa209450d2dcf8b9852335730b48ff10a79f55362c139658a0ffc0119dd78e2f3d15f24058087c
@@ -133,6 +133,7 @@ module ActiveRecord
133
133
  end
134
134
 
135
135
  def quote(value, column = nil)
136
+ return super if value.nil?
136
137
  return super unless column && /time/ === column.sql_type
137
138
 
138
139
  if value.acts_like?(:time)
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  module Mysql
3
3
  module Awesome
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-mysql-awesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryuta Kamizono