omniauth-surveymonkey.gemspec in omniauth-surveymonkey-1.0.0 vs omniauth-surveymonkey.gemspec in omniauth-surveymonkey-2.0.0

- old
+ new

@@ -1,23 +1,28 @@ -require File.expand_path('../lib/omniauth/surveymonkey/version', __FILE__) +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'omniauth-surveymonkey/omniauth-surveymonkey/version' -Gem::Specification.new do |gem| - gem.add_dependency 'omniauth', '~> 1.0' +Gem::Specification.new do |spec| + spec.name = 'omniauth-surveymonkey' + spec.version = OmniAuth::SurveyMonkey::VERSION + spec.authors = ['Jordan McKible'] + spec.email = ['jordanm@surveymonkey.com'] - gem.authors = ["Kaushik SV"] - gem.email = ["speak2kaushik@gmail.com"] - gem.description = %q{Survemonkey OAuth2 strategy for OmniAuth 1.0} - gem.summary = %q{Survemonkey OAuth2 strategy for OmniAuth 1.0.} + spec.summary = 'OmniAuth strategy for the SurveyMonkey developer API' + spec.homepage = 'https://github.com/techvalidate/omniauth-surveymonkey' + spec.license = 'MIT' + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.bindir = 'exe' + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ['lib'] - gem.files = `git ls-files`.split("\n") - gem.test_files = `git ls-files spec/*`.split("\n") - gem.name = "omniauth-surveymonkey" - gem.require_paths = ["lib"] - gem.version = OmniAuth::Surveymonkey::VERSION - gem.homepage = "https://github.com/kaushiksv/omniauth-surveymonkey" + spec.add_dependency 'omniauth', '~> 1.0' + spec.add_dependency 'faraday', '~> 0.9' + spec.add_dependency 'multi_json', '~> 1.12' - gem.add_runtime_dependency 'omniauth-oauth2' - - gem.add_development_dependency 'rspec', '~> 1.3.1' - gem.add_development_dependency 'rake' -end \ No newline at end of file + spec.add_development_dependency 'bundler', '~> 1.11' + spec.add_development_dependency 'rake', '~> 10.0' + spec.add_development_dependency 'rspec', '~> 3.0' +end