-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapi_authorization.gemspec
40 lines (32 loc) · 1.51 KB
/
api_authorization.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
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('lib', __dir__)
# Maintain your gem's version:
require 'api_authorization/version'
# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = 'api_authorization'
spec.version = ApiAuthorization::VERSION
spec.authors = ['Giovanni Panasiti', 'Azdren Ymeri']
spec.email = ['[email protected]', '[email protected]']
spec.homepage = 'https://montedelgallo.com/'
spec.summary = 'A multi role bassed authorization'
spec.description = 'Highly flexible authorization where a user can have more than 1 role with differen permissions.'
spec.license = 'MIT'
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "https://rubygems.org/"
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
'public gem pushes.'
end
spec.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
spec.executables = ['api_auth']
# spec.add_dependency 'activesupport'
spec.add_dependency 'rails', '~> 6.0.3', '>= 6.0.3.2'
# spec.add_dependency 'rake', '~> 13.0', '>= 13.0.1'
spec.add_dependency 'thor'
spec.add_dependency 'rails_admin', '~> 2.0'
spec.add_development_dependency 'sqlite3'
# spec.add_dependency 'byebug'
end