kosapi_client 0.14.1 → 0.15.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: 61088283521ad7523da40145d94966e01b5055e857ebac8770bc706be0ae0a30
4
- data.tar.gz: ff3314eb5fbe7a71c00ba832ef849d302f07148d0513dd2a0eecd6f2c358f6d8
3
+ metadata.gz: 0f194adf9313dba655ae7b4f1df804af846478e0409ca119251e2085eb9ce45c
4
+ data.tar.gz: 84411d4e1bcd9c0cb0a98b98a185c2478bb3a076308e65321d8ef36198b98c3e
5
5
  SHA512:
6
- metadata.gz: 04f18b7afdcbbca5814e11dee949b56f8f72f8af4ae6e15c1824383abd9f33dedefab497ec2abdbc1a2f45eb3062bdc26b030cd3cfe15668b829a1d98e7f8c38
7
- data.tar.gz: f6809d741d7a69d8b07fd316a9c9253126e3766a9e4d2a3d7b774a19d655bee74dc36f2e2908dad7586123cec1796ad024c919771a778ee4ef720d303710b036
6
+ metadata.gz: 1e4ec324c5efdf50066c6a62a331dccf388d267e05938974abf5511d5aae038ccbc5e6a10194cb2e2670bd88123bac98e38b57fe03143fbd7b9e2e6781f0c937
7
+ data.tar.gz: e185c427a236c862936b48cba50c928fcdf4ccfbc821ba4047e507ede3be469298028d871e6b5fcb5487a0ed5e48c67bbea92c4132676143cd732db5163ddaf2
@@ -13,6 +13,7 @@ module KOSapiClient
13
13
  resource :parallels
14
14
  resource :parameters
15
15
  resource :exams
16
+ resource :schedule_slots
16
17
  resource :semesters
17
18
  resource :teachers
18
19
 
@@ -0,0 +1,15 @@
1
+ module KOSapiClient
2
+ module Entity
3
+ class ScheduleSlot < BaseEntity
4
+
5
+ map_data :department, Link
6
+ map_data :end_date, Time
7
+ map_data :faculty, Link
8
+ map_data :note, String
9
+ map_data :occupied, Boolean
10
+ map_data :room, Link
11
+ map_data :start_date, Time
12
+
13
+ end
14
+ end
15
+ end
@@ -13,6 +13,7 @@ module KOSapiClient
13
13
  map_data :start_time, Time
14
14
  map_data :end_time, Time
15
15
  map_data :weeks, String
16
+ map_data :teachers, [Link], element: :teacher
16
17
 
17
18
  end
18
19
  end
@@ -13,6 +13,7 @@ require 'kosapi_client/entity/coursin'
13
13
  require 'kosapi_client/entity/division'
14
14
  require 'kosapi_client/entity/teacher_timetable_slot'
15
15
  require 'kosapi_client/entity/timetable_slot'
16
+ require 'kosapi_client/entity/schedule_slot'
16
17
  require 'kosapi_client/entity/parallel'
17
18
  require 'kosapi_client/entity/parameter'
18
19
  require 'kosapi_client/entity/base_person'
@@ -1,3 +1,3 @@
1
1
  module KOSapiClient
2
- VERSION = '0.14.1'
2
+ VERSION = '0.15.0'
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kosapi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tibor Szolár
8
8
  - Jakub Jirutka
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-09-14 00:00:00.000000000 Z
12
+ date: 2025-09-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -245,6 +245,7 @@ files:
245
245
  - lib/kosapi_client/entity/parameter.rb
246
246
  - lib/kosapi_client/entity/person.rb
247
247
  - lib/kosapi_client/entity/result_page.rb
248
+ - lib/kosapi_client/entity/schedule_slot.rb
248
249
  - lib/kosapi_client/entity/semester.rb
249
250
  - lib/kosapi_client/entity/student.rb
250
251
  - lib/kosapi_client/entity/teacher.rb
@@ -274,7 +275,7 @@ homepage: https://github.com/cvut/kosapi_client.rb
274
275
  licenses:
275
276
  - MIT
276
277
  metadata: {}
277
- post_install_message:
278
+ post_install_message:
278
279
  rdoc_options: []
279
280
  require_paths:
280
281
  - lib
@@ -290,7 +291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
291
  version: '0'
291
292
  requirements: []
292
293
  rubygems_version: 3.1.6
293
- signing_key:
294
+ signing_key:
294
295
  specification_version: 4
295
296
  summary: Simple Ruby client library for accessing KOSapi service resources
296
297
  test_files: []