postrank-api.gemspec in postrank-api-0.2.0 vs postrank-api.gemspec in postrank-api-0.4.0

- old
+ new

@@ -1,63 +1,30 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "postrank-api/version" Gem::Specification.new do |s| - s.name = %q{postrank-api} - s.version = "0.2.0" + s.name = "postrank-api" + s.version = PostRank::API::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["Ilya Grigorik"] + s.email = ["ilya@igvita.com"] + s.homepage = "http://github.com/postrank-labs/postrank-api" + s.summary = "Ruby 1.9 PostRank API Wrapper" + s.description = s.summary - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Ilya Grigorik"] - s.date = %q{2010-12-15} - s.description = %q{PostRank API Wrapper} - s.email = %q{ilya@igvita.com} - s.extra_rdoc_files = [ - "README.md" - ] - s.files = [ - "README.md", - "Rakefile", - "VERSION", - "lib/postrank-api.rb", - "lib/postrank-api/api.rb", - "postrank-api.gemspec", - "spec/api_spec.rb" - ] - s.homepage = %q{http://github.com/postrank/postrank-api} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.required_ruby_version = Gem::Requirement.new(">= 1.9.1") - s.rubyforge_project = %q{postrank-api} - s.rubygems_version = %q{1.3.7} - s.summary = %q{PostRank API Wrapper} - s.test_files = [ - "spec/api_spec.rb" - ] + s.rubyforge_project = "postrank-api" - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.add_dependency "postrank-uri" + s.add_dependency "eventmachine" + s.add_dependency "em-http-request" + s.add_dependency "em-synchrony" + s.add_dependency "yajl-ruby" + s.add_dependency "chronic" - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.9"]) - s.add_runtime_dependency(%q<em-http-request>, [">= 0"]) - s.add_runtime_dependency(%q<em-synchrony>, [">= 0"]) - s.add_runtime_dependency(%q<yajl-ruby>, [">= 0"]) - s.add_runtime_dependency(%q<chronic>, [">= 0"]) - else - s.add_dependency(%q<eventmachine>, [">= 0.12.9"]) - s.add_dependency(%q<em-http-request>, [">= 0"]) - s.add_dependency(%q<em-synchrony>, [">= 0"]) - s.add_dependency(%q<yajl-ruby>, [">= 0"]) - s.add_dependency(%q<chronic>, [">= 0"]) - end - else - s.add_dependency(%q<eventmachine>, [">= 0.12.9"]) - s.add_dependency(%q<em-http-request>, [">= 0"]) - s.add_dependency(%q<em-synchrony>, [">= 0"]) - s.add_dependency(%q<yajl-ruby>, [">= 0"]) - s.add_dependency(%q<chronic>, [">= 0"]) - end -end + s.add_development_dependency "rspec" + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] +end \ No newline at end of file