ae_declarative_authorization 2.3.1 → 2.3.2

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: 10d59b8d7cd843293677626ec82be84c5bb54400571f7ce0266532e1c5927cb5
4
+ data.tar.gz: 04772ee453e6eb7315dbe8ae3d8a88c5aa2d228cefb0a459362c8e9c3ce1604a
5
5
  SHA512:
6
- metadata.gz: f58364fc40bd34c86a41dd42179520e4be8fdd275915e20f1d96b7a101424048c348a2b6f86d6b2fe7cfb52d267a0504b06b6afcdd3980d98784d8d31f916858
7
- data.tar.gz: 5856fbb3162520b104e21e4aaa0c582f9a86b3f6f5299b0c1831c3038b5c27231eb6dc7db25a541c3e5f6883b5cbc5386e7109dbf4e7afd124e189fecf79ca0a
6
+ metadata.gz: ee9fcbc8815082766a011a102b1d7425d690f6072fd4d864de5a9de38dfe34e5384b73539ca89ac017dbd8558b86780a12fd0e9a27c42446733907b89f89f1fe
7
+ data.tar.gz: 94445e389ad96ff79c3e8d1ec6dd95e6c190cfa8a0b77e11fc5afe86c5b5b9252bc4c6e558277a78ba7165245aff28bb83b7a4e41398aee8653301ac1671c145
@@ -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.3.2'.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.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - AppFolio