csv-utils 0.3.12 → 0.3.13

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: d7b43801f0f7e62d34d8a77508964f0b6ea054a3ac2c8d17bf42d22aa0b245bd
4
- data.tar.gz: ccd3282e4c7b1e1985439e24a159fe09c570b18446adee2b8db4776bc6024852
3
+ metadata.gz: 8b2f52d8b1cfd29d0c74a0349bb889e1372da49c4d37986c38ff779d117a0eff
4
+ data.tar.gz: e67601c2eaf28e60e2d1dbc55ade05ddacb79a7ad350ff4c4667a0dbce6e046f
5
5
  SHA512:
6
- metadata.gz: 1684319de3c4f728f55e1c201790dd5cc3aa110e09d14a4043fcdf3b70c02568fe898c4f2d7b839e633f461294f9870fae0a8cf2d3d785d173aa66f9c8ba2ab1
7
- data.tar.gz: 6e7689f6f544e5280dbf144dc5a23a4b088aeff6c06931c0a856f6cd16353048e4ed343da0406550d2e7f48abd8af6e1ef31f6114ec9f3435aa56815c5fea24b
6
+ metadata.gz: c6e5eb939a6c4a67977522dcbc7cfeb5c456cb2b890c046cf1adca7a6747eebc5fb534b9ba239e58e6c1fc74e90302f021bfcc34e8b5db6259dda8de98db9bbb
7
+ data.tar.gz: f5005436ad1f3f92f6f9c8aa350a2063779d15fbd4e86db9b3eb3aeb971efe5949798ef7853f6baed125f06e0fec9356ad0bce1a5087f3ffb84db82a49dfffae
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.3.12'
5
+ s.version = '0.3.13'
6
6
  s.licenses = ['MIT']
7
7
  s.summary = 'CSV Utils'
8
8
  s.description = 'Tools for debugging malformed CSV files'
@@ -44,7 +44,8 @@ class CSVUtils::CSVIterator
44
44
  end
45
45
 
46
46
  def headers
47
- first.keys
47
+ @src_csv.rewind
48
+ @src_csv.shift
48
49
  end
49
50
 
50
51
  def to_hash(key, value = nil)
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.3.12
4
+ version: 0.3.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-27 00:00:00.000000000 Z
11
+ date: 2021-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inheritance-helper