effective_mentorships 0.3.2 → 0.3.3

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: 945b289d8db3d3677c664afe604a39f8def52d09a0aa7d29adebfcd655a6cb89
4
- data.tar.gz: 497b103498c79371700c455440edf05a37f04b37bcf9f076f3e222cc13abc10a
3
+ metadata.gz: d108b6f623e6830dc7f8472bc8a6b24a5bd0e5f960cf681e7d9a0af91fb96c76
4
+ data.tar.gz: 3ec7750b99ee913338db52f3c5993ee52f1835573d7e64516ff85098bd6b3c60
5
5
  SHA512:
6
- metadata.gz: 7a33123dce1938db8df87d14bba03791d4c92ddf3ca9e1446dd70c041016d2c0aba1eafc84357af750e50a65931d15d07b46571204359304a3860a246f0ee588
7
- data.tar.gz: fde52709889007242daf8b59ef0789d2a019ba3c2a1a81493d81a663950b99268abca7f3c1e9a8a6b028292c57b4885fecfeda4f5c7e9ec16e72f496e06844e2
6
+ metadata.gz: 8dea56a517526afddbe848866e61ae143b51a55076ed1780ee6d250fbd2200e94bc20520c2d8abedf8851821770bf5694126b3ff5a5b587577b7658aaae067c5
7
+ data.tar.gz: 0ef916d861109f3b03f1533d416b36683e75016e3f1aeb6a974191df60ca4dac59e25472f0f6a430921d249fac7d62ad28ae8241b336e2a14a021f0746849e31
@@ -36,7 +36,7 @@ module Effective
36
36
 
37
37
  # Assign registration, if present
38
38
  before_validation(if: -> { user.present? && mentorship_cycle.present? }) do
39
- self.mentorship_registration ||= user.mentorship_registrations.find { |mentorship_registration| mentorship_registration.mentorship_cycle_id == mentorship_cycle.id }
39
+ self.mentorship_registration = user.mentorship_registrations.find { |mentorship_registration| mentorship_registration.mentorship_cycle_id == mentorship_cycle.id }
40
40
  end
41
41
 
42
42
  # Denormalized data for searching
@@ -1,3 +1,3 @@
1
1
  module EffectiveMentorships
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
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.3.2
4
+ version: 0.3.3
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: 2025-01-13 00:00:00.000000000 Z
11
+ date: 2025-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails