-
Notifications
You must be signed in to change notification settings - Fork 4
/
rubocop-yard.gemspec
37 lines (30 loc) · 1.11 KB
/
rubocop-yard.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
# frozen_string_literal: true
require_relative "lib/rubocop/yard/version"
Gem::Specification.new do |spec|
spec.name = "rubocop-yard"
spec.version = RuboCop::YARD::VERSION
spec.authors = ["ksss"]
spec.email = ["co000ri@gmail.com"]
spec.summary = "Check yardoc format."
spec.description = "Check yardoc format like tag type."
spec.homepage = "https://github.com/ksss/rubocop-yard"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = spec.homepage
spec.metadata['rubygems_mfa_required'] = 'true'
spec.files = Dir.chdir(File.expand_path(__dir__)) do
[
%w[CODE_OF_CONDUCT.md LICENSE.txt README.md CHANGELOG.md],
Dir.glob("lib/**/*.rb").grep_v(/_test\.rb\z/),
Dir.glob("sig/**/*.rbs"),
Dir.glob("config/*")
].flatten
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_runtime_dependency 'rubocop', "~> 1.21"
spec.add_runtime_dependency 'yard'
end