action_authorization 0.3.1 → 0.3.2

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: d6ec2bb21ab2cd6e7a6fc961076931ba385d327272437427e2653f07dabd0901
4
- data.tar.gz: 6b01e8b343d8fc465e9ad5c36bf76f515ca7f1b809bfc28f2ba4f66d106f6d5c
3
+ metadata.gz: b488de453a34ffee8f9f686af35f9a4221fed24ee7dea3a56475efc295b70f5a
4
+ data.tar.gz: 384e891ca0486d7952121c45941eaea65eddae2e40812259da09a373358aba89
5
5
  SHA512:
6
- metadata.gz: d91740824f6f3aca60f1c98de4ac7fea9e3e231e710e1ce027465cb8908596264885710c0d3b3ca98d8cd877d26d9ef83a3d1c6848624aa171f2bedc0798fe52
7
- data.tar.gz: 8f6b3b6a14ba8533f6361aa1cd1241141ee246ee1561098cfa88fba41b53d64124be783a4a45ec01b4ef95fe2f3628b327b17f4171652be16e4e8d33bb775d4a
6
+ metadata.gz: 6a2579a9fec0b4115fc9980b535f549fd1b5c31f9ca4180f57d1b7d726d72cb0b78caedd683fca501ffa10ce52e1cf1e873e429cb703e58e2a7d7c3cf57418a0
7
+ data.tar.gz: 8c889dc5dd44b874a5d22a9b8b4225b4b5b7c5a8dc01530ac80df8c2fb31830e1115433a2f7d156bb12191430d9e73ddc214d26fe4209d0e88a5b944f776f6a4
@@ -16,7 +16,7 @@ module ActionAuthorization
16
16
 
17
17
  delegate :type, :type_class, to: :class
18
18
 
19
- def initialize(user, object)
19
+ def initialize(user, object = nil)
20
20
  self.user = user
21
21
  self.object = object
22
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActionAuthorization
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Baldwin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-07-26 00:00:00.000000000 Z
12
+ date: 2024-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport