forked from lookitsatravis/api_guardian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi_guardian.gemspec
56 lines (50 loc) · 2.35 KB
/
api_guardian.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
51
52
53
54
55
56
# frozen_string_literal: true
$:.push File.expand_path('../lib', __FILE__)
# Maintain your gem's version:
require 'api_guardian/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = 'api_guardian'
s.version = ApiGuardian::VERSION
s.authors = ['Travis Vignon', 'Anton Visser']
s.email = ['[email protected]']
s.homepage = 'https://github.com/lookitsatravis/api_guardian'
s.license = 'MIT'
s.summary = 'Drop in authorization and authentication suite for Rails APIs.'
s.description = <<-DSC
Drop in authorization and authentication suite for Rails APIs. Features include
user registration, stateless authentication using OAuth2, roles and permissions,
password reset workflow, guest access, policy enforcement, JSON API serialization,
two-factor authentication support, and more. Designed to be extensable to
support any auth or registration strategies.
DSC
s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
s.test_files = Dir['spec/**/*']
s.required_ruby_version = '>= 2.5'
s.add_dependency 'rails', '>= 5.2', '< 7.1'
s.add_dependency 'active_model_otp', '~> 2'
s.add_dependency 'bcrypt', '~> 3.1'
s.add_dependency 'doorkeeper-grants_assertion', '~> 0.0.1'
s.add_dependency 'doorkeeper-jwt', '~> 0.2'
s.add_dependency 'doorkeeper', '~> 5'
s.add_dependency 'fast_jsonapi', '~> 1.5'
s.add_dependency 'kaminari', '~> 1'
s.add_dependency 'pg', '~> 1'
s.add_dependency 'phony', '~> 2'
s.add_dependency 'pundit', '~> 2'
s.add_dependency 'rack-cors', '~> 1'
s.add_dependency 'zxcvbn-js', '~> 4.2'
s.add_development_dependency 'database_cleaner', '~> 1.7'
s.add_development_dependency 'factory_bot_rails', '~> 5'
s.add_development_dependency 'faker', '~> 2'
s.add_development_dependency 'fuubar', '~> 2'
s.add_development_dependency 'generator_spec', '~> 0.9'
s.add_development_dependency 'rspec-activemodel-mocks', '~> 1.1'
s.add_development_dependency 'rspec-rails', '~> 3'
s.add_development_dependency 'rubocop', '~> 0.79'
s.add_development_dependency 'rubocop-performance', '~> 1'
s.add_development_dependency 'rubocop-rails', '~> 2'
s.add_development_dependency 'shoulda-matchers', '~> 4'
s.add_development_dependency 'simplecov', '~> 0.17'
s.add_development_dependency 'webmock', '~> 3'
end