Closed trotzig closed 8 years ago
Weird. decode_png_image_pass
definitely requires 7 arguments now. This was previously 6.
However, the 2 locations where this method is called are both updated to have the 7th argument.
Are you overriding decode_png_image_pass
somewhere in your code?
/home/travis/build/Galooshi/happo/vendor/bundle/ruby/2.0.0/gems/chunky_png-1.3.7/lib/chunky_png/canvas/png_decoding.rb
?eyes_selenium was also broken by this API change.
I don't think we are overriding anything from chunky png. If it is helpful, this is the line that seems to cause this problem: https://github.com/Galooshi/happo/blob/ce49454700aecfede3950298bf85d25ac7b34658/lib/happo/runner.rb#L124
screenshot = ChunkyPNG::Image.from_blob(driver.screenshot_as(:png))
We are using oily png, which does redefine this method. I think that probably needs to be updated at the same time.
This should be fixed by using oily_pong version 1.2.1
I maintain a project called happo. We have a dependency on chunky png that looks like this in our gemspec file:
After 1.3.7 was released, we started seeing this in our builds:
https://github.com/Galooshi/happo