-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjekyll_flexible_include_plugin.gemspec
42 lines (37 loc) · 1.75 KB
/
jekyll_flexible_include_plugin.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
require_relative 'lib/flexible_include/version'
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
github = 'https://github.com/mslinn/jekyll_flexible_include_plugin'
spec.authors = ['Mike Slinn', 'Tan Nhu', 'Maarten Brakkee']
spec.bindir = 'exe'
spec.description = <<~END_OF_DESC
Jekyll's built-in include tag only supports including files within the _includes folder.
This plugin supports 4 types of includes: absolute filenames,
filenames relative to the top-level directory of the Jekyll web site,
filenames relative to the user home directory,
and executable filenames on the PATH.
END_OF_DESC
spec.email = ['[email protected]']
spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
spec.homepage = 'https://www.mslinn.com/jekyll_plugins/jekyll_flexible_include.html'
spec.license = 'MIT'
spec.metadata = {
'allowed_push_host' => 'https://rubygems.org',
'bug_tracker_uri' => "#{github}/issues",
'changelog_uri' => "#{github}/CHANGELOG.md",
'homepage_uri' => spec.homepage,
'source_code_uri' => github,
}
spec.name = 'jekyll_flexible_include'
spec.post_install_message = <<~END_MESSAGE
Thanks for installing #{spec.name}!
END_MESSAGE
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.6.0'
spec.summary = 'Jekyll plugin supports various ways to include content into the generated site.'
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
spec.version = JekyllFlexibleIncludePluginVersion::VERSION
spec.add_dependency 'jekyll_from_to_until', '>= 1.0.5'
spec.add_dependency 'jekyll_plugin_support', '>= 1.0.3'
spec.add_dependency 'jekyll-sass-converter', '= 2.2.0'
spec.add_dependency 'rugged'
end