effective_memberships 0.4.14 → 0.4.15

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: 64b883aca41c43059e7a71714e06111778fdf28459cd1e1b93fd5623c0b1ac76
4
- data.tar.gz: 988d8610c97a8975525f79b8f6b8f2ae4c8b5aa0408e363ef2122a5e75fcd8f2
3
+ metadata.gz: 28543acc716acda559f603f4f8b1da0b608897ff9e251c04936f4cc32e186f2e
4
+ data.tar.gz: d524120cc69e13abc09af94999aef3bc7a00c5866b7ec97d450c6bf88bbe68d2
5
5
  SHA512:
6
- metadata.gz: '084430f1b74612a991224992ac678b0045c01024c077159a87853a60c86c955f2d00c0a68c65bd019a7fb8a317ab6f9eb6e969425436aa72470cc42f979fc882'
7
- data.tar.gz: 29ab840f13d34e4936ba3b1267e4fe9dbc7fdfdd7ca39d275ed4d87c8cc06425bd44606d45a4380a47324a877005c4671eb7c133fd9796cf631b8cfabd891aad
6
+ metadata.gz: a4a4f48f38e7e504be81e7914c3612405ac82121c47774dafcadf1e46b734a58b63ae9a689de62af385bed7a249cab8bd8714a3008eacd96b86483a4ea56ee1b
7
+ data.tar.gz: 1f69dbcd48f106c91b7226a3dc99bc105783b6bbdaf22db60e30f89b6ad5200b06190477599bb7fbf8ef07e804aac5d8decc619c467ce3e3597514ab2a90e62d
@@ -127,6 +127,7 @@ module EffectiveMembershipsApplicant
127
127
 
128
128
  effective_resource do
129
129
  applicant_type :string
130
+ stream :string
130
131
 
131
132
  # Acts as Statused
132
133
  status :string, permitted: false
@@ -359,6 +360,11 @@ module EffectiveMembershipsApplicant
359
360
  end
360
361
  end
361
362
 
363
+ def sidebar_steps
364
+ return self.class.required_wizard_steps unless category.present?
365
+ required_steps
366
+ end
367
+
362
368
  def can_visit_step?(step)
363
369
  if missing_info?
364
370
  return [:start, :select, :billing, :checkout].exclude?(step)
@@ -167,6 +167,7 @@ class CreateEffectiveMemberships < ActiveRecord::Migration[6.0]
167
167
  # Applicants
168
168
  create_table :applicants do |t|
169
169
  t.string :applicant_type
170
+ t.string :stream
170
171
  t.string :token
171
172
 
172
173
  t.integer :user_id
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.4.14'
2
+ VERSION = '0.4.15'
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.4.14
4
+ version: 0.4.15
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: 2022-07-05 00:00:00.000000000 Z
11
+ date: 2022-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails