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: d48feceb3557edc83090bde5cc134402ccd1aa879482e126cc38c0bc32618773
4
- data.tar.gz: db4fea2e76369d625965842d4b47c5f4a192023de3530e3abe5880e573e20c37
3
+ metadata.gz: ace42195ed830d637916ab21f3680b2cf564568b5dc4a47cde0337d3e29cf138
4
+ data.tar.gz: d298ca619546e43f95f4441d42aae0515d1297d4d9225af5e4e5e6fe6568f521
5
5
  SHA512:
6
- metadata.gz: f58364fc40bd34c86a41dd42179520e4be8fdd275915e20f1d96b7a101424048c348a2b6f86d6b2fe7cfb52d267a0504b06b6afcdd3980d98784d8d31f916858
7
- data.tar.gz: 5856fbb3162520b104e21e4aaa0c582f9a86b3f6f5299b0c1831c3038b5c27231eb6dc7db25a541c3e5f6883b5cbc5386e7109dbf4e7afd124e189fecf79ca0a
6
+ metadata.gz: 9127d7d0c38492fc59dca93560fb6d274127b5a9680649dbf0de658ca7b615d307ac5a27e16b76b1d8448c2f12e16281921212ee32647a2bfb5301e2ab1835b8
7
+ data.tar.gz: ff6194b8cab88796a50de17efe5123cc814056cbd39f0aff784a5d70c9e0b514ad4d5c4fa454ba5a1d830987a071b86119920968ac1923fd5a2f1b6ca16aa42a
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2025 AppFolio, Inc., Steffen Bartsch
1
+ Copyright (c) 2017-2026 AppFolio, Inc., Steffen Bartsch
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -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|.*gemspec|README.md|rubocop-decl-auth.yml)}] }
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('< 3.5')
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] ? actions_from_option(options[:collection]).merge(actions_from_option([:create])) : collections
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
 
@@ -1,3 +1,3 @@
1
1
  module DeclarativeAuthorization
2
- VERSION = '2.3.1'.freeze
2
+ VERSION = '2.4.0'.freeze
3
3
  end
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.3.1
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: '3.5'
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: 3.7.2
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.