-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathyard-relative_markdown_links.gemspec
42 lines (32 loc) · 1.27 KB
/
yard-relative_markdown_links.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "yard/relative_markdown_links/version"
Gem::Specification.new do |spec|
spec.name = "yard-relative_markdown_links"
spec.version = YARD::RelativeMarkdownLinks::VERSION
spec.authors = ["Andrew Haines"]
spec.email = ["andrew@haines.org.nz"]
spec.summary = "A YARD plugin to allow relative links between Markdown files"
spec.homepage = "https://github.com/haines/yard-relative_markdown_links"
spec.license = "MIT"
spec.files = Dir[
"lib/**/*.rb",
".yardopts",
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"LICENSE.md",
"README.md",
"yard-relative_markdown_links.gemspec"
]
spec.require_paths = ["lib"]
spec.metadata["bug_tracker_uri"] = "#{spec.homepage}/issues"
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
spec.metadata["documentation_uri"] = "https://haines.github.io/yard-relative_markdown_links/"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["rubygems_mfa_required"] = "true"
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["yard.run"] = "yri"
spec.required_ruby_version = ">= 3.1"
spec.add_dependency "nokogiri", ">= 1.14.3", "< 2"
end