sis_core 1.0.19 → 1.0.20

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: f6e9a76673da6af437c8e8980dcda2dbd855ae45ec9795b1249169eb7a206ef4
4
- data.tar.gz: fa40cf50c2d129c331594bd6f389c7b01ceb4403efb4e023b93b793598e87679
3
+ metadata.gz: 30487df03decbb12c6117cbe7153d4eb25a0f3298525a5e37c0daa742df56a93
4
+ data.tar.gz: a4a88970815446c4c2271a2bd227cf9b023b91a6939b4d3816e089acc7e8a8d5
5
5
  SHA512:
6
- metadata.gz: e27a9728a779b28e7812840514d9ad40d0e0c8e242e4844fe07ca1d11df1a1b0e2349429899093a564b8c8d21a9c1243e4fefc79d44dad53eba1e552f117498d
7
- data.tar.gz: 4680d21378d195c1bcffdefaf0ac6d1ca4a0f2a20a908693cef8573335ed74ce99b7108c204a0b57ea84baf47e54dc96b05e18f619bcc953e7dac5cf753ca8af
6
+ metadata.gz: 412ff2fbc697fb63de56a0187dc8e7ac872fb81fb1870a6d1d4691bfb8e0dc6f3ea63f672ea873deed587c119e6532daf82295cd6804bd0b967cbb8280143536
7
+ data.tar.gz: ab14fb246702ab66a527f5930ced5426a5484303602a74e7480d942a01df66935cbd79c3f4bdae4d66658b36f45ac8715293522e852c7650e6840abdf3e5180f
@@ -12,6 +12,7 @@ module Sis
12
12
  delegate(:first_name, to: :student, prefix: true)
13
13
  delegate(:middle_name, to: :student, prefix: true)
14
14
  delegate(:last_name, to: :student, prefix: true)
15
+ delegate(:student_id, to: :student, prefix: true)
15
16
  delegate(:name, to: :section, prefix: true)
16
17
  delegate(:programme_level_id, to: :student, prefix: true)
17
18
  end
@@ -4,6 +4,7 @@ module Sis
4
4
  belongs_to :curriculum
5
5
  belongs_to :course
6
6
  validates :course_type, presence: true
7
+ has_many :course_offering_sequences
7
8
  has_many :predecessor_prerequisites, foreign_key: :successor_id, class_name: 'Prerequisite'
8
9
  has_many :predecessors, through: :predecessor_prerequisites, source: :predecessor
9
10
  has_many :successor_prerequisites, foreign_key: :predecessor_id, class_name: 'Prerequisite'
@@ -0,0 +1,6 @@
1
+ class AddStatusToCourseRegistration < ActiveRecord::Migration[6.1]
2
+ def change
3
+ add_column :sis_core_course_registrations, :status, :string, default: 'Draft'
4
+ add_column :sis_core_course_registrations, :assessment, :jsonb
5
+ end
6
+ end
@@ -1,5 +1,5 @@
1
1
  module Sis
2
2
  module Core
3
- VERSION = '1.0.19'.freeze
3
+ VERSION = '1.0.20'.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.19
4
+ version: 1.0.20
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-16 00:00:00.000000000 Z
11
+ date: 2021-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aasm
@@ -304,6 +304,7 @@ files:
304
304
  - db/migrate/20210429113938_rename_uploaded_fields.rb
305
305
  - db/migrate/20210504115132_create_sis_core_identification_patterns.rb
306
306
  - db/migrate/20210513080708_add_unique_index_to_models.rb
307
+ - db/migrate/20211004105938_add_status_to_course_registration.rb
307
308
  - lib/authorize_request.rb
308
309
  - lib/json_web_token.rb
309
310
  - lib/sis/core.rb