ruby/lib/ruby2_keywords.gemspec

24 строки
678 B
Ruby
Исходник Обычный вид История

_VERSION = "0.0.5"
abort "Version must not reach 1" if _VERSION[/\d+/].to_i >= 1
Gem::Specification.new do |s|
s.name = "ruby2_keywords"
s.version = _VERSION
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"]
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'
end