-
Notifications
You must be signed in to change notification settings - Fork 2
/
sorcery.gemspec
50 lines (39 loc) · 1.47 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
50
# frozen_string_literal: true
# TODO: This isn't done yet. Just adding this so I don't forget about the meta
# gem.
version = File.read(File.expand_path('./SORCERY_VERSION', __dir__)).strip
repo_url = 'https://github.com/sorcery/sorcery'
Gem::Specification.new do |s|
s.version = version
s.platform = Gem::Platform::RUBY
s.name = 'sorcery'
s.summary = 'Magical Authentication'
s.description = 'Meta gem to ease transition to v1 for existing applications.'
# TODO: Sign the gem: https://guides.rubygems.org/security/#general
# TODO: Does including minimum rubygems version make sense?
s.required_ruby_version = '>= 3.0.0'
# s.required_rubygems_version = '>= 1.8.11'
s.license = 'MIT'
s.authors = [
'Noam Ben Ari',
'Kir Shatrov',
'Grzegorz Witek',
'Chase Gilliam',
'Josh Buker'
]
s.email = '[email protected]'
s.homepage = 'https://sorcerygem.org'
s.files = []
s.metadata = {
'bug_tracker_uri' => "#{repo_url}/issues",
'changelog_uri' => "#{repo_url}/releases/tag/v#{version}",
'documentation_uri' => "#{repo_url}/wiki",
'source_code_uri' => "#{repo_url}/tree/v#{version}",
'rubygems_mfa_required' => 'true'
}
s.add_dependency 'sorcery-core', version
s.add_dependency 'sorcery-oauth', version
# Because omniauth strat dependencies will be need to be added, might as well
# remove the hard requirement for bcrypt.
# s.add_dependency 'bcrypt', '~> 3.0'
end