webrobots.gemspec in webrobots-0.0.13 vs webrobots.gemspec in webrobots-0.1.0

- old
+ new

@@ -1,68 +1,33 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "webrobots/version" Gem::Specification.new do |s| - s.name = "webrobots" - s.version = "0.0.13" + s.name = "webrobots" + s.version = Webrobots::VERSION + s.authors = ["Akinori MUSHA"] + s.email = ["knu@idaemons.org"] + s.homepage = %q{https://github.com/knu/webrobots} + s.licenses = [%q{2-clause BSDL}] + s.summary = %q{A Ruby library to help write robots.txt compliant web robots} + s.description = <<-'EOS' +This library helps write robots.txt compliant web robots in Ruby. + EOS - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Akinori MUSHA"] - s.date = "2012-01-24" - s.description = "This library helps write robots.txt compliant web robots in Ruby.\n" - s.email = "knu@idaemons.org" + s.files = `git ls-files`.split("\n") + s.test_files = s.files.grep(%r{/test_[^/]+\.rb$}) + s.executables = s.files.grep(%r{^bin/[^.]}).map{ |f| File.basename(f) } + s.require_paths = ["lib"] + s.extra_rdoc_files = [ "LICENSE.txt", "README.rdoc" ] - s.files = [ - ".document", - "Gemfile", - "Gemfile.lock", - "LICENSE.txt", - "README.rdoc", - "Rakefile", - "VERSION", - "lib/webrobots.rb", - "lib/webrobots/nokogiri.rb", - "lib/webrobots/robotstxt.rb", - "lib/webrobots/robotstxt.ry", - "test/helper.rb", - "test/test_webrobots.rb", - "webrobots.gemspec" - ] - s.homepage = "https://github.com/knu/webrobots" - s.licenses = ["2-clause BSDL"] - s.require_paths = ["lib"] - s.rubygems_version = "1.8.15" - s.summary = "A Ruby library to help write robots.txt compliant web robots" - if s.respond_to? :specification_version then - s.specification_version = 3 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<racc>, [">= 0"]) - s.add_development_dependency(%q<shoulda>, [">= 0"]) - s.add_development_dependency(%q<bundler>, [">= 1.0.0"]) - s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"]) - s.add_development_dependency(%q<rcov>, ["~> 0.9.11"]) - s.add_development_dependency(%q<nokogiri>, [">= 1.4.4"]) - else - s.add_dependency(%q<racc>, [">= 0"]) - s.add_dependency(%q<shoulda>, [">= 0"]) - s.add_dependency(%q<bundler>, [">= 1.0.0"]) - s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) - s.add_dependency(%q<rcov>, ["~> 0.9.11"]) - s.add_dependency(%q<nokogiri>, [">= 1.4.4"]) - end - else - s.add_dependency(%q<racc>, [">= 0"]) - s.add_dependency(%q<shoulda>, [">= 0"]) - s.add_dependency(%q<bundler>, [">= 1.0.0"]) - s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) - s.add_dependency(%q<rcov>, ["~> 0.9.11"]) - s.add_dependency(%q<nokogiri>, [">= 1.4.4"]) - end + s.add_development_dependency("rake", [">= 0.9.2.2"]) + s.add_development_dependency("racc", [">= 0"]) unless RUBY_PLATFORM == "java" + s.add_development_dependency("shoulda", [">= 0"]) + s.add_development_dependency("rdoc", ["> 2.4.2"]) + s.add_development_dependency("bundler", [">= 1.2"]) + s.add_development_dependency("nokogiri", [">= 1.4.4"]) end -