watchdoge 0.0.9 → 0.0.10

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: 036673433a8cb2be5917c1b9c2bc8c90025d22c90882d9d0e883963da9c6cd5c
4
- data.tar.gz: 3c5e1158594058c9c4894b9c0804c7900f752bc66ddf1f070b0990f9e95184fa
3
+ metadata.gz: a7e1be951153dcc56e0c3a4932a1429e33e3c1569ece2b3a8e0f5b8ce876ce70
4
+ data.tar.gz: 8b1aee985d16bb349ca81fab4836e5af4363e9ce6311554415013fe1298496d2
5
5
  SHA512:
6
- metadata.gz: 480319b7dcb13d6ad87729ba577521f1e4f60a218f2bd9e68365b8f084e33e498bb31f535745e68dfeb184c44fe0a6d0129a333a61a55b04d276df8443ae7d3c
7
- data.tar.gz: 12b7b8d9ae0e6e724976dc6abf47f581ad6aeedbf7d2169a60aa23ee5db3d596cd730c39b1afc6c752556cf77f27d0d1a799d7c80186b95c6eb1ab8feafb654b
6
+ metadata.gz: 025bc1db4d22c0fa6a190d5ce7d4f8cb7e81c8c2eb8191269bc4db3ea87d28e90902ebc470d12be9b7ad3ad9e5263a406ce1d279c6a4e7055c9bfe6d3e6b92ee
7
+ data.tar.gz: 988085ef97efc7fcd176132d60286adfe520bb880d6c5cacd2e47b78a9fcfa596885dff012a38445a6bd5b89015cee70092e1b31050ca1797543d0ba565aebb7
@@ -34,13 +34,13 @@ module WatchDoge
34
34
  when :make_reference
35
35
  @compare_proc = -> (worker) {
36
36
  puts " -> make reference images on worker #{worker}"
37
- worker.fullpage_screenshot.save reference_image
37
+ worker.screenshot.save reference_image
38
38
  }
39
39
  when :compare_reference
40
40
  @compare_proc = -> (worker) {
41
41
  puts " -> compare reference images on worker #{worker}"
42
42
  reference_image = self.class.load_png self.reference_image
43
- cycle_image = self.class.load_png worker.fullpage_screenshot.png
43
+ cycle_image = self.class.load_png worker.screenshot.png
44
44
  diff = WatchDoge::ImageDiff.diff(cycle_image, reference_image)
45
45
  WatchDoge::Notification.push diff if diff
46
46
  }
@@ -1,3 +1,3 @@
1
1
  module WatchDoge
2
- Version = '0.0.9'
2
+ Version = '0.0.10'
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.9'
3
+ s.version = '0.0.10'
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.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shen Lee