xls_porter 1.2.1 → 1.2.2

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/xls_porter.rb +1 -0
  2. metadata +1 -1
data/lib/xls_porter.rb CHANGED
@@ -58,6 +58,7 @@ module XlsPorter
58
58
  (0..(columns.size - 1)).each do |i|
59
59
  value = row[i]
60
60
  value = value.strip if value.is_a?(String)
61
+ value = (%w(TRUE FALSE).include?(value)) ? (value == "TRUE") : value
61
62
  column = columns[i]
62
63
  puts "Column: #{column} Value: #{value}"
63
64
  if column == "id" and update == "new"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xls_porter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: