This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
require_relative 'lib/jekyll_download_link/version'
|
||||
|
||||
Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
||||
github = 'https://github.com/mslinn/jekyll_download_link'
|
||||
|
||||
spec.authors = ['Mike Slinn']
|
||||
spec.bindir = 'exe'
|
||||
spec.description = <<~END_OF_DESC
|
||||
Provides a Jekyll tag that generates an href to a file for the user to download, plus human-friendly filesize.
|
||||
END_OF_DESC
|
||||
spec.email = ['mslinn@mslinn.com']
|
||||
spec.files = Dir['.rubocop.yml', 'LICENSE.*', 'Rakefile', '{lib,spec}/**/*', '*.gemspec', '*.md']
|
||||
spec.homepage = 'https://www.mslinn.com/jekyll_plugins/jekyll_download_link.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_download_link'
|
||||
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 = 'Provides a Jekyll tag that generates an href to a file for the user to download, plus human-friendly filesize.'
|
||||
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
|
||||
spec.version = JekyllDownloadLinkVersion::VERSION
|
||||
|
||||
spec.add_dependency 'jekyll', '>= 4.3.3'
|
||||
spec.add_dependency 'jekyll_plugin_support', '>= 1.0.0'
|
||||
end
|
||||
Reference in New Issue
Block a user