gill 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -2,6 +2,6 @@ module Gill
2
2
 
3
3
  # VERSION
4
4
  # @return [String] Gill Version Number
5
- VERSION = '1.2.0'
5
+ VERSION = '1.2.1'
6
6
 
7
7
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 0
9
- version: 1.2.0
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: 3789058096501109421
80
+ hash: 1133522655816392299
81
81
  segments:
82
82
  - 0
83
83
  version: "0"