sheetsy 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/sheetsy/converter.rb +2 -2
- data/lib/sheetsy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75aadc191a55f0f244f747c9f44b8512eae63519802c96a74e3446f5c77e8295
|
4
|
+
data.tar.gz: 84951ab4d15b2676182193ef6d9ff700b151edd490e067fdbe1e4ddbe0b6a0dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6ae9937300b6500e001dde452ecfc716422f17f667bc88b38a0d375d248f1f81bb978bbdf73bb065eb12b8342092b9d9fa38d1f8a64c096cce3c7ee794e841a
|
7
|
+
data.tar.gz: 9658e1c7b44f8461a4092dcdeb88a86689e76217404f66cef79db23cc0507f2ec913bfe90f83b5ee8f98b71faf15ca2fbad1709d867a02efb17fd05d18b48f34
|
data/Gemfile.lock
CHANGED
data/lib/sheetsy/converter.rb
CHANGED
@@ -58,9 +58,9 @@ module Sheetsy
|
|
58
58
|
debug "File #{output_file_path}"
|
59
59
|
|
60
60
|
data = begin
|
61
|
-
CSV.read(file, headers: true).map(&:to_h)
|
61
|
+
CSV.read(file, headers: true, row_sep: :auto).map(&:to_h)
|
62
62
|
rescue CSV::MalformedCSVError
|
63
|
-
CSV.read(file, headers: true, encoding: "iso-8859-1:utf-8").map(&:to_h)
|
63
|
+
CSV.read(file, headers: true, row_sep: :auto, encoding: "iso-8859-1:utf-8").map(&:to_h)
|
64
64
|
end
|
65
65
|
write_json(output_file_path, data)
|
66
66
|
debug "Converted #{file} to #{output_file_path}\n\n"
|
data/lib/sheetsy/version.rb
CHANGED