-
-
Notifications
You must be signed in to change notification settings - Fork 44
/
rubocop-minitest.gemspec
37 lines (30 loc) · 1.46 KB
/
rubocop-minitest.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require_relative 'lib/rubocop/minitest/version'
Gem::Specification.new do |spec|
spec.name = 'rubocop-minitest'
spec.version = RuboCop::Minitest::Version::STRING
spec.authors = ['Bozhidar Batsov', 'Jonas Arvidsson', 'Koichi ITO']
spec.summary = 'Automatic Minitest code style checking tool.'
spec.description = <<~DESCRIPTION
Automatic Minitest code style checking tool.
A RuboCop extension focused on enforcing Minitest best practices and coding conventions.
DESCRIPTION
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.7.0'
spec.metadata = {
'homepage_uri' => 'https://docs.rubocop.org/rubocop-minitest/',
'changelog_uri' => 'https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md',
'source_code_uri' => 'https://github.com/rubocop/rubocop-minitest',
'documentation_uri' => "https://docs.rubocop.org/rubocop-minitest/#{RuboCop::Minitest::Version.document_version}",
'bug_tracker_uri' => 'https://github.com/rubocop/rubocop-minitest/issues',
'rubygems_mfa_required' => 'true'
}
spec.files = Dir['LICENSE.txt', 'README.md', 'config/**/*', 'lib/**/*']
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'rubocop', '>= 1.61', '< 2.0'
spec.add_dependency 'rubocop-ast', '>= 1.36.1', '< 2.0'
end