active_admin_basic_authorization_adapter 0.0.33 → 0.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27f834eec05025b47239d305055cb23d4f0404346737d3afeb604d39eb838f8f
4
- data.tar.gz: a63c7b485acc15077b6f6e5aea3eb942f7019e82fd2b275de8fe8bd101afc37a
3
+ metadata.gz: 6348adf0bef9d3a8b7deb21b2ea2626623e7306c44d3eed346e738816db07a71
4
+ data.tar.gz: 675d6c1b8650eb5fb6706102ea3d02bb75cb06cd779c6e0ac22b2411bd7b90bd
5
5
  SHA512:
6
- metadata.gz: ff03bebb8e7505c6886c2c33a1bb64839162b047de6357ada635bcab16260fb47864859c11c07f01e962c26cae55b8b9bc99b4feb0593882dccd61b4a17e59b4
7
- data.tar.gz: d81f7e10e75cc6be485c68096db7a7d1c14959694afb0df2d0067c936c7e686e42939ec2599a4bf7cefa769448e91d8513de08387cd8485d50d6bf97ce3be094
6
+ metadata.gz: 862df7d903b95cd635f6a4a9f9abe10cd68463693f0938e37744c917206f10a437150782b76dc9edfcc809c30fb216a2dc712fdf9438053ff6fc9dd522369c0f
7
+ data.tar.gz: 7b3da5337a899a1aa66f699843049b0075f827e6019a0b52116cb262f8f3e26df68d7ecb5b6fe04aee138c8d5d719388c1757f10342eac83fefce9e3a9dff1a0
@@ -11,6 +11,7 @@ module BasicAdminAuthorization
11
11
 
12
12
  create_file "app/admin/authorizations/#{file_name}_authorization.rb", <<~FILE
13
13
  # frozen_string_literal: true
14
+ # require 'admin/authorizations/default_authorization'
14
15
 
15
16
  module ActiveAdmin
16
17
  module Authorizations
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.34
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