-
Notifications
You must be signed in to change notification settings - Fork 2
/
jekyll-glossary_tooltip.gemspec
31 lines (25 loc) · 1.72 KB
/
jekyll-glossary_tooltip.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
# frozen_string_literal: true
require_relative "lib/jekyll-glossary_tooltip/version"
Gem::Specification.new do |spec|
spec.name = "jekyll-glossary_tooltip"
spec.version = Jekyll::GlossaryTooltip::VERSION
spec.authors = ["Erik Westrup"]
spec.email = ["[email protected]"]
spec.summary = "Jekyll plugin providing a glossary liquid tag that will show a tooltip of a term definition in your site."
spec.description = "This plugin simplifies for your readers and you by making it easy to define terms or abbreviations that needs an explanation. Define a common dictionary of terms and their definition in a YAML file. Then inside markdown files you can use the provided glossary liquid tag to insert a tooltip for a defined word from the dictionary. The tooltip will show the term definition on mouse hover."
spec.homepage = "https://github.com/erikw/jekyll-glossary_tooltip/"
spec.license = "MIT"
spec.required_ruby_version = [">= 2.7", "< 4"]
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/erikw/jekyll-glossary_tooltip/"
spec.metadata["changelog_uri"] = "https://github.com/erikw/jekyll-glossary_tooltip/blob/main/CHANGELOG.md"
# 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 { |f| f.match(%r{\A(?:test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.add_dependency "jekyll", [">= 3.7", "< 5.0"]
end