effective_memberships 0.13.4 → 0.13.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: 718e2873066f712dd1cdaa3522d618f9684cf1c5d8ca328be1df0e016b0ac60d
4
- data.tar.gz: 7a3828dddc3227e7f082ebc3e01d68b1044a1a8bc3b9272f7c1c896c59dc2c71
3
+ metadata.gz: 02521eeb4da07e9cece1d9cbd784b6ecf5fe7d042ab48f0407455bbe3f9d725c
4
+ data.tar.gz: 42255afdbdcebbf4787328d0088e6183453e79cef39a84f6b81123eb19a9be86
5
5
  SHA512:
6
- metadata.gz: f83fb65b0170f946b86947a318d665acb292ebf1d0c81e837579cf07a98c9338fb81f7283275e3488915f469b15d541cc809b5f09b0dc3aa59d4d77bbcb023cd
7
- data.tar.gz: 000f1b03e6c89bc8e5a47fab09753d91b124b7f973c2442408498ef8247da380d491b43e04d868412bff08360edaa00c1560ca5f71e90629aa252bdf113a2354
6
+ metadata.gz: 7ec1e5ca1c59f678388a0d8750a768de77bb7f63bc7803fd9c0627f8370b26e8d764a313013234dbbe1d435f38e4c67ba612840607f2620ce9772d955a705345
7
+ data.tar.gz: 066b68def2279607ac729e81ef88e42cc13ed619165ab75c734a68a61d007bf26fae2dfacc59e6427efceba4130fab81009fe0c659f067a736fdbe26a1d2de20
@@ -32,6 +32,7 @@ module Admin
32
32
 
33
33
  col :applicant_type
34
34
  col :category, label: 'Applicant Category', search: { collection: EffectiveMemberships.Category.all, polymorphic: false }
35
+ col :stream
35
36
  col :from_category, search: { collection: EffectiveMemberships.Category.all, polymorphic: false }
36
37
  col :from_status, search: { collection: EffectiveMemberships.Status.all, polymorphic: false }
37
38
 
@@ -169,7 +169,8 @@ module EffectiveMembershipsFeePayment
169
169
 
170
170
  # We take over the owner's outstanding fee payment fees.
171
171
  def find_or_build_submit_fees
172
- Array(owner.outstanding_fee_payment_fees).each { |fee| fees << fee unless fees.include?(fee) }
172
+ existing = fees.to_a
173
+ Array(owner.outstanding_fee_payment_fees).each { |fee| self.fees << fee unless existing.include?(fee) }
173
174
  submit_fees
174
175
  end
175
176
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.13.4'
2
+ VERSION = '0.13.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_memberships
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.4
4
+ version: 0.13.5
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: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails