andymeneely / squib

A Ruby DSL for prototyping card games.
http://squib.rocks
MIT License
918 stars 67 forks source link

Fixes a missed rename of RSVG to Rsvg #361

Closed spilth closed 2 years ago

spilth commented 2 years ago

Motivation

Whilst trying to embed SVGs into text I was getting the following error:

❯ rake deck
rake aborted!
NameError: uninitialized constant Squib::Card::RSVG

          RSVG::Handle.new_from_data(svg_data).width
          ^^^^
Did you mean?  Rsvg

I discovered there had previously been a rename and it looks like this file got missed. I proved this out by first using bundle open to change the code and confirming the above command works.