eyes_calabash 4.0.2 → 4.0.3

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: c491885411f91ff5f928f408646b3b983fa1f4ac
4
- data.tar.gz: '098e03e8b13e8b64cff635819b53249d6a206a1e'
3
+ metadata.gz: 4e58bb3265ebf7b8e8d4c76d0e4c360ec8ad0364
4
+ data.tar.gz: 9e8c3a480db047df8cf23e80eb14a436be117e54
5
5
  SHA512:
6
- metadata.gz: e07a3a2fd619d0fe4604753b567848c7be82337dd11d4e51d1b8959935e1e71c35007d6b1d1974e9f794c798746fc7271bda91951a799ade057be67ea1a8aa16
7
- data.tar.gz: 13c424363a82f4e3acc920eeaace3840447c25db04c7c541803ba3812b2f6d020960aa361420ec6a5beeb5156036cb2300840941b63f7f916a43ef9fef4555dd
6
+ metadata.gz: 354853d772b8ffa5e47c1468d2db1a9116550600ee5339ecb57d729611dccca0aaa6a75051363b25255b363231415ffc36ab29b249b0ffba1d8a6bd9b3621d01
7
+ data.tar.gz: 40f6a28a8c012afe6d0f8e8401d889f9b842f57b6e401e875773ef02399b520e4461620966261718e4e7d207705a2b881d36c72755131f869aab7d5b3a4659a9
@@ -44,19 +44,19 @@ module Applitools
44
44
  def capture_screenshot(options = {})
45
45
  sleep WAIT_BEFORE_SCREENSHOT
46
46
  result = nil
47
- Applitools::Calabash::Utils.using_screenshot(context) do |screenshot_path|
48
- screenshot = ::ChunkyPNG::Image.from_file(screenshot_path)
49
- save_debug_screenshot(screenshot, ['original', options[:debug_suffix]])
50
- viewport_size = Applitools::Calabash::EyesSettings.instance.viewport_size
51
- screenshot.crop!(0, 0, viewport_size[:width], viewport_size[:height])
52
- save_debug_screenshot(screenshot, ['cropped', options[:debug_suffix]])
53
- result = Applitools::Calabash::EyesCalabashAndroidScreenshot.new(
54
- Applitools::Screenshot.from_image(
55
- screenshot
56
- ),
57
- density: density
58
- )
59
- end
47
+ # Applitools::Calabash::Utils.using_screenshot(context) do |screenshot_path|
48
+ # screenshot = ::ChunkyPNG::Image.from_file(screenshot_path)
49
+ # save_debug_screenshot(screenshot, ['original', options[:debug_suffix]])
50
+ # viewport_size = Applitools::Calabash::EyesSettings.instance.viewport_size
51
+ # screenshot.crop!(0, 0, viewport_size[:width], viewport_size[:height])
52
+ # save_debug_screenshot(screenshot, ['cropped', options[:debug_suffix]])
53
+ # result = Applitools::Calabash::EyesCalabashAndroidScreenshot.new(
54
+ # Applitools::Screenshot.from_image(
55
+ # screenshot
56
+ # ),
57
+ # density: density
58
+ # )
59
+ # end
60
60
  result
61
61
  end
62
62
  end
@@ -66,16 +66,16 @@ module Applitools
66
66
  def capture_screenshot(options = {})
67
67
  sleep WAIT_BEFORE_SCREENSHOT
68
68
  result = nil
69
- Applitools::Calabash::Utils.using_screenshot(context) do |screenshot_path|
70
- screenshot = ::ChunkyPNG::Image.from_file(screenshot_path)
71
- save_debug_screenshot(screenshot, options[:debug_suffix])
72
- result = Applitools::Calabash::EyesCalabashIosScreenshot.new(
73
- Applitools::Screenshot.from_image(
74
- screenshot
75
- ),
76
- scale_factor: density
77
- )
78
- end
69
+ # Applitools::Calabash::Utils.using_screenshot(context) do |screenshot_path|
70
+ # screenshot = ::ChunkyPNG::Image.from_file(screenshot_path)
71
+ # save_debug_screenshot(screenshot, options[:debug_suffix])
72
+ # result = Applitools::Calabash::EyesCalabashIosScreenshot.new(
73
+ # Applitools::Screenshot.from_image(
74
+ # screenshot
75
+ # ),
76
+ # scale_factor: density
77
+ # )
78
+ # end
79
79
  result
80
80
  end
81
81
  end
@@ -30,7 +30,7 @@ module Applitools
30
30
 
31
31
  def create_entire_image
32
32
  current_entire_size = entire_size
33
- @stitched_image = ::ChunkyPNG::Image.new(current_entire_size.width, current_entire_size.height)
33
+ # @stitched_image = ::ChunkyPNG::Image.new(current_entire_size.width, current_entire_size.height)
34
34
  end
35
35
 
36
36
  def entire_content
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Applitools
4
- VERSION = '4.0.2'.freeze
5
- UNIVERSAL_VERSION = '1.0.9'.freeze
4
+ VERSION = '4.0.3'.freeze
5
+ UNIVERSAL_VERSION = '2.5.7'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_calabash
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.0.2
61
+ version: 4.0.3
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 4.0.2
68
+ version: 4.0.3
69
69
  description: Provides SDK for writing Applitools Calabash tests.
70
70
  email:
71
71
  - team@applitools.com