/
confgit.gemspec
42 lines (33 loc) · 1.36 KB
/
confgit.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
38
39
40
41
42
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'confgit/version'
Gem::Specification.new do |gem|
gem.name = "confgit"
gem.version = Confgit::VERSION
gem.authors = ["gnue"]
gem.email = ["gnue@so-kukan.com"]
gem.description = %q{Config files management tool with git}
gem.summary = %q{Config files management tool with git}
gem.homepage = "https://github.com/gnue/confgit"
gem.license = "MIT"
gem.files = `git ls-files`.split($/) + %w(REVISION)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.required_ruby_version = '>= 1.9.0'
# dependency
gem.add_dependency('i18n')
# for development
gem.add_development_dependency('rake')
gem.add_development_dependency('minitest', '~> 4.7') if Gem.ruby_version < Gem::Version.create('2.0')
gem.add_development_dependency('turn')
gem.post_install_message = %Q{
==================
This software requires 'git'.
Also optional softwares 'tree' and 'tig'.
If you are using the bash-completion
$ cp `gem env gemdir`/gems/confgit-#{gem.version}/etc/bash_completion.d/confgit $BASH_COMPLETION_DIR
==================
}
end