effective_memberships 0.9.10 → 0.9.11

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: 4bc5657a2097391cfb805df2692268a14cbd4ed48e11e131cf60557fdf0cffde
4
- data.tar.gz: 377b12d152f9c31f6470583782b79279d3c5f77a2fe9e60e10d559a4cf5e0dab
3
+ metadata.gz: a661f6a2e71839e88147912a2822645b6b659cd8dad6d003e09e627dff721ffc
4
+ data.tar.gz: 5da930fcdf416bc88a78ef11d8023160428d43aba6c2279da155b17983cea76e
5
5
  SHA512:
6
- metadata.gz: 8271a9201d637efa7feecd01e5d1b882cab60c66417286479ff45a068831e1ef2477f5814de7e13def8613476793ab422b047c76733a60e3d50af559da79637f
7
- data.tar.gz: c153829d44825f2122f9b2cfdb034012545cb55d7fff63186ca75330d9d6b493625770b17b4efcea8ec7b459baaffa814f77c7f23df07f5b4cb93b97fc4d6db8
6
+ metadata.gz: e38cd2433c53e5b32531e7081f11389981f6ed801a7d6a7328ae5b1fe60b123c075fdf31504e00b61e0d158cc71868f69961fa833958de547010b1eaef9c4d03
7
+ data.tar.gz: 105ebe2e7ce087697645e2d5553a583d1c2f3bd7d41cba9a99a5184a5c83036fbb2fa307750b770a9996d4bda3798c312e19636665aafbca4c31271c6c47b5d7
@@ -629,7 +629,7 @@ module EffectiveMembershipsApplicant
629
629
  categories.select do |category|
630
630
  category.can_apply_new? ||
631
631
  category.can_apply_existing? ||
632
- (category.can_apply_restricted? && (category_ids & category.can_apply_restricted_ids).present?)
632
+ (category.can_apply_restricted? && (category_ids & category.can_apply_restricted_ids.map(&:to_s)).present?)
633
633
  end
634
634
  end
635
635
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.9.10'
2
+ VERSION = '0.9.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_memberships
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect