-
Notifications
You must be signed in to change notification settings - Fork 0
/
jekyll_nth.gemspec
37 lines (32 loc) · 1.39 KB
/
jekyll_nth.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
require_relative 'lib/jekyll_nth/version'
Gem::Specification.new do |spec|
github = 'https://github.com/mslinn/jekyll_nth'
spec.authors = ['Mike Slinn']
spec.bindir = 'exe'
spec.description = <<~END_OF_DESC
Provides a Jekyll filter that enables access to the nth items of an array.
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_nth.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_nth'
spec.platform = Gem::Platform::RUBY
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 filter that enables access to the nth items of an array.'
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
spec.version = JekyllNthVersion::VERSION
spec.add_dependency 'jekyll', '>= 3.5.0'
spec.add_dependency 'jekyll_plugin_logger'
end