-
Notifications
You must be signed in to change notification settings - Fork 0
/
git_recent.gemspec
37 lines (29 loc) · 1.28 KB
/
git_recent.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'git_recent/version'
Gem::Specification.new do |spec|
spec.name = 'git_recent'
spec.version = GitRecent::VERSION
spec.authors = ['Tom Wey']
spec.email = ['[email protected]']
spec.description = %q{CLI for displaying and interacting with recently checked-out git branches}
spec.summary = %q{List and interactively checkout recently checked-out git branches}
spec.post_install_message = <<-'MSG'
You may find it useful to add the following to the [alias] section of your .gitconfig:
rl = ! sh -c 'git_recent list'
rc = ! sh -c 'git_recent checkout'
MSG
spec.homepage = 'https://github.com/tjmw/ruby-GitRecent'
spec.license = 'MIT'
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 1.9.2'
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_dependency 'git', '~> 1.2.5'
spec.add_dependency 'thor', '~> 0.18.1'
end