Add dependency to Canaid, the permission helper library

This commit is contained in:
Luka Murn 2017-11-16 15:49:13 +01:00
parent fe128dc53b
commit ccef5571f1
3 changed files with 17 additions and 0 deletions

View file

@ -86,6 +86,9 @@ gem 'devise_security_extension',
git: 'https://github.com/phatworx/devise_security_extension.git',
ref: 'b2ee978'
# Permission helper Gem
gem 'canaid', git: 'https://github.com/biosistemika/canaid', branch: 'master'
group :development, :test do
gem 'listen', '~> 3.0'
gem 'byebug'

View file

@ -1,3 +1,12 @@
GIT
remote: https://github.com/biosistemika/canaid
revision: a3dd029bf993767a1e11e2e3f71aea2e6d427476
branch: master
specs:
canaid (0.0.1)
devise (>= 3.4.1)
rails (>= 4)
GIT
remote: https://github.com/biosistemika/jquery-scrollto-rails
revision: d1d40d5334e0bccfc64208ba81b9a7792f6cb591
@ -515,6 +524,7 @@ DEPENDENCIES
bootstrap_form
bullet
byebug
canaid!
capybara
capybara-email
commit_param_routing

View file

@ -0,0 +1,4 @@
Canaid.configure do |config|
config.permissions_paths << 'app/permissions/**/*.rb'
config.permissions_paths << 'addons/**/app/permissions/**/*.rb'
end