csv-utils 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/csv-readline +1 -0
  3. data/csv-utils.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9680eb915003bdf0ea797d2aa736ce5069c4cbbf2f5cfe9f6b0c504701b178cd
4
- data.tar.gz: 211e3c84c56aa414fa57ca9b6b15e227f3f4089b2e9bf0a8a4e4d19def5d1a81
3
+ metadata.gz: 48b1bf2dfbd79b8035b19d96af6a0fb06d55c8b6abdfeaeb7f7c3f561985aed7
4
+ data.tar.gz: 63257717b646afe688126a8323a1d839ee52cc9332837c53d4bc003c1d9c82d5
5
5
  SHA512:
6
- metadata.gz: ebb5a02c8ad2f63c512fe9b0e03e3dadc00d6fe09c96260e4da28a2986efc7bc6d9414d7e03893df39bf9a83f3d25a92da7b6e81a47225fd466d9bf9acb09cc0
7
- data.tar.gz: 470637ff20a19c7674604a0afca3654f41c9d8bed496af1198e2dc0fe6c8aa5e9ccacf32e27d9c3cacba0e77914b585463a3644beff9d4eec54e0aaf18ebb9a1
6
+ metadata.gz: 2d1e351a8b331c68b28b8cc392b8607412cef3e7d529a959b5175afce720054434b3aa3d70d18e1a30dd0765e1afa0c48813fb495f183d963e51152010f1a7f9
7
+ data.tar.gz: b47d36f27c3657197eebc71145302edd4fce1a813b011fae3b4442a093e1eacc2bcaa032d021d542bb7eaed8f0c3ef37f4d373b9627161aae82dd48f0b7e2225
data/bin/csv-readline CHANGED
@@ -30,6 +30,7 @@ def csv_parse_line(line)
30
30
  when '"'
31
31
  if opened_quote
32
32
  if line[pos+1] == ',' ||
33
+ line[pos+1] == "\r" ||
33
34
  line[pos+1] == "\n" ||
34
35
  line[pos+1].nil?
35
36
  opened_quote = false
data/csv-utils.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'csv-utils'
5
- s.version = '0.1.4'
5
+ s.version = '0.1.5'
6
6
  s.summary = 'CSV Utils'
7
7
  s.description = 'Tools for debugging malformed CSV files'
8
8
  s.authors = ['Doug Youch']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-14 00:00:00.000000000 Z
11
+ date: 2019-06-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Tools for debugging malformed CSV files
14
14
  email: dougyouch@gmail.com