eyes_core 3.15.44 → 3.15.45

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: 47954292903e17d1db8289932a2174c42085fbcaee899cc7d5d32b1acd8fdb13
4
- data.tar.gz: 4a6a502be11c02b11612f51f705c03c45932c7a25d23c649e24d29a58dfa9b47
3
+ metadata.gz: 7e7036a6f059c7fc7c25416ff8e142c6ab8148761f12fd230a949f8129b82bdd
4
+ data.tar.gz: 40edbf3036ca47c523092884905ddcff12713aa3e79ab96107bf86eff0fd1a2c
5
5
  SHA512:
6
- metadata.gz: 3d3536ecb960d9ad0da3c982c307a7183dfeb89bc1340512b7c4fed3a28ac7590d1f11e6169f4745ad1e71c395776ad409a5c7bed67ac7e925cdca686dbd34e8
7
- data.tar.gz: f5bea940eaa5cd488bfa7fb8ade28d76666e33f4aa88ca215f8d694240e5209e77dbaeb77275ee1ae49bcbab5145ea793b8d2cde9dfe68da797fa2b558eb666e
6
+ metadata.gz: 25b98abc2edfb50fff5ce438af074314dcb00a510011c3e3e231adc48d9468ab260b1831449795ca9feba025ca5c7a046622c3df69e8db959e4f3d8a3db9ac83
7
+ data.tar.gz: 6f09457728793d0f9c74199910be306603df9c741d2026982274d98a3403962bda0b7a6999515b317e0323a6cbc8eb95317b87a87163eb45eb0ac3de10446779
@@ -617,7 +617,7 @@ module Applitools
617
617
  end
618
618
  end
619
619
 
620
- def get_app_output_with_screenshot(region_provider, last_screenshot)
620
+ def get_app_output_with_screenshot(region_provider, _last_screenshot)
621
621
  dom_url = ''
622
622
  captured_dom_data = dom_data
623
623
  unless captured_dom_data.empty?
@@ -650,13 +650,11 @@ module Applitools
650
650
 
651
651
  screenshot = yield(screenshot) if block_given?
652
652
 
653
- logger.info 'Compressing screenshot...'
654
- compress_result = compress_screenshot64 screenshot, last_screenshot
655
- logger.info 'Done! Getting title...'
653
+ logger.info 'Getting title...'
656
654
  a_title = title
657
655
  logger.info 'Done!'
658
656
  Applitools::AppOutputWithScreenshot.new(
659
- Applitools::AppOutput.new(a_title, compress_result).tap do |o|
657
+ Applitools::AppOutput.new(a_title, screenshot).tap do |o|
660
658
  o.location = region.location unless region.empty?
661
659
  o.dom_url = dom_url unless dom_url && dom_url.empty?
662
660
  o.screenshot_url = screenshot_url if respond_to?(:screenshot_url) && !screenshot_url.nil?
@@ -665,10 +663,6 @@ module Applitools
665
663
  )
666
664
  end
667
665
 
668
- def compress_screenshot64(screenshot, _last_screenshot)
669
- screenshot # it is a stub
670
- end
671
-
672
666
  class UserInputArray < Array
673
667
  def add(trigger)
674
668
  raise Applitools::EyesIllegalArgument.new 'trigger must be kind of Trigger!' unless trigger.is_a? Trigger
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Applitools
4
- VERSION = '3.15.44'.freeze
4
+ VERSION = '3.15.45'.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.15.44
4
+ version: 3.15.45
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-12-19 00:00:00.000000000 Z
11
+ date: 2019-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oily_png