fluiddb 0.0.12 → 0.0.13

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.
Files changed (2) hide show
  1. data/lib/FluidDb.rb +2 -0
  2. metadata +1 -1
data/lib/FluidDb.rb CHANGED
@@ -55,6 +55,8 @@ module FluidDb
55
55
  sql = sql.sub( "?", v.to_s )
56
56
  elsif v.is_a?(Numeric) then
57
57
  sql = sql.sub( "?", v.to_s )
58
+ elsif v.is_nil? then
59
+ sql = sql.sub( "?", 'NULL' )
58
60
  else
59
61
  raise ParamTypeNotSupportedError.new( "Name of unknown param type, #{v.class.name}, for sql, #{sql}" )
60
62
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluiddb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: