csv_to_object 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module CsvToObject
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
data/lib/csv_to_object.rb CHANGED
@@ -19,7 +19,7 @@ module CsvToObject
19
19
  def to_objects
20
20
  objects = []
21
21
  file = File.open(@input_path)
22
- CSV.table(file, {header_converters: header_converter, encoding: "ISO-8859-1"}).each do |row|
22
+ CSV.table(file, {header_converters: header_converter}).each do |row|
23
23
  objects << new_object(row.to_hash)
24
24
  end
25
25
  objects
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv_to_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-24 00:00:00.000000000 Z
13
+ date: 2013-04-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec