summaryrefslogtreecommitdiff
path: root/lib/ruby2_keywords.gemspec
blob: e2cd3975322eb89ecb90e758f099cfeabe024bff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
_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