effective_memberships 0.9.10 → 0.9.12

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: 15f5e9cd43c2d3b621ed97fc489d5788b4229429413ceabba43f37db3ebf1970
4
+ data.tar.gz: f689fa7f2eff3da54e3561bf805321025362a066665cfd95aac22c1a14cae3bc
5
5
  SHA512:
6
- metadata.gz: 8271a9201d637efa7feecd01e5d1b882cab60c66417286479ff45a068831e1ef2477f5814de7e13def8613476793ab422b047c76733a60e3d50af559da79637f
7
- data.tar.gz: c153829d44825f2122f9b2cfdb034012545cb55d7fff63186ca75330d9d6b493625770b17b4efcea8ec7b459baaffa814f77c7f23df07f5b4cb93b97fc4d6db8
6
+ metadata.gz: f6968aa46d7af212a8e9442d2e36ec98effb38850245f1a4c2eb6623c640237339206a1e961dbf93b15e1f8c95788f2489a3ec0e233ef2b8bc278ec54a72311d
7
+ data.tar.gz: 0c05c78a59022bcedc203b2060af8d9fdc03a7caeba3b6e981da447002d488fa49a2ae639e89dcad1af83b5804a3a95c56c0197e19acf9497b4a2cfac276be50
@@ -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
 
@@ -13,8 +13,8 @@
13
13
  = fs.hidden_field :applicant_id
14
14
  = fs.hidden_field :applicant_type
15
15
 
16
- = fs.hidden_field :user_id
17
- = fs.hidden_field :user_type
16
+ = fs.hidden_field :owner_id
17
+ = fs.hidden_field :owner_type
18
18
 
19
19
  = fs.hidden_field :price
20
20
  = fs.hidden_field :tax_exempt
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.9.10'
2
+ VERSION = '0.9.12'
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.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect