watchdoge 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/watchdoge/compare.rb +2 -0
- data/lib/watchdoge/version.rb +1 -1
- data/watchdoge.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71e9541984abacd3fd2c70cd0bd5d9fd657bf04dd599474d335f96da29eaa510
|
4
|
+
data.tar.gz: f21073b8a3723f3da851576b4d597f6662e3535384d13c39a5e3a64a44991060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0c9072c8a1e181f8d1f2460f6e94616ba8b7518808a86a72eeb92ab477c733f4d5bdabd293c6e1b419a787ac5708dbbb53ffcb40d6b16facc9ea23013756969
|
7
|
+
data.tar.gz: 9f1cb7e45e1061bd344c1caf0e76db8d639e1d627216153c48e617f2ffa0b14098750731414be3b180b0e08aa13f319bfd4e9689a6134528cab1b6dec882900f
|
data/lib/watchdoge/compare.rb
CHANGED
@@ -42,6 +42,8 @@ module WatchDoge
|
|
42
42
|
reference_image = self.class.load_png self.reference_image
|
43
43
|
cycle_image = self.class.load_png worker.screenshot.png
|
44
44
|
diff = WatchDoge::ImageDiff.diff(cycle_image, reference_image)
|
45
|
+
WatchDoge::Notification.push cycle_image if ENV['WATCHDOGE_DEBUG']
|
46
|
+
WatchDoge::Notification.push reference_image if ENV['WATCHDOGE_DEBUG']
|
45
47
|
WatchDoge::Notification.push diff if diff
|
46
48
|
}
|
47
49
|
end
|
data/lib/watchdoge/version.rb
CHANGED
data/watchdoge.gemspec
CHANGED