1.2.0
[1.2.0] - 2026-03-08
Added
TocDoc::Availability::Collection— newEnumerablecollection class returned byTocDoc::Availability.where; provides#total,#next_slot,#each,#raw_availabilities,#to_h, and#merge_page!TocDoc::Availability.where— class-level query method replacingClient#availabilities; automatically follows anext_slotresponse key with a second request before returning the collectionTocDoc.availabilities— top-level shortcut delegating toTocDoc::Availability.where- Dependabot — automated Bundler dependency updates via
.github/dependabot.yml
Changed
- Connection —
#getand#paginateare now public onTocDoc::Connection, allowing model classes to call them directly viaTocDoc.client TocDoc::UriUtils— updated module-level example to reflect actual usage (TocDoc::Availabilitywithextend, not the removedClient::Availabilities)
Removed
TocDoc::Client::Availabilities— endpoint module removed; availability querying now lives inTocDoc::Availability.whereandTocDoc::Availability::CollectionTocDoc::Response::Availability— response wrapper model removed; replaced byTocDoc::Availability::Collectionauto_paginate— configuration key, default, and all related logic removed fromTocDoc::ConfigurableandTocDoc::Default
Full Changelog: 1.1.0...1.2.0