sis_core 1.0.17 → 1.0.18
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d6627d827084e4435459b7c426e2daae0f395afba0c6f38bcdc104b2ccc3eb1
|
4
|
+
data.tar.gz: f8f22e96b50071866f4ccde6f59e11a7e53a9909f097625e38d8716a259d4d4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/sis/core/version.rb
CHANGED
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.
|
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-
|
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
|