LightGuard/awestruct — pull request #2 by mojavelinux (2013-07-31 19:40:37+00:00)
Title: pull request #330 review

fix broken encoding test in JRuby

- split out read_content method in file handler
- change file handler to read using 'r' mode
- add verbatim file handler to read using 'rb' mode
- switch to best practice for reading file
- pin rspec to 2.13 to prevent deprecation warnings
- require htmlcompressor >= 0.0.7 as test enforces newer results
- fix interpolator test in Ruby 1.8.7