eyes_core 3.15.19 → 3.15.20
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: 8467f8105f31c3f211c69d80cbf435f8c0429db952c2333a7e4cfb42228a30dc
|
4
|
+
data.tar.gz: fc2d214ad9aec9b7f0dfd49773cef6b8df1cd76fce5af71932b48ba14252b4f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e45b9e404641071062fd782bb99bf1cda0dbdaad9282c5b4fa92b60d331a81cb7868450055da5a0527ddda0b11357e4be0df39a54a8b9b90c22fb865b0f5ff84
|
7
|
+
data.tar.gz: e91ae965b9dbf8ed1ffd4a4a30aec841e63b43b974467cf0ca715fa71c5e19d264bcf84f7e71d68523d113aa26c4487d2dd5ee4e63a53613464b19c55e20cc7f
|
@@ -55,7 +55,7 @@ module Applitools
|
|
55
55
|
attr_accessor :batch, :full_agent_id,
|
56
56
|
:match_timeout, :save_new_tests, :save_failed_tests, :failure_reports, :default_match_settings, :cut_provider,
|
57
57
|
:scale_ratio, :position_provider, :viewport_size, :verbose_results,
|
58
|
-
:inferred_environment, :remove_session_if_matching, :server_scale, :server_remainder, :
|
58
|
+
:inferred_environment, :remove_session_if_matching, :server_scale, :server_remainder, :exact,
|
59
59
|
:compare_with_parent_branch, :results
|
60
60
|
|
61
61
|
abstract_attr_accessor :base_agent_id
|
@@ -125,12 +125,6 @@ module Applitools
|
|
125
125
|
@server_connector
|
126
126
|
end
|
127
127
|
|
128
|
-
def match_level=(value)
|
129
|
-
return @match_level = value if Applitools::MATCH_LEVEL.values.include?(value)
|
130
|
-
return @match_level = Applitools::MATCH_LEVEL[value.to_sym] if Applitools::MATCH_LEVEL.keys.include?(value.to_sym)
|
131
|
-
raise Applitools::EyesError, "Unknown match level #{value}"
|
132
|
-
end
|
133
|
-
|
134
128
|
# Sets default match_level which will be applied to any test, unless match_level is set for a test explicitly
|
135
129
|
# @param [Symbol] value Can be one of allowed match levels - :none, :layout, :layout2, :content, :strict or :exact
|
136
130
|
# @param [Hash] exact_options exact options are used only for :exact match level
|
@@ -106,6 +106,12 @@ module Applitools
|
|
106
106
|
self.proxy = Applitools::Connectivity::Proxy.new(uri, user, password)
|
107
107
|
end
|
108
108
|
|
109
|
+
def match_level=(value)
|
110
|
+
return config_hash[:match_level] = value if Applitools::MATCH_LEVEL.values.include?(value)
|
111
|
+
return config_hash[:match_level] = Applitools::MATCH_LEVEL[value.to_sym] if Applitools::MATCH_LEVEL.keys.include?(value.to_sym)
|
112
|
+
raise Applitools::EyesError, "Unknown match level #{value}"
|
113
|
+
end
|
114
|
+
|
109
115
|
methods_to_delegate.push(:set_proxy)
|
110
116
|
end
|
111
117
|
end
|
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.20
|
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-06-
|
11
|
+
date: 2019-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oily_png
|