effective_resources 2.26.1 → 2.26.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: 5c1d1d08ea965b86966add386e7676e3f4961289ea9bc7c2a1f05b81d5dfd6e6
4
- data.tar.gz: 28e1fd1ec285d91b62c7b0f082de1b3a8183647b67a101240b6d7e6aa4c2a79a
3
+ metadata.gz: 1a5f21cf765885ef02922b5b777b6b6da135f73c7e3aa8ef2b7707afeccdd473
4
+ data.tar.gz: 5e675ad42c234a38429331f6c25da8c81700e89bc0a13561918b9a0727dde7fc
5
5
  SHA512:
6
- metadata.gz: 1f652b7ef3003bb3cf6a439f2bedc84bfd49f7391f3eb4040d3c49d7739142803d393fd08d0bf3620274639ff2b0ff7939c0e682d91e99df8afd79449ce11987
7
- data.tar.gz: 44f0c457a5cc6692489b2f6809aed69379d28984d662fc0401b9894c940a28edc03d051e196bdfd44702ff9f460c9270c3e5f50c99358c6d056492c1ac4af677
6
+ metadata.gz: cc2a99f88bbf80daf7fd0aa9113ebff4187577e99c636b5883927295cf6e55346be9a89fe9699e1589f1b9532d6f6ea24f708b6890d5991dd55d7759a930b167
7
+ data.tar.gz: c1446888c6427ac4d3f94db77807124826d269b0c3189cee9dd85c0deaa424cf7e0d84d145e776ca8a74c2f08bb804cce4ac2066e5a41f51d2ece5b1ec86bdf9
@@ -133,7 +133,7 @@ module Effective
133
133
  resource = Effective::Resource.new(klass_name)
134
134
  next unless resource.klass.present?
135
135
 
136
- associated = associated.or(relation.where(foreign_id => resource.search_any(value), foreign_type => klass_name))
136
+ associated = associated.or(relation.where(foreign_id => value_ids, foreign_type => klass_name))
137
137
  end
138
138
 
139
139
  case operation
@@ -1,3 +1,3 @@
1
1
  module EffectiveResources
2
- VERSION = '2.26.1'.freeze
2
+ VERSION = '2.26.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.26.1
4
+ version: 2.26.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-16 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails