Skip to content

Commit cd8817e

Browse files
committed
Change CourseEvent name and note type to MLString.
1 parent 56b8736 commit cd8817e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/kosapi_client/entity/course_event.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ class CourseEvent < BaseEntity
77
map_data :course, Link
88
map_data :creator, Link
99
map_data :end_date, Time
10-
map_data :name
11-
map_data :note
10+
map_data :name, MLString
11+
map_data :note, MLString
1212
map_data :occupied, Integer
1313
map_data :room, Link
1414
map_data :semester, Link
@@ -17,4 +17,4 @@ class CourseEvent < BaseEntity
1717

1818
end
1919
end
20-
end
20+
end

lib/kosapi_client/entity/exam.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ class Exam < BaseEntity
2121

2222
end
2323
end
24-
end
24+
end

lib/kosapi_client/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module KOSapiClient
2-
VERSION = '0.0.1'
2+
VERSION = '0.3.0'
33
end

spec/kosapi_client/entity/course_event_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
course: {__content__: 'Computer Structure and Architecture',
1010
xlink_href: 'courses/BI-SAP/'},
1111
end_date: '2010-05-18T14:01:00',
12-
name: {__content__: 'test1 oprava', lang: 'cs'},
12+
name: {__content__: 'test1 oprava', xml_lang: 'cs'},
1313
occupied: '50',
1414
room: {__content__: 'TK:PU1', xlink_href: 'rooms/TK:PU1/'},
1515
semester: {__content__: 'Summer 2009/2010', xlink_href: 'semesters/B092/'},

0 commit comments

Comments
 (0)