Package: ruby-simplecov / 0.7.1-2
Patch seriesview the series file
|remove rubygems bundler.patch | (download)||
remove bundler We'll collect dependencies in debian/control
|ignore simplecov html | (download)||
13 11 + 2 - 0 !
ignore simplecov-html load failured Break dependency cycle
|open source files in binary mode | (download)||
3 1 + 2 - 0 !
[patch] open source files in binary mode Opening non-UTF-8 files as UTF-8 succeeds in some cases and will throw <ArgumentError: invalid byte sequence in UTF-8> when comparing against a regexp. Forcing Ruby to use binary mode will keep strings as ASCII-8BIT and seems to work on all current versions of Ruby. Moreover, there is no way to know for sure which encoding is used without heuristics or parsing the potential encoding shebang thus binary mode is probably safer. [email@example.com: Backport to simplecov 0.7]