npr.gemspec in npr-0.1.2 vs npr.gemspec in npr-1.1.0
- old
+ new
@@ -1,27 +1,27 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/npr/version', __FILE__)
-Gem::Specification.new do |gem|
- gem.authors = ["Bryan Ricker"]
- gem.email = ["bricker@scpr.org"]
- gem.description = %q{NPR (npr.org) is a news organization. This gem helps you pull NPR content with a nice Ruby DSL.}
- gem.summary = %q{A Ruby client for the NPR API}
- gem.homepage = "http://github.com/bricker/npr"
+Gem::Specification.new do |s|
+ s.name = "npr"
+ s.version = NPR::VERSION
+ s.authors = ["Bryan Ricker"]
+ s.email = ["bricker@scpr.org"]
+ s.description = %q{NPR (npr.org) is a news organization. This gem helps you pull NPR content with a nice Ruby DSL.}
+ s.summary = %q{A Ruby client for the NPR API}
+ s.homepage = "http://github.com/bricker/npr"
- gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.name = "npr"
- gem.require_paths = ["lib"]
- gem.version = NPR::VERSION
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.require_paths = ["lib"]
- gem.licenses = ['MIT']
+ s.licenses = ['MIT']
- gem.add_dependency 'faraday', ['>= 0.8.0']
- gem.add_dependency 'faraday_middleware', ['>= 0.9.0']
+ s.add_dependency 'faraday', '>= 0.8.0'
+ s.add_dependency 'faraday_middleware', '>= 0.9.0'
- gem.add_development_dependency 'bundler', ['>= 1.0.0']
- gem.add_development_dependency 'rake', ['>= 0']
- gem.add_development_dependency 'rspec', ['>= 0']
- gem.add_development_dependency 'fakeweb', ['>= 0']
+ s.add_development_dependency 'bundler', '>= 1.0.0'
+ s.add_development_dependency 'rake'
+ s.add_development_dependency 'rspec'
+ s.add_development_dependency 'fakeweb'
end