capybara-screenshot-diff 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dc2b0fb0ecc0721b9a857dbd62e0136e156fac4392203fe43b09e8b92fed361
4
- data.tar.gz: dc70029a9a9d8b66a7e499e3c8fc1d86e9cd313fcb207b9e9232cc1ad3ff3975
3
+ metadata.gz: fd19e8c2bc84aa9f1339d82fc20b16767337d3518364e1a658f73fd832488a6b
4
+ data.tar.gz: 584607e9e33873c9b5411320f721ad350d125b7d8acc3ae03d98371c8ffe86a2
5
5
  SHA512:
6
- metadata.gz: 146567ed853d61596d5e88705d5da091f36f8cfd8f2c1503f30cbd916dcf59af652471fd12999ba77ede4fb15fff40c931bd1eb7e391feca83f8eb4a84fc97ae
7
- data.tar.gz: b0ac70b70be9577603253e21a591f4031897f2ef0b78bf470a5b6b0c942837aa454b9b0069f7a38578f0afbd3708d9958c790bb9bc345da240ffcdff637c05ea
6
+ metadata.gz: e71fcea0778aff709d4857706d6b880fd8ea5336886025c12fb8cc9573a350010df137a1bf44f797e49b9e6aa8bd53e05153e90f729d648fce62e3f51a103160
7
+ data.tar.gz: febeb583ce4dbd4a2f125103cd86b48a2d9dcace05a7158dc5f1cabf6f807031ca0e4619fffaf41a18e8277354c0567fa31abd8e220a9fbc4a6bf1d85170f53b
@@ -50,14 +50,13 @@ module Capybara
50
50
  else
51
51
  last_image_change_at = Time.now
52
52
  end
53
-
54
- check_max_wait_time(comparison, screenshot_started_at,
55
- shift_distance_limit: shift_distance_limit)
56
53
  end
57
54
 
58
55
  previous_file_name = "#{comparison.new_file_name.chomp('.png')}_x#{format('%02i', i)}.png~"
59
-
60
56
  FileUtils.mv comparison.new_file_name, previous_file_name
57
+
58
+ check_max_wait_time(comparison, screenshot_started_at,
59
+ shift_distance_limit: shift_distance_limit)
61
60
  end
62
61
  ensure
63
62
  blurred_input&.click
@@ -3,7 +3,7 @@
3
3
  module Capybara
4
4
  module Screenshot
5
5
  module Diff
6
- VERSION = '1.2.0'
6
+ VERSION = '1.2.1'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-screenshot-diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uwe Kubosch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-30 00:00:00.000000000 Z
11
+ date: 2019-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack