term-extraction.gemspec in term-extraction-1.0.0 vs term-extraction.gemspec in term-extraction-1.0.1

- old
+ new

@@ -1,66 +1,43 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- Gem::Specification.new do |s| - s.name = "term-extraction" - s.version = "1.0.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["alex"] - s.date = "2013-09-13" - s.description = "Term extraction library" - s.email = "alexrabarts@gmail.com" - s.extra_rdoc_files = [ - "LICENSE", - "README.rdoc" - ] - s.files = [ - "Gemfile", - "Gemfile.lock", - "LICENSE", - "README.rdoc", - "Rakefile", - "VERSION.yml", - "lib/term_extraction.rb", - "lib/term_extraction/yahoo.rb", - "lib/term_extraction/zemanta.rb", - "term-extraction.gemspec", - "test/fixtures/yahoo.xml", - "test/fixtures/yahoo2.xml", - "test/fixtures/zemanta.xml", - "test/fixtures/zemanta2.xml", - "test/term_extraction_test.rb", - "test/test_helper.rb" - ] - s.homepage = "http://github.com/alexrabarts/term_extraction" - s.require_paths = ["lib"] - s.rubygems_version = "1.8.25" + s.name = 'term-extraction' + s.version = File.read('VERSION').strip + s.authors = ["Alex Rabarts"] + s.description = "Provides access to term extraction APIs such as Yahoo! Term Extraction API and + Zemanta." s.summary = "Provides access to term extraction APIs such as Yahoo! Term Extraction API and Zemanta." + s.homepage = %q{http://github.com/alexrabarts/term_extraction} + s.email = 'alexrabarts@gmail.com' + s.extra_rdoc_files = ['README.rdoc'] + 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.rdoc_options = ['--charset=UTF-8'] + s.require_paths = ['lib'] + ['bundler', 'shoulda', 'mocha'].each do |gem| + s.add_development_dependency *gem.split(' ') + end + 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_runtime_dependency(%q<rake>, [">= 0"]) - s.add_runtime_dependency(%q<rdoc>, [">= 0"]) - s.add_runtime_dependency(%q<nokogiri>, [">= 1.0.7"]) - s.add_runtime_dependency(%q<addressable>, [">= 0"]) - s.add_development_dependency(%q<jeweler>, [">= 0"]) + s.add_runtime_dependency('rake', ['>= 0']) + s.add_runtime_dependency('rdoc', ['>= 0']) + s.add_runtime_dependency('nokogiri', ['>= 1.0.7']) + s.add_runtime_dependency('addressable', ['>= 0']) else - s.add_dependency(%q<rake>, [">= 0"]) - s.add_dependency(%q<rdoc>, [">= 0"]) - s.add_dependency(%q<nokogiri>, [">= 1.0.7"]) - s.add_dependency(%q<addressable>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) + s.add_dependency('rake', ['>= 0']) + s.add_dependency('rdoc', ['>= 0']) + s.add_dependency('nokogiri', ['>= 1.0.7']) + s.add_dependency('addressable', ['>= 0']) end else - s.add_dependency(%q<rake>, [">= 0"]) - s.add_dependency(%q<rdoc>, [">= 0"]) - s.add_dependency(%q<nokogiri>, [">= 1.0.7"]) - s.add_dependency(%q<addressable>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) + s.add_dependency('rake', ['>= 0']) + s.add_dependency('rdoc', ['>= 0']) + s.add_dependency('nokogiri', ['>= 1.0.7']) + s.add_dependency('addressable', ['>= 0']) end end -