forked from Sorcery/sorcery
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsorcery.gemspec
More file actions
47 lines (40 loc) · 1.75 KB
/
sorcery.gemspec
File metadata and controls
47 lines (40 loc) · 1.75 KB
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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sorcery/version'
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 = [
'crypto@joshbuker.com'
]
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.metadata = { 'bug_tracker_uri' => 'https://github.com/Sorcery/sorcery/issues', 'changelog_uri' => 'https://github.com/Sorcery/sorcery/releases',
'rubygems_mfa_required' => 'true' }
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/main/lib/sorcery/providers'
s.files = Dir['lib/**/*'] + ['README.md', 'LICENSE.md', 'CHANGELOG.md']
s.require_paths = ['lib']
s.licenses = ['MIT']
s.required_ruby_version = '>= 3.2.0'
s.add_dependency 'bcrypt', '~> 3.1'
s.add_dependency 'oauth', '>= 0.6'
s.add_dependency 'oauth2', '~> 2.0'
s.add_dependency 'railties', '>= 7.1'
s.add_development_dependency 'byebug', '~> 11.1.3'
s.add_development_dependency 'rspec-rails'
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