forked from Sorcery/sorcery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sorcery.gemspec
49 lines (42 loc) · 1.79 KB
/
sorcery.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sorcery/version'
# rubocop:disable Metrics/BlockLength
Gem::Specification.new do |s|
s.name = 'sorcery'
s.version = Sorcery::VERSION
s.authors = [
'Noam Ben Ari',
'Kir Shatrov',
'Grzegorz Witek',
'Chase Gilliam',
'Josh Buker'
]
s.email = [
]
# TODO: Cleanup formatting.
# rubocop:disable Layout/LineLength
s.description = 'Provides common authentication needs such as signing in/out, activating by email and resetting password.'
s.summary = 'Magical authentication for Rails applications'
s.homepage = 'https://github.com/Sorcery/sorcery'
s.post_install_message = "As of version 1.0 oauth/oauth2 won't be automatically bundled so you may need to add those dependencies to your Gemfile.\n"
s.post_install_message += 'You may need oauth2 if you use external providers such as any of these: https://github.com/Sorcery/sorcery/tree/master/lib/sorcery/providers'
# rubocop:enable Layout/LineLength
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
s.require_paths = ['lib']
s.licenses = ['MIT']
s.required_ruby_version = '>= 2.4.9'
s.add_dependency 'bcrypt', '~> 3.1'
s.add_dependency 'oauth', '~> 0.5', '>= 0.5.5'
s.add_dependency 'oauth2', '~> 1.0', '>= 0.8.0'
s.add_development_dependency 'byebug', '~> 10.0.0'
s.add_development_dependency 'rspec-rails', '~> 3.7.0'
s.add_development_dependency 'rubocop'
s.add_development_dependency 'simplecov', '>= 0.3.8'
s.add_development_dependency 'test-unit', '~> 3.2.0'
s.add_development_dependency 'timecop'
s.add_development_dependency 'webmock', '~> 3.3.0'
s.add_development_dependency 'yard', '~> 0.9.0', '>= 0.9.12'
end
# rubocop:enable Metrics/BlockLength