fluiddb 0.0.28 → 0.0.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/FluidDb/Pgsql.rb +1 -6
  2. metadata +1 -1
data/lib/FluidDb/Pgsql.rb CHANGED
@@ -103,12 +103,7 @@ module FluidDb
103
103
  sql = sql + "$#{idx+1}" if idx < parts.length - 1
104
104
  end
105
105
 
106
- p = Array.new
107
- params.each do |v|
108
- p << Hash["value", v.to_s, "type", v.class.name, "format", 0]
109
- end
110
-
111
- r = @connection.exec_params( sql, p );
106
+ r = @connection.exec_params( sql, params );
112
107
 
113
108
  if !expected_affected_rows.nil? and
114
109
  r.cmd_tuples != expected_affected_rows then
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.28
4
+ version: 0.0.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: