apple_id.gemspec in apple_id-0.0.0 vs apple_id.gemspec in apple_id-0.0.1
- old
+ new
@@ -1,29 +1,26 @@
-
-lib = File.expand_path("../lib", __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require "apple_id/version"
-
Gem::Specification.new do |spec|
- spec.name = "apple_id"
- spec.version = AppleID::VERSION
- spec.authors = ["nov"]
- spec.email = ["nov@matake.jp"]
+ spec.name = 'apple_id'
+ spec.version = File.read('VERSION')
+ spec.authors = ['nov']
+ spec.email = ['nov@matake.jp']
spec.summary = %q{Sign-in with Apple Backend}
spec.description = %q{Sign-in with Apple backend library in Ruby.}
- spec.homepage = "https://github.com/nov/apple_id"
- spec.license = "MIT"
+ spec.homepage = 'https://github.com/nov/apple_id'
+ spec.license = 'MIT'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
- spec.bindir = "exe"
+ spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
+ spec.require_paths = ['lib']
- spec.add_development_dependency "bundler", "~> 1.17"
- spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "rspec", "~> 3.0"
+ spec.add_runtime_dependency 'rack-oauth2', '~> 1.9.3'
+ spec.add_runtime_dependency 'openid_connect', '~> 1.0'
+ spec.add_development_dependency 'bundler', '~> 1.17'
+ spec.add_development_dependency 'rake', '~> 10.0'
+ spec.add_development_dependency 'rspec', '~> 3.0'
end