sis_core 1.0.17 → 1.0.18

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: 0d8a574613ba77eb8db366949b723433df9c035de960d7d751f5969fcd7d4831
4
- data.tar.gz: 3cddd57d65c9adae22464705f5ea560cc6b183674be4c2505056278c068e575e
3
+ metadata.gz: 4d6627d827084e4435459b7c426e2daae0f395afba0c6f38bcdc104b2ccc3eb1
4
+ data.tar.gz: f8f22e96b50071866f4ccde6f59e11a7e53a9909f097625e38d8716a259d4d4d
5
5
  SHA512:
6
- metadata.gz: e29ee68bec9b045abe13f23813b7260a7ade6d61ade5edc385e1e9188872b37185bb7633e2c750b74757b2949ca01b148a6c0c63bb4c3ba9d9dda8579593a385
7
- data.tar.gz: 1bf5e1c9957b2b6eaf00492d0c48b2fa1ce343280afcb07963a32e700d18181b743ee6f577c9766a07b4b794d54aacb84eefcdb62140bae0960ec5ff41ea63eb
6
+ metadata.gz: fa9304c88cbcc3405431b67ee1319c57bb9de8f69d0c34f8ced9c28e3fa0949b2ca39316ab6d05a263d92cef330af468c8f2a5a5a41c02e2d5ab8fa7b52c64ca
7
+ data.tar.gz: b3b451ba6868bbd674f5bdb3427e8624ebe2c04abb55a0b3dc6a1eacc5f31d3bd238a7117ceede7b7fda339587e08725223626c9e0033e0a4769eb4d1490be49
@@ -24,6 +24,18 @@ module Sis
24
24
  delegate(:first_name, to: :tutorial_instructor, prefix: true, allow_nil: true)
25
25
  delegate(:middle_name, to: :tutorial_instructor, prefix: true, allow_nil: true)
26
26
  delegate(:last_name, to: :tutorial_instructor, prefix: true, allow_nil: true)
27
+
28
+ def instructor_full_name
29
+ "#{instructor_first_name} #{instructor_middle_name} #{instructor_last_name}"
30
+ end
31
+
32
+ def lab_instructor_full_name
33
+ "#{lab_instructor_first_name} #{lab_instructor_middle_name} #{lab_instructor_last_name}"
34
+ end
35
+
36
+ def tutorial_instructor_full_name
37
+ "#{tutorial_instructor_first_name} #{tutorial_instructor_middle_name} #{tutorial_instructor_last_name}"
38
+ end
27
39
  end
28
40
  end
29
41
  end
@@ -51,6 +51,9 @@ class AddFieldsToStudent < ActiveRecord::Migration[6.0]
51
51
  add_column :sis_core_students, :emergency_contact_person_town, :string
52
52
  add_column :sis_core_students, :emergency_contact_person_zone, :string
53
53
  add_column :sis_core_students, :emergency_contact_person_region, :string
54
+ add_column :sis_core_students, :second_emergency_contact_person, :string
55
+ add_column :sis_core_students, :second_emergency_contact_person_relationship, :string
56
+ add_column :sis_core_students, :second_emergency_contact_telephone_number, :string
54
57
  add_column :sis_core_students, :tuition_payer_email, :string
55
58
  add_column :sis_core_students, :tuition_payer_mobile_number, :string
56
59
  add_column :sis_core_students, :guardian_one_full_name, :string
@@ -0,0 +1,8 @@
1
+ class AddUniqueIndexToModels < ActiveRecord::Migration[6.1]
2
+ def change
3
+ add_index :sis_core_student_eligibilities, [:student_id, :academic_year_id, :semester_id, :eligibility_criteria_id], unique: true,
4
+ name: 'stu_ay_sem_elc_uniq_on_stud_elg'
5
+ add_index :sis_core_course_registrations, [:student_id, :course_offering_id], unique: true,
6
+ name: 'stu_co_uniq_on_stud_elg'
7
+ end
8
+ end
@@ -1,5 +1,5 @@
1
1
  module Sis
2
2
  module Core
3
- VERSION = '1.0.17'.freeze
3
+ VERSION = '1.0.18'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sis_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henock L.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-07 00:00:00.000000000 Z
11
+ date: 2021-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aasm
@@ -303,6 +303,7 @@ files:
303
303
  - db/migrate/20210429112550_create_active_storage_tables.active_storage.rb
304
304
  - db/migrate/20210429113938_rename_uploaded_fields.rb
305
305
  - db/migrate/20210504115132_create_sis_core_identification_patterns.rb
306
+ - db/migrate/20210513080708_add_unique_index_to_models.rb
306
307
  - lib/authorize_request.rb
307
308
  - lib/json_web_token.rb
308
309
  - lib/sis/core.rb