gill 1.2.0 → 1.2.1
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.
- data/lib/gill/cli.rb +2 -0
- data/lib/gill/config.rb +1 -1
- data/lib/gill/version.rb +1 -1
- metadata +3 -3
data/lib/gill/cli.rb
CHANGED
@@ -139,6 +139,8 @@ module Gill
|
|
139
139
|
@args = @opts.parse!(args)
|
140
140
|
usage if @args.empty? || @args[0].nil?
|
141
141
|
CLI.pull(@args[0])
|
142
|
+
rescue Interrupt
|
143
|
+
STDERR.puts "\nExiting..."
|
142
144
|
rescue OptionParser::MissingArgument => e
|
143
145
|
STDERR.puts e.message
|
144
146
|
STDOUT.puts @opts
|
data/lib/gill/config.rb
CHANGED
@@ -166,7 +166,7 @@ module Gill
|
|
166
166
|
repos = Dir[File.join(Gill.config.source_path, '**', "*#{repo_name}*")]
|
167
167
|
repos.each do |path|
|
168
168
|
next unless Gill.config.paths.include?(path)
|
169
|
-
yield [basename(path),path,basename(parent(path))] if block && !pretty_print
|
169
|
+
yield [basename(path),path,"#{basename(parent(path))}".downcase] if block && !pretty_print
|
170
170
|
STDOUT.puts "#{basename(path)} => #{green(path)}" if pretty_print
|
171
171
|
end
|
172
172
|
end
|
data/lib/gill/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 1.2.
|
8
|
+
- 1
|
9
|
+
version: 1.2.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Dustin Willis Webber
|
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
hash:
|
80
|
+
hash: 1133522655816392299
|
81
81
|
segments:
|
82
82
|
- 0
|
83
83
|
version: "0"
|