octonore.gemspec in octonore-0.0.3 vs octonore.gemspec in octonore-1.0.0

- old
+ new

@@ -1,20 +1,27 @@ -Gem::Specification.new do |s| - s.name = 'octonore' - s.version = '0.0.3' - s.date = '2013-05-23' - s.summary = 'Wrapper around the Github gitignore template API.' - s.description = 'An octolicious wrapper around the Github gitignore template - API.' - s.license = 'MIT' +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'octonore/version' +Gem::Specification.new do |s| s.authors = ['Zach Latta'] s.email = 'zchlatta@gmail.com' s.homepage = 'http://rubygems.org/gems/octonore' + s.name = 'octonore' + s.version = Octonore::VERSION + s.date = '2013-05-30' + s.summary = 'An octolicious wrapper around the Gitignore Templates + API.' + s.description = s.summary + + s.license = 'MIT' + s.add_development_dependency 'bundler', '~> 1.0' + s.add_dependency 'httparty', '~> 0.11.0' + 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