| 1 |
Gem::Specification.new do |spec| |
| 2 |
spec.name = "english" |
| 3 |
spec.version = "0.8.0" |
| 4 |
spec.authors = ["Yukihiro Matsumoto"] |
| 5 |
spec.email = ["[email protected]"] |
| 6 |
|
| 7 |
spec.summary = %q{Require 'English.rb' to reference global variables with less cryptic names.} |
| 8 |
spec.description = %q{Require 'English.rb' to reference global variables with less cryptic names.} |
| 9 |
spec.homepage = "https://github.com/ruby/English" |
| 10 |
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") |
| 11 |
spec.licenses = ["Ruby", "BSD-2-Clause"] |
| 12 |
|
| 13 |
spec.metadata["homepage_uri"] = spec.homepage |
| 14 |
spec.metadata["source_code_uri"] = spec.homepage |
| 15 |
|
| 16 |
# Specify which files should be added to the gem when it is released. |
| 17 |
# The `git ls-files -z` loads the files in the RubyGem that have been added into git. |
| 18 |
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do |
| 19 |
`git ls-files -z 2>#{IO::NULL}`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } |
| 20 |
end |
| 21 |
spec.require_paths = ["lib"] |
| 22 |
end |