pwhois.gemspec in pwhois-1.0.1 vs pwhois.gemspec in pwhois-1.1.0

- old
+ new

@@ -1,15 +1,25 @@ # coding: utf-8 +require File.expand_path('../lib/pwhois/version', __FILE__) + Gem::Specification.new do |spec| spec.name = "pwhois" - spec.version = "1.0.1" + spec.version = Pwhois::VERSION spec.authors = ["Seth Wright"] spec.email = ["seth@crosse.org"] - spec.summary = %q{Parse whois results and display them in a coherent style.} + spec.summary = %q{A WHOIS client that provides consistent and coherent results.} + spec.description = <<-EOF + pwhois is a small command-line utility that takes advantage of the + whois module to parse WHOIS results and display them in a + consistent, coherent style. + EOF spec.homepage = "https://github.com/Crosse/pwhois" spec.license = "ISC" - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - spec.executables = ["pwhois"] - spec.add_runtime_dependency "whois" + spec.files = `git ls-files`.split($\) + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) } + + spec.require_paths = ["lib"] + spec.add_runtime_dependency 'whois', '~>3.6' end