pundit_extraextra 1.0.1 → 1.0.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: b7a91e792d945872b0bb1089353e165faeec8f5c3759f14a77543903ab9f2626
4
- data.tar.gz: ac733fce058573135b741477b06e9b39c211dc98bf2cd2453e16541dfe0492f0
3
+ metadata.gz: 6d173e513f5f118a405fcaa2c14f18ce3c285f821f79f6a69a2be634b1303aa7
4
+ data.tar.gz: c2a7ff1f11c23ee7180f355d9add5b986b930bcb86cca362251b8b4bafc0f137
5
5
  SHA512:
6
- metadata.gz: d14f3d803febec0e9af6818989a6b6f89375971171b12623790bcfdc7a67f6adf76e1c526b5d3e39c252b1452ee4ccbcb0539f2570cb194ac9384e3b2e60579b
7
- data.tar.gz: 43c2ca80046379484991e7a1224464579ca888f3a4f5ac003b9a4903c9048201106828fb36942d871a6fe61add6c21d7918ba2e66988b9e05f2da10a762084b8
6
+ metadata.gz: a7cac8998da23b19a932686d4fdd0c7817f7dd2ceae98c3a3a0b6b9c51bd62acea78ee3a086d9aa24fa23e3ddbb40a077464f9a1f0ad43dcd4384b9f6dcc6332
7
+ data.tar.gz: dab01d75d3ca38034a5658d37cb4f1082c98cae212dc06a9cdd8bb5a3aaa69fda795094383f9d710e486c9a2b3897b868774c27d1b6309c7c275afaaaa5e6e7f
@@ -205,7 +205,7 @@ module PunditExtraExtra
205
205
  elsif action == 'update'
206
206
  update_resource(current_instance, resource_name, resource_id, find_by_attribute, action)
207
207
  else
208
- load_nested_resource(parent_instances, resource_name, current_instance)
208
+ load_index_resource(current_instance, resource_name)
209
209
  end
210
210
 
211
211
  resource
@@ -1,3 +1,3 @@
1
1
  module PunditExtraExtra
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pundit_extraextra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-18 00:00:00.000000000 Z
12
+ date: 2025-01-09 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Add CanCanCan like load and authorize to Pundit.
15
15
  email: andrew.michael.fahmy@gmail.com
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
43
43
  - !ruby/object:Gem::Version
44
44
  version: '0'
45
45
  requirements: []
46
- rubygems_version: 3.3.7
46
+ rubygems_version: 3.5.22
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Additions for PunditExtra