Skip to content

Releases: jnormington/dotdiff

Change from rmagick -> mini_magick

31 Jul 11:48
Compare
Choose a tag to compare

Change from rmagick -> mini_magick - contributed by @boris-petrov

Ensure to write .new images on image dimension mismatch

28 Mar 17:40
Compare
Choose a tag to compare

Changelog

Version: 3.0.1

Fixes a minor issue that when the image dimensions are not the same it now generates the .new images as before (previously the image dimension mismatch was handled by compare, but now it appears that its possible that it will return the diff pixel count. So now we've implemented a check, which didn't correctly follow the same workflow as before. It does now.

Several updates and new percentage pixel_threshold support

21 Mar 19:57
Compare
Choose a tag to compare

Changelog

Version: 3.0.0

  • Updates the gemspec to allow newer version of rmagick and rmagick4j
  • Simplifies the command wrapper class to only execute the command nothing else
  • Introduces a new comparible module for page and element to do the comparing simplifying the Comparer class considerably, and making unit testing these much more easily
  • Supports percentage pixel threshold, with the support of a new threshold calculator
  • Adds deprecation warning for pixel_threshold configs that don't pass a Hash config, but continues to support current users for backward compatibility
  • Adds a new image container to validate the base and new images are of the same dimensions. Previously compare would have complained - however it appears that newer versions of compare don't error when the base and new image are of differing dimensions meaning that for percentage config, it would incorrectly pass, so this is an additional guard to prevent that.

Development improvements

  • Adds rubocop and linted all code to make consistent for new contributors to use
  • Fixes some random flakey specs due to modifying config state leaking into other specs

Support JRuby

07 May 20:45
Compare
Choose a tag to compare

This release supports JRuby as contributed by @boris-petrov #16

1.2.0

07 Sep 11:48
Compare
Choose a tag to compare
Update the gem version to 1.2.0

1.1.1

06 Aug 14:19
Compare
Choose a tag to compare

Fix error with non-existent method calls to the rmagick library.

1.1.0

06 Aug 13:27
Compare
Choose a tag to compare

This release removes the chunky_png and replaces it with rmagick due to performance issues for our use case.

1.0.0

26 Mar 22:25
Compare
Choose a tag to compare
Update to first major version and update README

0.3.1

26 Mar 12:45
Compare
Choose a tag to compare
Increase minor version for new release

 - allow find to find hidden elements as well

0.2.0

14 Mar 23:36
Compare
Choose a tag to compare
Ensure to not execute js when the element is undefined