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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 961ad80de96cffaf49ca35df5f2d041c28304f7ada1ca1c8ea615d7165358d33
4
- data.tar.gz: 31e77af45fafb194cd03d397360f0cb822778fe42dc1a8cdef60fda9f3bf5ae3
3
+ metadata.gz: 75aadc191a55f0f244f747c9f44b8512eae63519802c96a74e3446f5c77e8295
4
+ data.tar.gz: 84951ab4d15b2676182193ef6d9ff700b151edd490e067fdbe1e4ddbe0b6a0dc
5
5
  SHA512:
6
- metadata.gz: 632ecfa2ce5b8acd1a279f31087ec037a2d0db2d62c1cc07c9f89e39cc1bd36df75c3f1050b8e3c75edd84ed39a923a5ca464bc077bf3451ec2793b46caabe52
7
- data.tar.gz: ed6813861f014ca1c00c7a5ef04d89c6ccb60f818990fe0a3a75ee60d99493841ad95993adc864945aacb8f55fccb4f5a2fede47431c4d7846e2b89a1b9f50bf
6
+ metadata.gz: a6ae9937300b6500e001dde452ecfc716422f17f667bc88b38a0d375d248f1f81bb978bbdf73bb065eb12b8342092b9d9fa38d1f8a64c096cce3c7ee794e841a
7
+ data.tar.gz: 9658e1c7b44f8461a4092dcdeb88a86689e76217404f66cef79db23cc0507f2ec913bfe90f83b5ee8f98b71faf15ca2fbad1709d867a02efb17fd05d18b48f34
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sheetsy (1.3.1)
4
+ sheetsy (1.3.2)
5
5
  rake (~> 13.0)
6
6
  roo
7
7
  rspec (~> 3.0)
@@ -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"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sheetsy
4
- VERSION = "1.3.1"
4
+ VERSION = "1.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sheetsy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan