effective_memberships 0.17.9 → 0.17.10

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: 7a7ab7d95194d5d7c49af9f4d8297b4a9f927f9d4a2d97ea2f18ead660488685
4
- data.tar.gz: 7412d96bc6f4b1c7329a3fa2b4998e0045d921f1deec09886f024f42b868afc7
3
+ metadata.gz: 1ce6118d2ee3305019612e18f63990abffeca7345b0f55b420a500b76f3fcb1c
4
+ data.tar.gz: cc0dd908ae8d05fd5f53038b67be0744cf045edf76f613fccc5f5d4d889db44f
5
5
  SHA512:
6
- metadata.gz: 6aeaa23fda513f0b707252be4009fa6b25c19a8ee9f7ead8761a15893fa5b56a2b1ddba20da408e42f5d8c7759dc1b53c9faba19b20eecac28b5dfdf863c8703
7
- data.tar.gz: d2abd9350b5b98b43db54214b9cdf4a8fdc40858a66a4ea8f0ad301870326d16892287ad5ae1ac4a8dda70db2545e0d4ed12092e2bf265b3ae249137323bc311
6
+ metadata.gz: 889c672b4c30ff42b47faa11f0dbe5bd1e1c4e816eeaa100798482f01fca5f06dc3565ef63fed7c86a26bf4f929d4e5895865c5f4b0f76646fa20e0cec4ea3f3
7
+ data.tar.gz: bfc6d2f12222988da2b3017ca52315da6580279da29ff1a02d887e2b0b55a270c1928d43a4e7dbd84dd037dc3670c2766b2b37bd1847ef7666c4f6f4b83cd48a
@@ -5,14 +5,14 @@
5
5
  %p The #{applicant} will be <strong>approved</strong>
6
6
  %p Their membership will be removed and they will be marked as resigned.
7
7
 
8
- - elsif f.object.reinstatement?
8
+ - elsif f.object.reinstatement? && applicant.owner.reinstatement_membership_history.present?
9
9
  - reinstatement = applicant.owner.reinstatement_membership_history
10
10
 
11
11
  %p The #{applicant} will be <strong>approved</strong>
12
12
  %p Their membership will be reinstated and they will regain the following category, number and status:
13
13
 
14
14
  %ul
15
- %li Category: #{reinstatement.membership_categories.to_sentence}
15
+ %li Category: #{reinstatement.membership_categories.try(:to_sentence)}
16
16
  %li Number: #{reinstatement.number}
17
17
  %li Status: #{badges(reinstatement.membership_statuses).presence || 'None'}
18
18
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.17.9'
2
+ VERSION = '0.17.10'
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.17.9
4
+ version: 0.17.10
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-05-25 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -577,7 +577,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
577
577
  - !ruby/object:Gem::Version
578
578
  version: '0'
579
579
  requirements: []
580
- rubygems_version: 3.1.2
580
+ rubygems_version: 3.4.10
581
581
  signing_key:
582
582
  specification_version: 4
583
583
  summary: Manage your professional association online. Membership categories, applications