capybara-screenshot-diff 1.7.0 → 1.7.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: c2aaf70ea2e2737e435920bc94a4504a2d2d3fe9d92874a4f1a9ac2f66527ed1
4
- data.tar.gz: '087a7e5e2636a56318884f7d272126e62faea68c49401e96fa40a4a0d43bfb8b'
3
+ metadata.gz: b5720ce552818a78eecc14cea2ba443d1788c282d21a063c0088109f3115e78b
4
+ data.tar.gz: fe2635d43016fa6350687c77f7d17ff1a11beb1d0e56f7357b63a04e4fb590ec
5
5
  SHA512:
6
- metadata.gz: 7c636d231583f4b3df1404aff861ef94000752e8b07edc829e2c16d56e34e2ba7418849c7e875a9e625832a6b8259f854c3ff3e0883c20d5942350d34181bc7d
7
- data.tar.gz: f706ccc8937cd86a53b0a0dd04cb2429e77d4ef1ac643b898ce7bc08c4b623c976ce3f402136fccf0851c99509ec346102a48ef724a4711f70e73e438cf2a973
6
+ metadata.gz: 4a0830ab529fcbacf843e3ea7ae168a752ca4b5b03f613e81437e5e7856037856ac9b7562e6a78304ecb8257ac9286456db669fe8e1763b94db1436e79c59439
7
+ data.tar.gz: 00d73d7a68b91b8ec35ae828b27141723c6cc67ed57d73b7780e3b8942d11eb383f410225af347e0acf078459eb674e7da93fa329758b5cc4a475a4129fccdf1
@@ -78,7 +78,7 @@ module Capybara
78
78
 
79
79
  comparison = ImageCompare.new(file_name, nil, driver_options)
80
80
  checkout_vcs(name, comparison.old_file_name, comparison.new_file_name)
81
- take_screenshot(comparison, crop, stability_time_limit, wait)
81
+ take_comparison_screenshot(comparison, crop, stability_time_limit, wait)
82
82
 
83
83
  return false unless comparison.old_file_exists?
84
84
 
@@ -112,7 +112,7 @@ module Capybara
112
112
  FileUtils.mkdir_p File.dirname(file_name)
113
113
  end
114
114
 
115
- def take_screenshot(comparison, crop, stability_time_limit, wait)
115
+ def take_comparison_screenshot(comparison, crop, stability_time_limit, wait)
116
116
  blurred_input = prepare_page_for_screenshot(timeout: wait)
117
117
  if stability_time_limit
118
118
  take_stable_screenshot(
@@ -3,7 +3,7 @@
3
3
  module Capybara
4
4
  module Screenshot
5
5
  module Diff
6
- VERSION = "1.7.0"
6
+ VERSION = "1.7.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.7.0
4
+ version: 1.7.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: 2022-09-27 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack