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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cli_csv.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3033b944083e191af6e7637f9792056f2a4da39
4
- data.tar.gz: 3570f196b9380713a668b2bf4080eb822051ec8d
3
+ metadata.gz: e0e4d19ca48d4b2ca34c31b13f20c7c3a79d9878
4
+ data.tar.gz: f32c63802ac833d242210735e31c2b780ba51ccb
5
5
  SHA512:
6
- metadata.gz: 5c8c95d1f3ad7c0168d520afbf29722cdb6eb566231ced44b83a7d0d27f68a7b84b4f4d17f9e00c64b5817da6d3d4dd3ef90dc90aa60d7ad49ffcfb90bca4c57
7
- data.tar.gz: 5e359d423981a0dcd2a59b2f9fb1c34335667fae65c2e60618854e5cf935974199d169b1d63d625ec326846aaac629d3280c53aeead2697f2cece4cb0cbf613e
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."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cli_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Schirmer