cli_csv 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cli_csv.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0e4d19ca48d4b2ca34c31b13f20c7c3a79d9878
|
4
|
+
data.tar.gz: f32c63802ac833d242210735e31c2b780ba51ccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a2c559d23ae785b8c7b573f36bbf16bf32dd8b09674bd125ccc1b974f46516caebb765d89aef881b513a536e21d43af6e0570195f237137961d9b79425ce54a
|
7
|
+
data.tar.gz: 8871f43d795f42ed9bcc4b0e46389dfbf8759833c6c974bb69e210e0e927733e91f9afa7a1f1f53e184527acc23f316c937545b5cadfda467ee9adde49c58bec
|
data/lib/cli_csv.rb
CHANGED
@@ -43,8 +43,8 @@ class Cleaner
|
|
43
43
|
rows = gets.chomp.to_i
|
44
44
|
end
|
45
45
|
until File.file? path
|
46
|
-
print "What's the name of your master file
|
47
|
-
path = gets.chomp
|
46
|
+
print "What's the name of your master file? Type the name or drag it onto terminal: "
|
47
|
+
path = gets.chomp.strip
|
48
48
|
path.end_with?('.csv') ? path : path = "#{path}.csv"
|
49
49
|
unless File.file? path
|
50
50
|
puts "File not found.\nTry retyping the filename, using the full path or moving to its directory and try again."
|