Closed dmasur closed 9 years ago
:+1:
This is actually fixed on the master branch already: https://github.com/paolochiodi/htmlcompressor/commit/4d793ad7a0a6ccc60b723aa86aa25be2ae099998. However the ruby gem has not yet been updated. My suggestion would be to open your gem via bundle open htmlcompressor
and delete those two lines.
@izelnakri @Florian95 @dmasur I'm working on a new version collecting all the pull requests and feedback received. Unfortunately I have only spare time to work on this, thus may require another couple of days before publishing
@paolochiodi Could you push a point release which is just this bug cherry picked?
yes, @paolochiodi please push master to rubygems.
Hi guys, sorry for taking so long, but the fix is now published on rubygems under version 0.2.0
Hi paolochiodi,
thanks for your gem.
There are new warnings with ruby 2.2.0:
/Users/dmasur/.rvm/gems/ruby-2.2.0/gems/htmlcompressor-0.1.2/lib/htmlcompressor/compressor.rb:112: warning: duplicated key at line 132 ignored: :javascript_compressor /Users/dmasur/.rvm/gems/ruby-2.2.0/gems/htmlcompressor-0.1.2/lib/htmlcompressor/compressor.rb:113: warning: duplicated key at line 133 ignored: :css_compressor
the warnings is pretty clear. you declared this twice. I don't know why, maybe for documentation, so i didn't open a pull request.
Can you take a look at it?