effective_mentorships 0.3.7 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 683fa787d733db8ba81c4826d39621c2138ddb7e742449ca5ffa6b59548dd7a4
4
- data.tar.gz: f5f48039a10ecc2bb12739218eded5501cc0d8b15dd3e984035b8c08409d1a12
3
+ metadata.gz: 984cc756545d2cc193f9653d63ab849aa43b33589b0de88021fa8b554102a6b2
4
+ data.tar.gz: 3765acfee28560392a86fe6c7f3b4931fee360f8ae0383903f4b1cf842ed7700
5
5
  SHA512:
6
- metadata.gz: a23dcd55f980831229066dc7788dfa165c6e835a141aa200dd2b840843971f79e0cac17dba5501b3cee0267bdb72f6ecd692afac06078f2362f82a996ed7e53e
7
- data.tar.gz: f6e30fac5aa08b3198ef62988fd211647c98a9d5ff1ce7dde7f3db2ab151eb71ba275868297b12ce66470f5a8fccfc54376e018e2669c2c3f403e1eb29d69f2d
6
+ metadata.gz: 96b76f61df6424149c0eb481136d6dde98c05568fd429dc015a6635513e994aef55e272ca63be3ca84167ac7c1d209e4a59c1f8484d7f0645e51c8d8c70633db
7
+ data.tar.gz: a2be31e21892907cb7448fe8440e93f4da8884bb58730280b5cdfb64aead064a3e107bb15f84cb2e3e1ac9bd011ebe5706b90fda2bb627cf00e6eab2ee523330
@@ -1,10 +1,7 @@
1
1
  EffectiveMentorships.setup do |config|
2
2
  # Layout Settings
3
3
  # Configure the Layout per controller, or all at once
4
- config.layout = {
5
- mentorships: 'application',
6
- admin: 'admin'
7
- }
4
+ # config.layout = { mentorships: 'application', admin: 'admin' }
8
5
 
9
6
  # Mentorship Class Settings
10
7
  # Configure the class responsible for the mentorships
@@ -1,3 +1,3 @@
1
1
  module EffectiveMentorships
2
- VERSION = '0.3.7'
2
+ VERSION = '0.4.0'
3
3
  end
@@ -21,15 +21,15 @@ module EffectiveMentorships
21
21
  end
22
22
 
23
23
  def self.MentorshipBulkGroup
24
- mentorship_bulk_group_class_name&.constantize || Effective::MentorshipBulkGroup
24
+ klass(:mentorship_bulk_group)
25
25
  end
26
26
 
27
27
  def self.MentorshipGroup
28
- mentorship_group_class_name&.constantize || Effective::MentorshipGroup
28
+ klass(:mentorship_group)
29
29
  end
30
30
 
31
31
  def self.MentorshipRegistration
32
- mentorship_registration_class_name&.constantize || Effective::MentorshipRegistration
32
+ klass(:mentorship_registration)
33
33
  end
34
34
 
35
35
  def self.MentorshipCycle
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_mentorships
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect