effective_mentorships 0.2.2 → 0.2.4

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: f5d908c2df40071246bda994a3d01f59dd7ffe19d8d049a49c2b919c27f1da5f
4
- data.tar.gz: 8711f45d78bf283c55925e4e407e83d9980426339d704f7c71e8df410921bd05
3
+ metadata.gz: 07124ebaca559569978d04969aebf5f352109ec8e02f62dd1388afe76b511ee4
4
+ data.tar.gz: 5fc58d5b20e98780ece8e410fea1828b65914b6f14fcb9781d65c6ff230d4651
5
5
  SHA512:
6
- metadata.gz: 90da1bb4d514e38e396f06cbd1cc621cdd9576cb390e2b8af151b49a71dbd500db3ccc2ebf4e08acab60f01412c4ed982ccf696f239d33da8981677725a73638
7
- data.tar.gz: 4dcbfa64d08ccc64903eedd2f585310a3301ff13376d60dd83472afeaac7a26d89807936b98301e44ed6601c4382a23b1ee4c2fbc59bcdd2f73964852fccc0b0
6
+ metadata.gz: a30120767b14e77e9c4f40c345cbb195fe9baa1a492af3c043cd0cf00f82b390a0530e5d6abd70bcb4821ff7023d41d6849a59cf56f5d13e72a83c22d723d4b4
7
+ data.tar.gz: ac3582d6ff40cc90ffe4a83ef8d2153bf147ece47ce7d69d5409b41fb21df151eb2fa3c1d7263b4aa1bdfdf0aa8e48773834349baf2dc4391be8465d88d10b98
@@ -64,6 +64,7 @@ module EffectiveMentorshipsHelper
64
64
  case role.to_s
65
65
  when 'mentor' then et('effective_mentorships.mentor')
66
66
  when 'mentee' then et('effective_mentorships.mentee')
67
+ when '' then ''
67
68
  else
68
69
  raise("unexpected mentorship role: #{role}")
69
70
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  %h1= et('effective_mentorships.name')
7
7
 
8
- - if mentorship_registration.persisted?
8
+ - if mentorship_registration.persisted? && mentorship_registration.opt_in?
9
9
  - if mentorship_registration.mentorship_cycle.rich_text_group_content.present?
10
10
  = card do
11
11
  = mentorship_registration.mentorship_cycle.rich_text_group_content
@@ -1,3 +1,3 @@
1
1
  module EffectiveMentorships
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_mentorships
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
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-11-29 00:00:00.000000000 Z
11
+ date: 2024-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails