hi5dev / google-webfonts

Provides a helper for using Google Webfonts in a Rails application.
MIT License
28 stars 16 forks source link

Allow literal strings #5

Closed sirbrillig closed 10 years ago

sirbrillig commented 11 years ago

The master branch does not allow using literal strings without titleize being called. The font "Alegreya SC" cannot be used because it will be turned into "Alegreya+Sc". I propose using titleize on symbols but not on Strings.

I also commented out some code that tried to match https requests (and deleted an adjacent apparent copy/paste error), as it was causing the tests to fail. I haven't looked through the history to see where it was added, but I think it was not correct.