ae_declarative_authorization 2.3.1 → 2.4.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ace42195ed830d637916ab21f3680b2cf564568b5dc4a47cde0337d3e29cf138
|
|
4
|
+
data.tar.gz: d298ca619546e43f95f4441d42aae0515d1297d4d9225af5e4e5e6fe6568f521
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9127d7d0c38492fc59dca93560fb6d274127b5a9680649dbf0de658ca7b615d307ac5a27e16b76b1d8448c2f12e16281921212ee32647a2bfb5301e2ab1835b8
|
|
7
|
+
data.tar.gz: ff6194b8cab88796a50de17efe5123cc814056cbd39f0aff784a5d70c9e0b514ad4d5c4fa454ba5a1d830987a071b86119920968ac1923fd5a2f1b6ca16aa42a
|
data/LICENSE.txt
CHANGED
|
@@ -12,10 +12,10 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.summary = spec.description
|
|
13
13
|
spec.homepage = 'https://github.com/appfolio/ae_declarative_authorization'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
|
-
spec.files = Dir['**/*'].select { |f| f[%r{^(lib/|LICENSE.txt
|
|
15
|
+
spec.files = Dir['**/*'].select { |f| f[%r{^(lib/|LICENSE.txt|declarative_authorization\.gemspec|README.md|rubocop-decl-auth.yml)}] }
|
|
16
16
|
spec.require_paths = ['lib']
|
|
17
17
|
|
|
18
|
-
spec.required_ruby_version = Gem::Requirement.new('<
|
|
18
|
+
spec.required_ruby_version = Gem::Requirement.new('< 4.1')
|
|
19
19
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
20
20
|
|
|
21
21
|
spec.add_dependency('blockenspiel', ['>= 0.5', '< 1'])
|
|
@@ -202,7 +202,7 @@ module Authorization
|
|
|
202
202
|
collections = actions_from_option(options[:collection]).merge(
|
|
203
203
|
actions_from_option(options[:additional_collection]))
|
|
204
204
|
|
|
205
|
-
no_attribute_check_actions = options[:strong_parameters] ?
|
|
205
|
+
no_attribute_check_actions = options[:strong_parameters] ? collections.merge(actions_from_option([:create])) : collections
|
|
206
206
|
|
|
207
207
|
options[:no_attribute_check] ||= no_attribute_check_actions.keys unless options[:nested_in]
|
|
208
208
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ae_declarative_authorization
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AppFolio
|
|
@@ -92,14 +92,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
92
92
|
requirements:
|
|
93
93
|
- - "<"
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '
|
|
95
|
+
version: '4.1'
|
|
96
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
requirements:
|
|
98
98
|
- - ">="
|
|
99
99
|
- !ruby/object:Gem::Version
|
|
100
100
|
version: '0'
|
|
101
101
|
requirements: []
|
|
102
|
-
rubygems_version:
|
|
102
|
+
rubygems_version: 4.0.7
|
|
103
103
|
specification_version: 4
|
|
104
104
|
summary: Rails gem for maintainable authorization based on readable authorization
|
|
105
105
|
rules.
|