capgun.gemspec in capgun-0.0.1 vs capgun.gemspec in capgun-0.0.3

- old
+ new

@@ -1,23 +1,34 @@ $:.unshift File.expand_path("../lib", __FILE__) require "capgun/version" -Gem::Specification.new do |s| - s.name = "capgun" - s.version = Capgun::VERSION::STRING - s.platform = Gem::Platform::RUBY - s.authors = ["Mike Mondragon"] - s.email = ["mikemondragon@gmail.com"] - s.homepage = "http://capgun.io/" - s.summary = "Ruby API to capgun.io web thumb service" - s.description = "Ruby API to capgun.io web thumb service" +Gem::Specification.new do |gem| - s.rubyforge_project = "capgun" - s.rubygems_version = ">= 1.3.6" + gem.add_dependency 'activesupport', ['>= 2.3.9', '< 4'] + gem.add_dependency 'faraday', '~> 0.8' + gem.add_dependency 'json', '~> 1.6.6' + gem.add_dependency 'multi_json', '~> 1.3' - s.add_development_dependency "rspect" + gem.add_development_dependency "rake" + gem.add_development_dependency "rspec" + gem.add_development_dependency 'simplecov' + gem.add_development_dependency 'webmock' + gem.add_development_dependency 'yard' - s.files = `git ls-files`.split("\n") - s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact - s.require_path = 'lib' -end + gem.name = "capgun" + gem.version = Capgun::Version.to_s + gem.platform = Gem::Platform::RUBY + gem.authors = ["Mike Mondragon"] + gem.email = ["mikemondragon@gmail.com"] + gem.homepage = "http://capgun.io/" + gem.summary = "capgun.io API wrapper" + gem.description = "Ruby wrapper for the capgun.io web thumb service API" + gem.rubyforge_project = "capgun" + gem.rubygems_version = ">= 1.3.6" + + gem.files = `git ls-files`.split("\n") + gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)} + gem.require_path = 'lib' + + gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") +end