Fortitude v0.0.6 Release Notes

Release Date: 2014-11-11 // over 9 years ago
    • 🛠 Fixed an issue where naming a widget with an .html.rb extension (for example) at the end would work at first, but cause really irritating errors (like uninitialized constant Views::Foo::Bar apparently in the very file that defines Views::Foo::Bar correctly in app/views/foo/bar.html.rb) when editing code in development mode. (Thanks to Jacob Maine for the very detailed bug report!)
    • 🛠 Fixed an issue where trying to use Fortitude as a Tilt engine, but passing nil for the locals, would cause an exception. (Thanks to Roman Heinrich for reporting the bug!)
    • Using Fortitude as a template engine for mailers (ActionMailer::Base subclasses) now works. (Believe it or not, this was almost completely an issue of forgetting to support this, rather than it being undone — the code was complete, and it was just a matter of applying it to ActionMailer::Base as well as ActionController::Base.) (Thanks to Jacob Maine for the bug report and pull request!)
    • The various on-the-fly modules that Fortitude creates and mixes in to widgets (and define helpers, tag methods, and needs methods) now all have actual names, which makes them much easier to identify in debugging printouts.
    • The code in spec/ that knew how to reliably create, maintain, shut down, and otherwise manipulate an external rails server process has now been pulled out into its own gem, oop_rails_server; this is so I can also use it with a new, closely-related upcoming project, and because reuse is good. ;)
    • ⚡️ Updated the Travis configuration to the very latest Ruby and Rails versions.