ghcurl 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ghcurl +4 -4
- data/lib/ghcurl.rb +2 -2
- 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: 6c0e61752e6dd439bf1d0f6f08dc55bf4c2e956df4ec8b07330fa19d75b463cc
|
4
|
+
data.tar.gz: 5ac05c87788fac6b3574f843cf4a3f7652e3146d9302cf3a56b1ae87347eb093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 274ee82a30fe217f1b4654188145f0587c9165ff56e808a101152e957964a73159ab1b8eb995eb9324ef31901a1ebcd450a580d90a43966466979559a08beceb
|
7
|
+
data.tar.gz: 930fd4563cf8fa781ce8e0e0c5403e9f5dac769920b41d7a927bb5d7f76ffcea4ef68ea308be12c57165dfdc0a2ffb707c2ab6b11e45101dd7b023bee42c58dd
|
data/bin/ghcurl
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# File : ghcurl.rb
|
4
4
|
# Authors : ccmywish <ccmywish@qq.com>
|
5
5
|
# Created on : <2022-04-12>
|
6
|
-
# Last modified : <2022-04-
|
6
|
+
# Last modified : <2022-04-30>
|
7
7
|
#
|
8
8
|
# ghcurl:
|
9
9
|
#
|
@@ -143,7 +143,7 @@ module Ghcurl
|
|
143
143
|
elsif !repo.include?('/')
|
144
144
|
got_repo = DEFAULT_WARES[repo.to_sym]
|
145
145
|
if not got_repo
|
146
|
-
user = HL.ask "Who developed the awesome
|
146
|
+
user = HL.ask "Who developed the awesome #{repo}? "
|
147
147
|
repo = user + '/' + repo
|
148
148
|
else
|
149
149
|
repo = got_repo
|
@@ -328,7 +328,7 @@ module Ghcurl
|
|
328
328
|
name.include?('-') ||
|
329
329
|
name.include?('_')) && (not rename_as)
|
330
330
|
log "Do you want to rename the '#{name}'?"
|
331
|
-
re = HL.ask "Input name, or
|
331
|
+
re = HL.ask "Input new name, or leave it blank to not rename."
|
332
332
|
if !re.empty?
|
333
333
|
rename_as = re
|
334
334
|
end
|
@@ -406,7 +406,7 @@ module Ghcurl
|
|
406
406
|
begin
|
407
407
|
|
408
408
|
if name.nil?
|
409
|
-
re = HL.ask "Do you want to delete all downloaded files?[
|
409
|
+
re = HL.ask "Do you want to delete all downloaded files? [Y/n]"
|
410
410
|
case re.downcase
|
411
411
|
when '','y','ye','yes','true'
|
412
412
|
FileUtils.rm_rf WAREHOUSE
|
data/lib/ghcurl.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
# File : ghcurl.rb
|
3
3
|
# Authors : ccmywish <ccmywish@qq.com>
|
4
4
|
# Created on : <2022-04-12>
|
5
|
-
# Last modified : <2022-04-
|
5
|
+
# Last modified : <2022-04-30>
|
6
6
|
#
|
7
7
|
# ghcurl:
|
8
8
|
#
|
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
module Ghcurl
|
14
14
|
|
15
|
-
VERSION = "0.8.
|
15
|
+
VERSION = "0.8.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.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ccmywish
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.3.
|
91
|
+
rubygems_version: 3.3.12
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: Download files (and install) from Github releases
|