PageRankr.gemspec in PageRankr-1.5.1 vs PageRankr.gemspec in PageRankr-1.6.0

- old
+ new

@@ -1,42 +1,26 @@ require File.expand_path("../lib/page_rankr/version", __FILE__) Gem::Specification.new do |s| - s.name = %q{PageRankr} - s.version = PageRankr::VERSION + s.name = "PageRankr" + s.version = PageRankr::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["Allen Madsen"] + s.email = ["blatyo@gmail.com"] + s.homepage = "http://github.com/blatyo/page_rankr" + s.summary = "Easy way to retrieve Google Page Rank, Alexa Rank, and backlink counts" + s.description = "Easy way to retrieve Google Page Rank, Alexa Rank, and backlink counts" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Allen Madsen"] - s.date = %q{2010-07-07} - s.description = %q{Easy way to retrieve Google Page Rank, Alexa Rank, and backlink counts} - s.email = %q{blatyo@gmail.com} - s.extra_rdoc_files = [ - "LICENSE.md", - "README.md" - ] - - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files`.split("\n").map{|f| f =~ /^spec\/(.*)/ ? $1 : nil}.compact - s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact - s.homepage = %q{http://github.com/blatyo/page_rankr} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.5.0} - s.summary = %q{Easy way to retrieve Google Page Rank, Alexa Rank, and backlink counts} + s.required_rubygems_version = ">= 1.3.6" + s.add_development_dependency "rspec", "~> 2.1.0" + s.add_development_dependency "bundler", ">= 1.0.0" + s.add_development_dependency "fuubar", ">= 0.0.1" - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.add_runtime_dependency "nokogiri", ">= 1.4.1" + s.add_runtime_dependency "json", ">= 1.4.6" - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<nokogiri>, [">= 1.4.1"]) - s.add_runtime_dependency(%q<json>, [">= 1.4.6"]) - else - s.add_dependency(%q<nokogiri>, [">= 1.4.1"]) - s.add_dependency(%q<json>, [">= 1.4.6"]) - end - else - s.add_dependency(%q<nokogiri>, [">= 1.4.1"]) - s.add_dependency(%q<json>, [">= 1.4.6"]) - end + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact + s.require_paths = ["lib"] end