omniauth-infinum.gemspec in omniauth-infinum-0.9.9 vs omniauth-infinum.gemspec in omniauth-infinum-0.10.0
- old
+ new
@@ -1,23 +1,25 @@
-require File.expand_path('../lib/omniauth-infinum/version', __FILE__)
+# coding: utf-8
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'omniauth/infinum/version'
-Gem::Specification.new do |gem|
- gem.authors = ["Tomislav Car"]
- gem.email = ["tomislav@infinum.hr"]
- gem.description = %q{Official OmniAuth strategy for Infinum.}
- gem.summary = %q{Official OmniAuth strategy for Infinum.}
- gem.homepage = "https://infinum.codebasehq.com/projects/infinum-accounts/repositories/omniauth-infinum"
+Gem::Specification.new do |spec|
+ spec.name = "omniauth-infinum"
+ spec.version = OmniAuth::Infinum::VERSION
+ spec.authors = ["Tomislav Car"]
+ spec.email = ["tomislav@infinum.hr"]
+ spec.summary = %q{OmniAuth strategy for Infinum.}
+ spec.description = %q{Official OmniAuth strategy for Infinum.}
+ spec.homepage = "http://www.infinum.co"
+ spec.license = "MIT"
- 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 = "omniauth-infinum"
- gem.require_paths = ["lib"]
- gem.version = OmniAuth::Infinum::VERSION
+ spec.files = `git ls-files -z`.split("\x0")
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
+ spec.require_paths = ["lib"]
- gem.add_dependency 'omniauth', '~> 1.0'
- gem.add_dependency 'omniauth-oauth2', '~> 1.1'
- #gem.add_development_dependency 'rspec', '~> 2.7'
- #gem.add_development_dependency 'rack-test'
- #gem.add_development_dependency 'simplecov'
- #gem.add_development_dependency 'webmock'
-end
\ No newline at end of file
+ spec.required_ruby_version = '~> 2.0'
+ spec.add_runtime_dependency 'omniauth-oauth2', '~> 1.1'
+ spec.add_development_dependency "bundler", "~> 1.6"
+ spec.add_development_dependency "rake", '~> 10.3'
+end