csv-utils 0.3.22 → 0.3.23

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-splitter +2 -2
  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: ee1aeb07e7762e4f619464536906cd1ab2171a93238a6113811f30ae76cfd5dd
4
- data.tar.gz: 894841751be6e16ed552fbb47047e6a8bc550b7eb45beed6419cb351cf1df734
3
+ metadata.gz: 2241c0a8d13e6edcb21271f66523862506cb1a04fbcfd533c160bf307c3ee6eb
4
+ data.tar.gz: 6d2f393c77e232aa8c124a43290f6ba912f42c0d63a49c55945c159106eb8169
5
5
  SHA512:
6
- metadata.gz: 9624fc8ebd25445d34b0d2f8a00fbb4983c9a1ba9e4cf4f16bcdec029a852f5ee049fb2a935fdc8f4c429c34fd7588488182bf2e0433491fe4705c71dc7a43ea
7
- data.tar.gz: 95ceebc269ca0e48404d62dd47905f0527028956f6bea09d68c71454784ceb626a346b8f8b27113d02bed771a75248ba85c364c63a08c084c6a97b8631d2990d
6
+ metadata.gz: d988950900011db0d030d7e5534dcf1cfa0940d17ea3257de18da5fb3fdc5745dbd797007ab220a0a72c4fd5b9ed907100d9244fe30c11484de5dbf3d58c5d1c
7
+ data.tar.gz: 64698435d62a5bd8e0bbd3e9a480581161d74c1d14bf2e7686a39b72898e765b77aeea0d95e8a8c98c065ab9af0f5f819fb1d58d6cd453a16f95c8b24f49e1ec
data/bin/csv-splitter CHANGED
@@ -29,9 +29,9 @@ require 'csv-utils'
29
29
 
30
30
  def get_split_file_name(file, num_files, total_files)
31
31
  if file =~ /\.(?:csv|tsv)$/i
32
- file.sub(/\.(?:csv|tsv)$/i) { |m| "-part-#{num_files}-of-#{total_files}" + m }
32
+ file.sub(/\.(?:csv|tsv)$/i) { |m| ".part-#{num_files}-of-#{total_files}" + m }
33
33
  else
34
- file + "-part-#{num_files}"
34
+ file + ".part-#{num_files}"
35
35
  end
36
36
  end
37
37
 
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.22'
5
+ s.version = '0.3.23'
6
6
  s.licenses = ['MIT']
7
7
  s.summary = 'CSV Utils'
8
8
  s.description = 'Tools for debugging malformed CSV files'
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.22
4
+ version: 0.3.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-08 00:00:00.000000000 Z
11
+ date: 2023-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inheritance-helper