active_admin_basic_authorization_adapter 0.0.33 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27f834eec05025b47239d305055cb23d4f0404346737d3afeb604d39eb838f8f
4
- data.tar.gz: a63c7b485acc15077b6f6e5aea3eb942f7019e82fd2b275de8fe8bd101afc37a
3
+ metadata.gz: ed38fd9a9104e414b9634827cb3aa050b2c9bcc0861855e45b2f8252f22ec613
4
+ data.tar.gz: 37062a8f20d56957dcccb18f483ad05dcab8d49bc6fdb15600fea6769df10c24
5
5
  SHA512:
6
- metadata.gz: ff03bebb8e7505c6886c2c33a1bb64839162b047de6357ada635bcab16260fb47864859c11c07f01e962c26cae55b8b9bc99b4feb0593882dccd61b4a17e59b4
7
- data.tar.gz: d81f7e10e75cc6be485c68096db7a7d1c14959694afb0df2d0067c936c7e686e42939ec2599a4bf7cefa769448e91d8513de08387cd8485d50d6bf97ce3be094
6
+ metadata.gz: f84495cd929851be6ff88a1ebeab8a2f6b8be528fbdb59e0845c12110e9a825d32a6ba67ac0352f389b7d3279c6441e8b67d939a48ccf880b1379c58a1617376
7
+ data.tar.gz: 219cb6c8e89d096c75ea7bda7ae0b40fd02387e482bff813baef3e1d132ceb033cb5c6b85026777d024ef82172771df9812107e7152f406ea2a44275d801aaf2
@@ -12,6 +12,8 @@ module BasicAdminAuthorization
12
12
  create_file "app/admin/authorizations/#{file_name}_authorization.rb", <<~FILE
13
13
  # frozen_string_literal: true
14
14
 
15
+ # require_relative './default_authorization'
16
+
15
17
  module ActiveAdmin
16
18
  module Authorizations
17
19
  class #{class_name}Authorization < DefaultAuthorization
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_basic_authorization_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rémi Wallaere
@@ -117,7 +117,6 @@ executables: []
117
117
  extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
- - lib/active_admin/authorizations/default_authorization.rb
121
120
  - lib/active_admin_basic_authorization_adapter.rb
122
121
  - lib/generators/basic_admin_authorization/authorization/USAGE
123
122
  - lib/generators/basic_admin_authorization/authorization/authorization_generator.rb
@@ -1,28 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ActiveAdmin
4
- module Authorizations
5
- class DefaultAuthorization
6
- def initialize(user, record = nil)
7
- @user = user
8
- @record = record
9
- end
10
-
11
- def read
12
- true
13
- end
14
-
15
- def create
16
- true
17
- end
18
-
19
- def update
20
- true
21
- end
22
-
23
- def destroy
24
- true
25
- end
26
- end
27
- end
28
- end