wordnik.gemspec in wordnik-0.0.2 vs wordnik.gemspec in wordnik-0.1.0

- old
+ new

@@ -1,32 +1,55 @@ +# 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 "wordnik/version" Gem::Specification.new do |s| - s.name = "wordnik" - s.version = Wordnik::VERSION - s.platform = Gem::Platform::RUBY - s.authors = ["Zeke Sikelianos", "John McGrath"] - s.email = ["zeke@wordnik.com", "john@wordnik.com"] - s.homepage = "http://developer.wordnik.com" - s.summary = %q{A ruby wrapper for the Wordnik API} - s.description = %q{This gem provides a simple interface to the entire Wordnik API. Its methods are defined by the documentation that comes from the API itself, so it's guaranteed to be up to date.} + s.name = %q{wordnik} + s.version = "0.1.0" - s.rubyforge_project = "wordnik" + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["Jason Adams"] + s.date = %q{2009-11-07} + s.description = %q{Ruby interface to the Wordnik API. Details at http://docs.wordnik.com/api/methods.} + s.email = %q{jasonmadams@gmail.com} + s.extra_rdoc_files = [ + "LICENSE", + "README.rdoc" + ] + s.files = [ + ".document", + ".gitignore", + "LICENSE", + "README.rdoc", + "Rakefile", + "VERSION", + "lib/wordnik.rb", + "lib/wordnik/word.rb", + "lib/wordnik/wordnik.rb", + "test/helper.rb", + "test/test_wordnik.rb" + ] + s.homepage = %q{http://github.com/ealdent/wordnik} + s.rdoc_options = ["--charset=UTF-8"] + s.require_paths = ["lib"] + s.rubygems_version = %q{1.3.5} + s.summary = %q{Ruby interface to the Wordnik API} + s.test_files = [ + "test/helper.rb", + "test/test_wordnik.rb" + ] - s.add_dependency 'typhoeus', '0.2.1' - s.add_dependency 'htmlentities', '4.2.4' - s.add_dependency 'addressable', '2.2.4' - s.add_dependency 'nokogiri', '1.4.4' - s.add_dependency 'activemodel', '3.0.3' - s.add_dependency 'json', '1.4.6' + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 - s.add_development_dependency 'rspec', '2.4.0' - s.add_development_dependency 'vcr', '1.5.1' - s.add_development_dependency 'webmock', '1.6.2' - - 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"] + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"]) + else + s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"]) + end + else + s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"]) + end end +