Update vendored Sqlite3-ruby to 1.3.0
Also, some tweaks to Maruku.
This commit is contained in:
parent
9a80cacc34
commit
4f8759cdf3
55 changed files with 3071 additions and 8028 deletions
|
@ -44,7 +44,12 @@ module SQLite3
|
|||
# and are always passed straight through regardless of the type parameter.
|
||||
def translate( type, value )
|
||||
unless value.nil?
|
||||
@translators[ type_name( type ) ].call( type, value )
|
||||
# FIXME: this is a hack to support Sequel
|
||||
if type && %w{ datetime timestamp }.include?(type.downcase)
|
||||
@translators[ type_name( type ) ].call( type, value.to_s )
|
||||
else
|
||||
@translators[ type_name( type ) ].call( type, value )
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue