In the never ending story that is the development of #MidnightMurderParty, not really, it’s getting close, @rhitakorrr pinged me yesterday afternoon with a double request. Firstly, he wanted an end point at which he could receive the release date of the next unreleased segment of the story. Thirty minutes later, give or take,
/api/next was born. Simple enough.
Unfortunately, the second request was to figure out why the hell unreleased segments (release date falls after today) were appearing in the reader. That was a fun little bug to figure out. Turns out I was only checking the release dates for chapters, not every entry within a chapter. Woops. 😛 The release bug was somewhat simple to fix but the resulting refactoring took quite a bit more time and brainpower.
Also, I locked down the
Gemfile after witnessing
Puma bump to
3.7.0 and break deploys… no thank you. 😅 🔒 Locked down. 🔒