csv-utils 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/csv-utils.gemspec +1 -1
- data/lib/csv_utils/csv_sort.rb +5 -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: 615d0207e2fd53304c2c9ae1c1f269627ab56cfdfd7075359989e0cc24ef7c27
|
4
|
+
data.tar.gz: 834780d9dfbde10d04c9a85da5259720e6f59d30649dcb5a3e0daf986533bd83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbfb3c0ebae643ec97c6888e47347c191cbfd5ed43359d84de14de4e17238cf41db4021113bc599988168007777b99431713094c4eb53bef2a7f4cb2e61aad72
|
7
|
+
data.tar.gz: 40816128c4d6410e4a094cd35962d57d302cff5d294f3a6c43eb18ea55de5440a1ebed69137d2e9c5a309044a0028ff569b49f0ce61768fb1216ee5233e5cf0d
|
data/csv-utils.gemspec
CHANGED
data/lib/csv_utils/csv_sort.rb
CHANGED
@@ -107,6 +107,10 @@ class CSVUtils::CSVSort
|
|
107
107
|
File.unlink(csv_part_file2)
|
108
108
|
end
|
109
109
|
|
110
|
-
|
110
|
+
if @csv_part_files.size > 0
|
111
|
+
FileUtils.mv(@csv_part_files.last, new_csv_file)
|
112
|
+
else
|
113
|
+
FileUtils.cp(@csv_file, new_csv_file)
|
114
|
+
end
|
111
115
|
end
|
112
116
|
end
|
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.11
|
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-03-
|
11
|
+
date: 2021-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inheritance-helper
|