diff options
Diffstat (limited to 'highline.gemspec')
-rw-r--r-- | highline.gemspec | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/highline.gemspec b/highline.gemspec index e3e0dda..fc8e7f5 100644 --- a/highline.gemspec +++ b/highline.gemspec @@ -1,35 +1,35 @@ # coding: utf-8 -lib = File.expand_path('../lib', __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'highline/version' - -GEM_VERSION = HighLine::VERSION -SPEC = Gem::Specification.new do |spec| - spec.name = "highline" - spec.version = GEM_VERSION - spec.platform = Gem::Platform::RUBY - spec.summary = "HighLine is a high-level command-line IO library." - spec.files = `git ls-files`.split("\n") - - spec.test_files = `git ls-files -- test/*.rb`.split("\n") - spec.has_rdoc = 'yard' - spec.extra_rdoc_files = %w[README.md TODO Changelog.md LICENSE] +lib = File.expand_path("../lib", __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require "highline/version" - spec.require_path = 'lib' +Gem::Specification.new do |spec| + spec.name = "highline" + spec.version = HighLine::VERSION + spec.author = "James Edward Gray II" + spec.email = "james@graysoftinc.com" - spec.author = "James Edward Gray II" - spec.email = "james@graysoftinc.com" - spec.rubyforge_project = "highline" - spec.homepage = "https://github.com/JEG2/highline" - spec.license = "Ruby" - spec.description = <<END_DESC + spec.summary = "HighLine is a high-level command-line IO library." + spec.description = <<DESCRIPTION A high-level IO library that provides validation, type conversion, and more for command-line interfaces. HighLine also includes a complete menu system that can crank out anything from simple list selection to complete shells with just minutes of work. -END_DESC +DESCRIPTION + spec.homepage = "https://github.com/JEG2/highline" + spec.license = "Ruby" + + spec.files = `git ls-files -z`.split("\x0").reject do |f| + f.match(%r{^(test|spec|features)/}) + end + spec.require_paths = ["lib"] + + spec.extra_rdoc_files = %w[README.md TODO Changelog.md LICENSE] + + spec.required_ruby_version = ">= 1.9.3" - spec.add_development_dependency "code_statistics" - spec.required_ruby_version = '>= 1.9.3' + spec.add_development_dependency "bundler" + spec.add_development_dependency "rake" + spec.add_development_dependency "minitest" end |