bulk_data_methods 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -197,7 +197,7 @@ module BulkMethodsMixin
197
197
  where_clause = options[:where_datatable] || '"#{table_name}.id = datatable.id"'
198
198
  where_constraint = ""
199
199
  if options[:where_constraint]
200
- where_constraint = " AND #{eval(options[:where_constraint])}"
200
+ where_constraint = '" AND #{eval(options[:where_constraint])}"'
201
201
  end
202
202
  returning = []
203
203
 
@@ -235,7 +235,7 @@ module BulkMethodsMixin
235
235
  ) as datatable
236
236
  where
237
237
  #{eval(where_clause)}
238
- #{where_constraint}
238
+ #{eval(where_constraint)}
239
239
  #{eval(returning_clause)}
240
240
  SQL
241
241
  returning += find_by_sql(sql_update_string)
@@ -1,3 +1,3 @@
1
1
  module BulkDataMethods
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulk_data_methods
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: