factorylabs-activewarehouse-etl 0.9.1.4 → 0.9.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,7 @@ module ETL #:nodoc:
60
60
  conditions = []
61
61
  row.each do |k,v|
62
62
  if columns.nil? || columns.include?(k.to_sym)
63
- conditions << "#{k} = #{conn.quote(v)}" unless skip?(k.to_sym)
63
+ conditions << "'#{k}' = #{conn.quote(v)}" unless (skip?(k.to_sym) || v.blank?)
64
64
  end
65
65
  end
66
66
  q << conditions.join(" AND ")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factorylabs-activewarehouse-etl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.4
4
+ version: 0.9.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Eden