-
Notifications
You must be signed in to change notification settings - Fork 280
/
overcommit.gemspec
37 lines (29 loc) · 1.26 KB
/
overcommit.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
# frozen_string_literal: true
require_relative './lib/overcommit/constants'
require_relative './lib/overcommit/version'
Gem::Specification.new do |s|
s.name = 'overcommit'
s.version = Overcommit::VERSION
s.license = 'MIT'
s.summary = 'Git hook manager'
s.description = 'Utility to install, configure, and extend Git hooks'
s.authors = ['Shane da Silva']
s.email = ['[email protected]']
s.homepage = Overcommit::REPO_URL
s.post_install_message =
'Install hooks by running `overcommit --install` in your Git repository'
s.metadata = {
'changelog_uri' => 'https://github.com/sds/overcommit/blob/main/CHANGELOG.md'
}
s.require_paths = %w[lib]
s.executables = ['overcommit']
s.files = Dir['bin/**/*'] +
Dir['config/*.yml'] +
Dir['lib/**/*.rb'] +
Dir['libexec/**/*'] +
Dir['template-dir/**/*']
s.required_ruby_version = '>= 2.6'
s.add_dependency 'childprocess', '>= 0.6.3', '< 6'
s.add_dependency 'iniparse', '~> 1.4'
s.add_dependency 'rexml', '>= 3.3.9'
end