bulk_data_methods 1.1.0 → 1.1.1

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.
@@ -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: