drippings 1.0.0 → 1.0.1

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: f40374806e4eb5c75eb6dd2667b9f85a3e344d59cdd1bf362cb423e9b41acda5
4
- data.tar.gz: 8a4438bf9ace97b920972e07d88ad486847c99e0fb972386e6d9b0c552199679
3
+ metadata.gz: 80269227d6ef5594fddacb1fe94b59564f0d92f120c49c0a091cb058c3c0ce60
4
+ data.tar.gz: 4281f882620e7a5bdeaffc8a0a65d7d0f2ccd7a6cfc579f504c18877dc1db521
5
5
  SHA512:
6
- metadata.gz: f344e0f0753df5e2fbb40060a9ca58538be49d572dddc9e08f3547187c7c12b0d6564d6aaf536c7530a4843a982c5d908b1afc976164878454c3d5f429d70415
7
- data.tar.gz: fc444d49844e6809a88a6e83ddacf1706a59a01a0dd2512f9e416b07c9182b8cc6a276fa6cd0d69f81d2901e9547b541f0ea9979b1e72e34094cff75983261f1
6
+ metadata.gz: 0352ddad49fa71fbc9923321806343021fea1e54181a38e91d8d572f7ee6cebcfd0a463401e7667e94a89fbc943621bc3006f69329ae2106950261500e9a6254
7
+ data.tar.gz: fdaac145373e426b0aae33f6ad47e0287a27252a965ae0cdba26a8b395b4f5081ea6435a1d314dc2dfdbd51b18f440aa74b5c347f5e55848ab5db23ea5382dd4
@@ -9,7 +9,7 @@ module Drippings
9
9
  arel_on = Arel::Nodes::On.new(
10
10
  arel_table[:name].eq(name)
11
11
  .and(arel_table[:resource_id].eq(scope.arel_table[:id]))
12
- .and(arel_table[:resource_type].eq(scope.klass.name))
12
+ .and(arel_table[:resource_type].eq(scope.base_class.name))
13
13
  )
14
14
 
15
15
  arel_join = Arel::Nodes::OuterJoin.new(arel_table, arel_on)
@@ -1,3 +1,3 @@
1
1
  module Drippings
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drippings
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Hogoboom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-04 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails