All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Added
crn
field toSection
This release pretty much reverses most of the Struct "re-structuring" of 3.0.0 🙈 Turns out there's a much easier way to get access to Graduate level courses by just dropping a GET param.
- Added
to_json
andfrom_json
onDepartment
- Added
to_json
andfrom_json
onCourse
University#fetch_departments
is now privateUniversity#parse_departments
is now privateUniversity#parse_department_subject_code
is now privateUniversity#parse_department_name
is now privateSection
has a newcampus
field- This modifies the constructor
University
has a newlevel
field- This modifies the constructor
- This allows the scraper to find Undergraduate or Graduate level courses
- Switched from Nokogiri to Oga from HTML parsing
- Added
University
class and#departments
method to replaceDepartment#all
- Removed
Department#all
- All classes now inherit from
Struct
so that we automatically get#to_a
- Renamed
Section#availability
toSection#current
- Removed multithreaded example
Section#capacity
now returns an integer (rather than string)Section#current
now returns an integer (rather than string)