bullet_train-super_load_and_authorize_resource 1.8.3 → 1.8.5

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: e5a8ed55bb2fd1ee7ef5c52e08289d546b92accdaf31f01aab14e5aaf690fc16
4
- data.tar.gz: 48936ba21e1b0517c0a5cc50e9f72b59e86393cbadf9d2c81716413645cd58d0
3
+ metadata.gz: b1be1f3519c5636aa58b0274a965a92f23ffcef451f9974d8429dc87369d1b36
4
+ data.tar.gz: 70edb112fb2fda2c27d42ed33025086a731bf1038436463859ce23014c4539d6
5
5
  SHA512:
6
- metadata.gz: eccf0e53e5ce70161f72f0d3ad4577a270db05fad322d8a7645d9f9d6bbef8907818f82d63eb90bf92de48632f01d9ad566e4e90f6324a1458b99affb19a56ea
7
- data.tar.gz: 92bbd7060015f05f26fc4faee77ca07333cbf488aed1ea0b8becb878749a8aa1c2bd26d827dc2f4809d8dc36965dd693574aff97c560260c306db803763681a1
6
+ metadata.gz: 147970c3a611e6e02f732d520a7e658fad7615b7d3ae796bdc2ecedc80733dba87f1469de355988254b358cf723d7dc11cf9c15708470a128f4e8b4eb052868d
7
+ data.tar.gz: 5c7e935c3154442db8976adacf68790f94df6fb06c2b903c502cffea44f0faa92baa8c5c48bb5bc863eb9ce470d591059c5590737aa47b4676d399662b22ea62
@@ -60,7 +60,7 @@ module BulletTrain::LoadsAndAuthorizesResource
60
60
  # reflect on the belongs_to association of the child model to figure out the class names of the parents.
61
61
  association = model_class.reflect_on_association(through_as_symbol)
62
62
  unless association
63
- raise "Your 'account_load_and_authorize_resource' is broken. Tried to reflect on the `#{through_as_symbol}` association of #{model_class_name}, but didn't find one."
63
+ raise "Your 'account_load_and_authorize_resource' is broken. Tried to reflect on the `#{through_as_symbol}` association of #{model_class_names}, but didn't find one."
64
64
  end
65
65
 
66
66
  association.klass.name
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperLoadAndAuthorizeResource
3
- VERSION = "1.8.3"
3
+ VERSION = "1.8.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_load_and_authorize_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-14 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cancancan