USPSFlags Grades
An extension for USPSFlags to generate regrade insignia.
Usage
insignia = USPSFlags::Grades.new do |g|
g.grade = :sn
g.membership = :senior
g.merit_marks = 20
g.outfile = "/path/to/svg/output.svg"
end
insignia.svg #=> Generates SVG file at "/path/to/svg/output.svg"
Security
This gem is cryptographically signed. To be sure the gem code hasn’t been tampered with:
Add my public key as a trusted certificate:
gem cert --add <(curl -Ls https://raw.github.com/jfiander/usps-flags_grades/master/certs/jfiander.pem)
Then install the gem securely:
gem install usps_flags-grades -P HighSecurity
License
Actual images generated are registered trademarks of United States Power Squadrons.
This project is released under the GPLv3.