ghcurl 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/bin/ghcurl +2 -1
  4. data/lib/ghcurl.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: efa8ec89c9537aeb042258adb82a8b4c5b5906fee9f75d1ac348bb59d98095a7
4
- data.tar.gz: a95f9e3385e1bb9766c1b807520ae191f768801e83fffe29a7231a10f4926cf8
3
+ metadata.gz: fec37deabe100d853deadbbf290658a5336a3ea0570948a0247a0f9fe6ece0c5
4
+ data.tar.gz: 48eddecd5fa148528eee00072e1270ec7a5af4d4bea22a942d84f2e27f1da3ef
5
5
  SHA512:
6
- metadata.gz: f1839ed2a13c403b71a7ea01773f7ec9b4b7b13b3a7f2aade2fa567703e46fb3b8b2b05395f17fa690924d93a8c570195b57d733768883f07b6f44aab58c5fb3
7
- data.tar.gz: b37c28392213b7b0a73343b8fa61399d510edc3ff8fc51758e95e79c10bf30f7188851d3e5df53411b3275bee72980f5f6acf66aa69a3b4a8e57f5c3c6f8bd6b
6
+ metadata.gz: a7d4839bcc4066350d2a8a4fb35364a6d297fc413193bd68e6366f196d60ecccedd4f1a5b8fa2ee17b4e6e653ecb75a94910f4008dbb235f96a8f4e60d890613
7
+ data.tar.gz: c0b96d5a08f55fab2d326dcc69b4703b7852c44eb61f5ce9dc30c2cba5eea357e47790e3830ec775ea11f7a38ec64faaf962aff88d092d144d7e60b8acaeda07
data/README.md CHANGED
@@ -37,7 +37,7 @@ This is optional, download will default to `~/.cache/ghcurl`
37
37
 
38
38
  **-i**
39
39
  1. `-i` Install to `/usr/local/bin` or `GHCURL_BIN_PATH`
40
- 2. `-i path` Install to path`
40
+ 2. `-i path` Install to path
41
41
 
42
42
  **-r**
43
43
  1. `-r name` Install the binary as name
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
@@ -12,7 +12,7 @@
12
12
 
13
13
  module Ghcurl
14
14
 
15
- VERSION = "0.7.0"
15
+ VERSION = "0.7.1"
16
16
 
17
17
  end
18
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ghcurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ccmywish