| 1 |
_VERSION = "0.0.5" |
| 2 |
abort "Version must not reach 1" if _VERSION[/\d+/].to_i >= 1 |
| 3 |
|
| 4 |
Gem::Specification.new do |s| |
| 5 |
s.name = "ruby2_keywords" |
| 6 |
s.version = _VERSION |
| 7 |
s.summary = "Shim library for Module#ruby2_keywords" |
| 8 |
s.homepage = "https://github.com/ruby/ruby2_keywords" |
| 9 |
s.licenses = ["Ruby", "BSD-2-Clause"] |
| 10 |
s.authors = ["Nobuyoshi Nakada"] |
| 11 |
s.require_paths = ["lib"] |
| 12 |
s.rdoc_options = ["--main", "README.md"] |
| 13 |
s.extra_rdoc_files = [ |
| 14 |
"LICENSE", |
| 15 |
"README.md", |
| 16 |
"ChangeLog", |
| 17 |
*Dir.glob("#{__dir__}/logs/ChangeLog-*[^~]").map {|path| path[(__dir__.size+1)..-1]}, |
| 18 |
] |
| 19 |
s.files = [ |
| 20 |
"lib/ruby2_keywords.rb", |
| 21 |
] |
| 22 |
s.required_ruby_version = '>= 2.0.0' |
| 23 |
end |