eyes_core 3.6.6 → 3.6.7

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
  SHA1:
3
- metadata.gz: d0af160a9d4c23132f0157a2f7c1f9c3e6ee5a70
4
- data.tar.gz: b784261c4ab25b34cb427b86a5c5ed516c34db5b
3
+ metadata.gz: d9c37ec1b4d7a3fee1e80126acd9216bb71be6a5
4
+ data.tar.gz: c62e518325a9faadf6d144f6099f6839daa2581f
5
5
  SHA512:
6
- metadata.gz: 3f071a1df3b3d861ab0d898f83c1d894efdb6a47e33c28b85424472f958bd6bc18b06cd226941fa93d70fa36dd7574533c8716b5f1903f1494b39ed2882f427d
7
- data.tar.gz: 39f1310318b3ac8c2c8aae040c8f4ce12fd606944849580d7f1a566840e50fa71636ecb6c667dbefc1bdec37ac4fe573457ef2d004f467f3f36df08fb6ef4bc9
6
+ metadata.gz: d6b7061f07854600ed8ee20d390c18173a1c32dd152f8877160fff7d97f1c1b177656e0e1e8017df21f1ce626a3d32791c749a3d8cac9cd4351e00b3e95fa02e
7
+ data.tar.gz: 8883d127dcbbe830fb54f45bff71ba3bc0777688a6c29eee049097c35f2b5183c6558cee2ddc5aa9f4a5a2e5380521290035a4b8c63fd5a44e691757cae4b4eb
@@ -22,7 +22,7 @@ module Applitools
22
22
  CONTEXT_RELATIVE = Applitools::EyesScreenshot::COORDINATE_TYPES[:context_relative].freeze
23
23
 
24
24
  def_delegators 'Applitools::EyesLogger', :logger, :log_handler, :log_handler=
25
- def_delegators '@server_connector', :api_key, :api_key=, :server_url, :server_url=,
25
+ def_delegators 'server_connector', :api_key, :api_key=, :server_url, :server_url=,
26
26
  :set_proxy, :proxy, :proxy=
27
27
 
28
28
  # @!attribute [rw] verbose_results
@@ -110,6 +110,10 @@ module Applitools
110
110
  current_data['Options']['ImageMatchSettings']['MatchLevel'] = value
111
111
  end
112
112
 
113
+ def match_level
114
+ current_data['Options']['ImageMatchSettings']['MatchLevel']
115
+ end
116
+
113
117
  def read_target(target, driver)
114
118
  # options
115
119
  %w(trim).each do |field|
@@ -1,3 +1,3 @@
1
1
  module Applitools
2
- VERSION = '3.6.6'.freeze
2
+ VERSION = '3.6.7'.freeze
3
3
  end
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.6.6
4
+ version: 3.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-12 00:00:00.000000000 Z
11
+ date: 2017-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oily_png