2021-07-16 00:50:15 -04:00
|
|
|
_VERSION = "0.0.5"
|
|
|
|
abort "Version must not reach 1" if _VERSION[/\d+/].to_i >= 1
|
|
|
|
|
2021-01-18 10:12:46 -05:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "ruby2_keywords"
|
2021-07-16 00:50:15 -04:00
|
|
|
s.version = _VERSION
|
2021-01-18 10:12:46 -05:00
|
|
|
s.summary = "Shim library for Module#ruby2_keywords"
|
|
|
|
s.homepage = "https://github.com/ruby/ruby2_keywords"
|
|
|
|
s.licenses = ["Ruby", "BSD-2-Clause"]
|
|
|
|
s.authors = ["Nobuyoshi Nakada"]
|
2021-07-16 00:50:15 -04:00
|
|
|
s.require_paths = ["lib"]
|
|
|
|
s.rdoc_options = ["--main", "README.md"]
|
|
|
|
s.extra_rdoc_files = [
|
|
|
|
"LICENSE",
|
|
|
|
"README.md",
|
|
|
|
"ChangeLog",
|
|
|
|
*Dir.glob("#{__dir__}/logs/ChangeLog-*[^~]").map {|path| path[(__dir__.size+1)..-1]},
|
|
|
|
]
|
|
|
|
s.files = [
|
|
|
|
"lib/ruby2_keywords.rb",
|
|
|
|
]
|
|
|
|
s.required_ruby_version = '>= 2.0.0'
|
2021-01-18 10:12:46 -05:00
|
|
|
end
|