├── .gitignore ├── .rspec ├── .rubocop.yml ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── examples └── performance.rb ├── imatcher.gemspec ├── lib ├── imatcher.rb └── imatcher │ ├── color_methods.rb │ ├── image.rb │ ├── matcher.rb │ ├── modes.rb │ ├── modes │ ├── base.rb │ ├── delta.rb │ ├── grayscale.rb │ └── rgb.rb │ ├── rectangle.rb │ ├── result.rb │ └── version.rb └── spec ├── fixtures ├── a.png ├── a1.png ├── b.png ├── darker.png ├── delta_diff.png ├── exclude.png ├── grayscale_diff.png ├── include.png ├── rgb_diff.png ├── small.png └── very_small.png ├── image_spec.rb ├── imatcher_spec.rb ├── integrations ├── delta_spec.rb ├── grayscale_spec.rb └── rgb_spec.rb ├── matcher_spec.rb ├── rectangle_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/bin/setup -------------------------------------------------------------------------------- /examples/performance.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/examples/performance.rb -------------------------------------------------------------------------------- /imatcher.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/imatcher.gemspec -------------------------------------------------------------------------------- /lib/imatcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher.rb -------------------------------------------------------------------------------- /lib/imatcher/color_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/color_methods.rb -------------------------------------------------------------------------------- /lib/imatcher/image.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/image.rb -------------------------------------------------------------------------------- /lib/imatcher/matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/matcher.rb -------------------------------------------------------------------------------- /lib/imatcher/modes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/modes.rb -------------------------------------------------------------------------------- /lib/imatcher/modes/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/modes/base.rb -------------------------------------------------------------------------------- /lib/imatcher/modes/delta.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/modes/delta.rb -------------------------------------------------------------------------------- /lib/imatcher/modes/grayscale.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/modes/grayscale.rb -------------------------------------------------------------------------------- /lib/imatcher/modes/rgb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/modes/rgb.rb -------------------------------------------------------------------------------- /lib/imatcher/rectangle.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/rectangle.rb -------------------------------------------------------------------------------- /lib/imatcher/result.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/lib/imatcher/result.rb -------------------------------------------------------------------------------- /lib/imatcher/version.rb: -------------------------------------------------------------------------------- 1 | module Imatcher # :nodoc: 2 | VERSION = "0.1.9".freeze 3 | end 4 | -------------------------------------------------------------------------------- /spec/fixtures/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/a.png -------------------------------------------------------------------------------- /spec/fixtures/a1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/a1.png -------------------------------------------------------------------------------- /spec/fixtures/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/b.png -------------------------------------------------------------------------------- /spec/fixtures/darker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/darker.png -------------------------------------------------------------------------------- /spec/fixtures/delta_diff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/delta_diff.png -------------------------------------------------------------------------------- /spec/fixtures/exclude.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/exclude.png -------------------------------------------------------------------------------- /spec/fixtures/grayscale_diff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/grayscale_diff.png -------------------------------------------------------------------------------- /spec/fixtures/include.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/include.png -------------------------------------------------------------------------------- /spec/fixtures/rgb_diff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/rgb_diff.png -------------------------------------------------------------------------------- /spec/fixtures/small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/small.png -------------------------------------------------------------------------------- /spec/fixtures/very_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/fixtures/very_small.png -------------------------------------------------------------------------------- /spec/image_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/image_spec.rb -------------------------------------------------------------------------------- /spec/imatcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/imatcher_spec.rb -------------------------------------------------------------------------------- /spec/integrations/delta_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/integrations/delta_spec.rb -------------------------------------------------------------------------------- /spec/integrations/grayscale_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/integrations/grayscale_spec.rb -------------------------------------------------------------------------------- /spec/integrations/rgb_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/integrations/rgb_spec.rb -------------------------------------------------------------------------------- /spec/matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/matcher_spec.rb -------------------------------------------------------------------------------- /spec/rectangle_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/rectangle_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teachbase/imatcher/HEAD/spec/spec_helper.rb --------------------------------------------------------------------------------