InvoicePrinter is intentionally small and straight-forward library, command line client, and server to make PDF invoices in no time. Version 2.0 includes buyer/seller boxes simplification, decoupling server from the library, offering sample TTY fonts as an add-on and official Docker support.
Jeremy Evans (of Roda and Sequel fame) created an interesting benchmark comparing memory and runtime performance of large number of routes (up to 10000) in various Ruby web frameworks. I was immediately interested and ran it to get the numbers.
Here is a quick’n’dirty cheatsheet for basic Active Storage actions.
Takashi Kokubun (known as k0kubun), a Ruby JIT committer, asked the community for more benchmarks on upcoming Ruby 2.6 JIT. I put together one for generating PDF documents with InvoicePrinter (based on Prawn).
I decided to write a book (at the very least attempt to). And yes, there will be some Fedora inside!
You can make a single executable from your gem or even a Rails application. I just tried ruby-packer and it works as promised.
A quick fix for an annoying (and not very descriptive) error Browsing context has been discarded when setting up Ruby on Rails system tests with Firefox headless.
A new version of my Ruby gem for generating PDF invoices InvoicePrinter is out! This time bringing in a bundled server that can be handy for applications not running on Ruby.
Just a quick remainder about what slowed me down today.
Next release of InvoicePrinter will include a server with JSON API. That means you will be able to create simple and beautiful PDF invoices in seconds from any tech stack.