-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpronto-punchlist.gemspec
69 lines (63 loc) · 2.84 KB
/
pronto-punchlist.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pronto/punchlist/version'
Gem::Specification.new do |spec|
spec.name = 'pronto-punchlist'
spec.version = Pronto::PunchlistVersion::VERSION
spec.authors = ['Vince Broz']
spec.email = ['vince@broz.cc']
spec.summary = 'Performs incremental quality reporting for the punchlist gem.'
spec.description = <<~DESCRIPTION
Performs incremental quality reporting for the punchlist gem.
Punchlist reports on comments in code indicating short-term work
hasn't been done; this gem plugs in with the 'pronto' gem, which does
incremental reporting using a variety of quality tools}
DESCRIPTION
spec.homepage = 'https://github.com/apiology/pronto-punchlist'
spec.license = 'MIT license'
spec.required_ruby_version = '>= 2.7'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] =
'https://github.com/apiology/pronto-punchlist'
# Specify which files should be added to the gem when it is
# released. The `git ls-files -z` loads the files in the RubyGem
# that have been added into git.
spec.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'pronto'
# Punchlist internals were refactored in version 1.3.0 and a
# reasonable API exposed:
spec.add_dependency 'punchlist', '>= 1.3.0'
spec.add_development_dependency 'bump'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'fakeweb'
spec.add_development_dependency 'mdl'
# 0.58.0 and 0.57.0 don't seem super compatible with signatures, and
# magit doesn't seem to want to use the bundled version at the moment,
# so let's favor the more recent version...
spec.add_development_dependency 'overcommit', ['>=0.60.0', '<0.61.0']
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '>=3.4'
# I haven't adapted things to Gemspec/DevelopmentDependencies yet,
# which arrives in 1.44
spec.add_development_dependency 'rubocop', ['~> 1.36', '<1.44']
spec.add_development_dependency 'rubocop-rake'
# ensure version with RSpec/VerifiedDoubleReference
spec.add_development_dependency 'rubocop-rspec', ['>=2.10.0']
# ensure version with branch coverage
spec.add_development_dependency 'simplecov', ['>=0.18.0']
spec.add_development_dependency 'simplecov-lcov'
spec.add_development_dependency 'undercover'
spec.add_development_dependency 'webmock'
spec.metadata = {
'rubygems_mfa_required' => 'true',
}
end