whomwah/rqrcode — pull request #10 by nofxx (2011-10-17 08:37:06+00:00)
Title: Export modular, starting with SVG and PNG

Hello there,

I'm doing some QRCode for an app and thought pre-cached images would be a nice idea. SVG very nice for printing and resizing too, not much to ask from a vector heh.
Happily I've found both implementations floating around. SVG as a rails plugin and PNG code added directly into RQRCode.

I've implemented both in a modular way, it's up to the user to require it if needed. No extra dependencies added to rqrcode core.

For tests, I used minitest, which is standard lib in 1.9 and avaiable <=1.8 via gem. It reads very nice (think must=should and it's rspec!), I would like to suggest it.