eyes_core 3.17.14 → 3.17.15

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: c5cca24264fb58a6b1a1fe700837232e9e6e65ad28d82e5de6b6cad10559dadf
4
- data.tar.gz: 4b2367546d65ebede44dce7b4c196097fdde673f6111f80ff35232346a3be85b
3
+ metadata.gz: dec131b120d4dea34045090708b144981c4418a83a82477f07be4e28262e1e3f
4
+ data.tar.gz: 84c10bfef90e075c42cf9239508a273cd3a3616681b91b6d2ce7bc72e414ea45
5
5
  SHA512:
6
- metadata.gz: 7b248b3d968dd6088bc01d3d0e271092443b855a5eeea9163e6de76c7d6810fa958948973217a23245f360df5dbab47df9f42c93aaba18cdbb9f633b7ae75ff2
7
- data.tar.gz: 75a92979658b98a8e4a88cc49311622ae3b9506f023ada15b34b127b77af624e804328de1f9012daac8dde465a59fc44d582dfd8692a99fa9d7e3a9fb4b041f0
6
+ metadata.gz: 3632dd6809bd7fee35e90ccfb87a95540e72770a6f5ac5290904c30688b5ac18b9b392122c6925e4f06bf733de884117cc868d3496f0af4801b17eae167eae5e
7
+ data.tar.gz: 56a683ac460b0d1ddb26dfc3d1eed6f1803bd6fb54656ca26d08430695e65354e094e878a6ce34d49883d310fe5e1665c7e9bc39ee4269d195af916990bc2d33
@@ -4,7 +4,7 @@ module Applitools
4
4
  class AppOutput
5
5
  attr_reader :title, :screenshot64, :location
6
6
 
7
- attr_accessor :dom_url, :screenshot_url
7
+ attr_accessor :dom_url, :screenshot_url, :visual_viewport
8
8
 
9
9
  def initialize(title, screenshot64)
10
10
  @title = title
@@ -25,6 +25,7 @@ module Applitools
25
25
  ScreenshotUrl: screenshot_url
26
26
  }
27
27
  result[:DomUrl] = dom_url if dom_url
28
+ result[:visualViewport] = visual_viewport if visual_viewport
28
29
  result
29
30
  end
30
31
  end
@@ -140,7 +140,7 @@ module Applitools
140
140
  Applitools::ArgumentGuard.is_a? value, 'value', Applitools::AppOutputWithScreenshot
141
141
  @app_output = value
142
142
  hash_value = Applitools::Utils.capitalize_hash_keys(value.to_hash)
143
- [:Screenshot64, :ScreenshotUrl, :Title, :IsPrimary, :Elapsed, :Location, :DomUrl].each do |key|
143
+ [:Screenshot64, :ScreenshotUrl, :Title, :IsPrimary, :Elapsed, :Location, :DomUrl, :VisualViewport].each do |key|
144
144
  next if hash_value[key].nil?
145
145
  current_data['AppOutput'][key.to_s] = case hash_value[key]
146
146
  when Hash
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Applitools
4
- VERSION = '3.17.14'.freeze
4
+ VERSION = '3.17.15'.freeze
5
5
  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.17.14
4
+ version: 3.17.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-09 00:00:00.000000000 Z
11
+ date: 2020-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oily_png