-
Notifications
You must be signed in to change notification settings - Fork 1
/
bigfiles.gemspec
53 lines (48 loc) · 2 KB
/
bigfiles.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
# coding: ascii
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'bigfiles/version'
Gem::Specification.new do |spec|
spec.name = 'bigfiles'
spec.version = BigFiles::VERSION
spec.authors = ['Vince Broz']
spec.email = ['vince@broz.cc']
spec.summary = 'Finds largest source files in a project'
spec.homepage = 'https://github.com/apiology/bigfiles'
spec.license = 'MIT license'
spec.required_ruby_version = '>= 2.7'
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('high_water_mark')
spec.add_dependency('source_finder', ['>=2'])
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.58.0']
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '>=3.4'
spec.add_development_dependency 'rubocop', ['~> 1.36']
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