ghcurl 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/ghcurl +2 -1
- data/lib/ghcurl.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fec37deabe100d853deadbbf290658a5336a3ea0570948a0247a0f9fe6ece0c5
|
4
|
+
data.tar.gz: 48eddecd5fa148528eee00072e1270ec7a5af4d4bea22a942d84f2e27f1da3ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7d4839bcc4066350d2a8a4fb35364a6d297fc413193bd68e6366f196d60ecccedd4f1a5b8fa2ee17b4e6e653ecb75a94910f4008dbb235f96a8f4e60d890613
|
7
|
+
data.tar.gz: c0b96d5a08f55fab2d326dcc69b4703b7852c44eb61f5ce9dc30c2cba5eea357e47790e3830ec775ea11f7a38ec64faaf962aff88d092d144d7e60b8acaeda07
|
data/README.md
CHANGED
data/bin/ghcurl
CHANGED
@@ -386,6 +386,7 @@ module Ghcurl
|
|
386
386
|
# For -l option
|
387
387
|
#
|
388
388
|
def list_wares
|
389
|
+
FileUtils.mkdir_p(WAREHOUSE)
|
389
390
|
puts blue("ghcurl: #{WAREHOUSE}")
|
390
391
|
Dir.children(WAREHOUSE).each_with_index do |dict,i|
|
391
392
|
puts "#{blue(i+1)}. #{bold(green(dict))}"
|
@@ -400,7 +401,7 @@ module Ghcurl
|
|
400
401
|
begin
|
401
402
|
|
402
403
|
if name.nil?
|
403
|
-
re = HL.ask "Do you want to delete all downloaded files?"
|
404
|
+
re = HL.ask "Do you want to delete all downloaded files?[Enter to yes or n]"
|
404
405
|
case re.downcase
|
405
406
|
when '','y','ye','yes','true'
|
406
407
|
FileUtils.rm_rf WAREHOUSE
|
data/lib/ghcurl.rb
CHANGED