sheetsy 1.3.1 → 1.4.0

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: 498c4bbcf25ac6c3b6debc67e1e050bc635e32546d3211b3d5f3e2eb46d80961
4
+ data.tar.gz: 82a57a771baf6f7f2acc2d9f91464530d4d6567d74c07ec1f88f98d3c97824b4
5
5
  SHA512:
6
- metadata.gz: 632ecfa2ce5b8acd1a279f31087ec037a2d0db2d62c1cc07c9f89e39cc1bd36df75c3f1050b8e3c75edd84ed39a923a5ca464bc077bf3451ec2793b46caabe52
7
- data.tar.gz: ed6813861f014ca1c00c7a5ef04d89c6ccb60f818990fe0a3a75ee60d99493841ad95993adc864945aacb8f55fccb4f5a2fede47431c4d7846e2b89a1b9f50bf
6
+ metadata.gz: 43740f735a0cd68d6e03070de064e71786434d8a0523a6d4972bc2d0a124e9bb93badb4d06083a056eeb26c4ec8fb6e2e87c659aaac2a612e412777dbd7b2177
7
+ data.tar.gz: f792b8fb9cc491ef554cea13b575083d58d2b01ef234d3f539dbeafa6d055365a7019ad8086fba01e2fd4b0a4f2e30102c65d48bf47b2061f2f63905c64b963a
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.4.0)
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.4.0"
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.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan
@@ -135,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: 3.1.0
138
+ version: 2.7.5
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - ">="