Sha256: 998dff87879c939ad42a5fb63a081808bc6d02a880aa0d09ecfb51b2eec2ccb9
Contents?: true
Size: 1.4 KB
Versions: 3
Compression:
Stored size: 1.4 KB
Contents
lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'githook/version' Gem::Specification.new do |spec| spec.name = 'git-hook' spec.version = Githook::VERSION spec.authors = ['baurine'] spec.email = ['2008.hbl@gmail.com'] spec.summary = 'Setup git hooks easily' spec.description = 'Help to setup git hooks easily, base on Rake, inspired from Capistrano.' spec.homepage = 'https://github.com/baurine/githook' spec.license = 'MIT' # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' # to allow pushing to a single host or delete this section to allow pushing to any host. # if spec.respond_to?(:metadata) # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" # else # raise "RubyGems 2.0 or newer is required to protect against " \ # "public gem pushes." # end spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features|art|note)/}) end 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.add_development_dependency 'bundler', '~> 1.14' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
git-hook-0.2.1 | githook.gemspec |
git-hook-0.2.0 | githook.gemspec |
git-hook-0.1.9 | githook.gemspec |