watchdoge 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3eb87b21a68f59733385ae00ff2f0583d5c5a1c6eee01524ac3c8a467cf000a6
4
- data.tar.gz: b20a958577dcd710949df7da1b819f0a042a0b3822eaf2ebaa23f7762f876363
3
+ metadata.gz: f1255a9fce4e99291b3fe8711ad2fbbc85591e8b55dbb7d178abc2d87b339414
4
+ data.tar.gz: bb3e38c2da5aec42d638fd1c915165d74d7bf85c13a48ce360bee1bc9b4ff9f9
5
5
  SHA512:
6
- metadata.gz: b01ef74b9a34053ca84ac42b7fea59f7598e81631071248912fde6c28b3f76d6a0910d48a6b7d63fdf3418df37827c95ddede2023f69cdd177ed3e1d60bffb79
7
- data.tar.gz: 127ab34dbf2c4b40b0c8c0c1ce1a1b384d506aabc2cc40e9696cf6a1761d0053b0e3ef0686f1a4e1f30063cc65249a33e252285fae44301d91fbc9fcfe8d72a9
6
+ metadata.gz: 84b279bd118d1056638ad6f7033af9addbd4369308147113bf7328c52af2685866a7e16715217754433251d7203ec7b24f4b220ad98eac19e9ae0a1a45514b66
7
+ data.tar.gz: 79162b0e6ca9950fa6cc4ec209e8134c14b70c2d57b515cbf4bcf560cbb1b7d54eec44c18711c61738081e9c2c413aea69903520c5918fec64eecfa76c4779ad
@@ -42,9 +42,13 @@ 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']
47
- WatchDoge::Notification.push diff if diff
45
+ if diff
46
+ if ENV['WATCHDOGE_DEBUG']
47
+ WatchDoge::Notification.push cycle_image
48
+ WatchDoge::Notification.push reference_image
49
+ end
50
+ WatchDoge::Notification.push diff
51
+ end
48
52
  }
49
53
  end
50
54
 
@@ -1,3 +1,3 @@
1
1
  module WatchDoge
2
- Version = '0.0.17'
2
+ Version = '0.0.18'
3
3
  end
data/watchdoge.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'watchdoge'
3
- s.version = '0.0.17'
3
+ s.version = '0.0.18'
4
4
  s.date = '2019-07-22'
5
5
  s.summary = "dogi"
6
6
  s.description = "A collection of web test tools"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watchdoge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shen Lee