capybara-screenshot-diff 1.6.0 → 1.6.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a91dd8a070c361c9a646f9ce4587a67b770816a8637491685aef9527c235237a
|
4
|
+
data.tar.gz: c5fb14de8566174bae34f17cff2e04f1ff908ff11094a4754652f9aef303a62e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 036d7c19297100686302c36aa5a91a9cb844119a2bd1621752a6000c6b0608900665b1d16c35bdd6f347f81b19787cf916c31a8cab70d3b59f6071e6c1e26912
|
7
|
+
data.tar.gz: 7d8fffa2da879924779892469bb0ecc2c9583ffde907b5d93a7127d031786310ae50753bb2f0e989953f05dfba01bfc341c93175723cb1f68cfb8aaef6200e15
|
@@ -135,7 +135,7 @@ module Capybara
|
|
135
135
|
|
136
136
|
old_image, new_image = _load_images(old_file, new_file)
|
137
137
|
calculate_max_color_distance(new_image, old_image)
|
138
|
-
calculate_max_shift_limit(new_image, old_image)
|
138
|
+
calculate_max_shift_limit(new_image, old_image) if @shift_distance_limit
|
139
139
|
end
|
140
140
|
|
141
141
|
def calculate_max_color_distance(new_image, old_image)
|
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.6.
|
4
|
+
version: 1.6.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-04-
|
11
|
+
date: 2022-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|