sandal/prawn — pull request #299 by boutil (2011-11-22 15:07:40+00:00)
Title: please consider using a constant variable for Prawn::BASEDIR/data

Hi!
Converting prawn to a Linux distribution package requires to follow the Filesystem Hierarchy Standard, and things in the data/ directory need to be moved to some location (e.g. to /usr/share/ruby-prawn) that is not directly above the basedir of prawn (in /usr/lib/ruby/something).
Would you consider defining a new constant in lib/prawn/core.rb (e.g Prawn::DATADIR) that would be initially set to Prawn::BASEDIR/data,but could be easily modified with a one-liner patch? That would help a lot to move things around, without having to extensively patch the source.
The following commit implements such a proposition.

Thank you in advance for your consideration.

Cédric