eyes_core 3.15.15 → 3.15.16
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: 6859211e490457162a27228401f1850d5db1eb48adf4fe6ba43fc83437052d4f
|
4
|
+
data.tar.gz: 6ed96d8640b84ea13f9f3aa6b764d032156755fb7e871e7809ac85e5b094155d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34ce20c7cc15c24ce3b07c28e32367dbaad52bebcf850c5214804e66e1416450b15ea500e615d8b6e57f9707e1ee034d78f906a6cd358d3c42045c2429d3280b
|
7
|
+
data.tar.gz: 7529652224fcc79e679ecfc6f0278da29268976aefe4cbce6b232e7fc69131a3211fc7fd36bcc09b94d189690239798509f078ad9b42f31a9596ffeccda832e4
|
@@ -23,6 +23,7 @@ module Applitools
|
|
23
23
|
'SplitTopHeight' => 0,
|
24
24
|
'SplitBottomHeight' => 0,
|
25
25
|
'IgnoreCaret' => true,
|
26
|
+
'IgnoreDisplacements' => false,
|
26
27
|
'Ignore' => [],
|
27
28
|
'Floating' => [],
|
28
29
|
'Exact' => {
|
@@ -176,6 +177,14 @@ module Applitools
|
|
176
177
|
current_data['Options']['ImageMatchSettings']['EnablePatterns'] = value
|
177
178
|
end
|
178
179
|
|
180
|
+
def ignore_displacements
|
181
|
+
current_data['Options']['ImageMatchSettings']['IgnoreDisplacements']
|
182
|
+
end
|
183
|
+
|
184
|
+
def ignore_displacements=(value)
|
185
|
+
current_data['Options']['ImageMatchSettings']['IgnoreDisplacements'] = value
|
186
|
+
end
|
187
|
+
|
179
188
|
def exact=(value)
|
180
189
|
raise Applitools::EyesError.new('You should pass a hash as a value!') unless value.nil? || value.is_a?(Hash)
|
181
190
|
return current_data['Options']['ImageMatchSettings']['Exact'] = nil if value.nil?
|
@@ -224,7 +233,7 @@ module Applitools
|
|
224
233
|
end
|
225
234
|
|
226
235
|
def target_options_to_read
|
227
|
-
%w(trim ignore_caret match_level ignore_mismatch exact use_dom enable_patterns)
|
236
|
+
%w(trim ignore_caret match_level ignore_mismatch exact use_dom enable_patterns ignore_displacements)
|
228
237
|
end
|
229
238
|
|
230
239
|
private :target_options_to_read
|
data/lib/applitools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyes_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.15.
|
4
|
+
version: 3.15.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oily_png
|