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.
- checksums.yaml +4 -4
- data/bin/csv-splitter +2 -2
- data/csv-utils.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2241c0a8d13e6edcb21271f66523862506cb1a04fbcfd533c160bf307c3ee6eb
|
4
|
+
data.tar.gz: 6d2f393c77e232aa8c124a43290f6ba912f42c0d63a49c55945c159106eb8169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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| "
|
32
|
+
file.sub(/\.(?:csv|tsv)$/i) { |m| ".part-#{num_files}-of-#{total_files}" + m }
|
33
33
|
else
|
34
|
-
file + "
|
34
|
+
file + ".part-#{num_files}"
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
data/csv-utils.gemspec
CHANGED
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.
|
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
|
11
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inheritance-helper
|