eyes_images 6.7.10 → 6.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c2637ea98c6600567254b88e38489eb99663343ce6afc4b7412179f5960ec78
4
- data.tar.gz: 8367e0f0c90a61343ce22a084242dc4dff17e82c08da7fd563ca280e6f3a0c28
3
+ metadata.gz: 00c0d0a5247e54ea58ae91b31357aadcb1eb1def40e41d95e4fa1563063de3fb
4
+ data.tar.gz: 66cf623313fb638c1508604421097c2dea129091fb3ce3594ca73ae2615126fc
5
5
  SHA512:
6
- metadata.gz: 8e4e1b2d383d6cd920567d9534bd7c8a20b8796495f940ee03706b2c4d6f3fdfc620c69f2282bf08f2cbd7a621d2fa72d81b5265eacad7150bf7ce24915e3847
7
- data.tar.gz: b748d4b8ff3da8bf935e8add2d8836ea3febf08e91fbf3886263e09eb9c7be563ea2bc2d4785c05846c9cd85abf2168b3163423e7238f03b0711dfbfdc9f712a
6
+ metadata.gz: c98108c531b935f4124e23b2e81103d2233fb92c17d7bf0ceea719a4fc51d47cc9362c7a54d051560f3a70501a40d04106caf8231115fbebdfe3115429964323
7
+ data.tar.gz: 14c49829e0391ff4e82ee2edd432aeaf2380717b96ddd72ee0320c57672e7195a20eb3855b95eeb7ca92c4e743e46b31132ccd6040065bfe47c0dfe776c69792
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.7.11](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.7.10...ruby/eyes_images@6.7.11) (2025-12-14)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/core-base bumped to 1.31.0
9
+ #### Features
10
+
11
+ * Baseline branch fallback list | FLD-3837 ([#3373](https://github.com/Applitools-Dev/sdk/issues/3373)) ([e94bb10](https://github.com/Applitools-Dev/sdk/commit/e94bb10ad6b49322a56e4ce6dfde560b237e9ac0))
12
+ * @applitools/core bumped to 4.54.0
13
+ #### Features
14
+
15
+ * Baseline branch fallback list | FLD-3837 ([#3373](https://github.com/Applitools-Dev/sdk/issues/3373)) ([e94bb10](https://github.com/Applitools-Dev/sdk/commit/e94bb10ad6b49322a56e4ce6dfde560b237e9ac0))
16
+
17
+
18
+
19
+ * @applitools/nml-client bumped to 1.11.13
20
+
21
+ * @applitools/ec-client bumped to 1.12.15
22
+
23
+ * eyes_universal bumped to 4.54.0
24
+
25
+ * eyes_core bumped to 6.9.11
26
+
27
+
3
28
  ## [6.7.10](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.7.9...ruby/eyes_images@6.7.10) (2025-12-07)
4
29
 
5
30
 
data/eyes_images.gemspec CHANGED
@@ -29,5 +29,5 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
30
30
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
31
31
  spec.require_paths = %w(lib)
32
- spec.add_dependency 'eyes_core', "= 6.9.10"
32
+ spec.add_dependency 'eyes_core', "= 6.9.11"
33
33
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Applitools
4
4
  module EyesImages
5
- VERSION = '6.7.10'.freeze
5
+ VERSION = '6.7.11'.freeze
6
6
  end
7
7
  end
@@ -15,11 +15,6 @@ module Applitools::Images
15
15
  # @!visibility private
16
16
  attr_accessor :base_agent_id, :screenshot, :inferred_environment, :title
17
17
 
18
- # @!visibility private
19
- def capture_screenshot
20
- @screenshot
21
- end
22
-
23
18
  # Creates a new eyes object
24
19
  # @example
25
20
  # eyes = Applitools::Images::Eyes.new
@@ -107,59 +102,7 @@ module Applitools::Images
107
102
 
108
103
  def check_it(name, target, match_window_data)
109
104
  Applitools::ArgumentGuard.not_nil(name, 'name')
110
-
111
- return universal_check(name, target)
112
-
113
- region_provider = get_region_provider(target)
114
-
115
- match_window_data.tag = name
116
- match_window_data.read_target(target, nil)
117
-
118
- image = target.image
119
- self.viewport_size = Applitools::RectangleSize.new image.width, image.height if viewport_size.nil?
120
- self.screenshot = image
121
-
122
- if match_window_data.is_a? Applitools::MatchSingleCheckData
123
- return check_single_base(
124
- region_provider,
125
- target.options[:timeout] || Applitools::EyesBase::USE_DEFAULT_TIMEOUT,
126
- match_window_data
127
- )
128
- end
129
-
130
- check_window_base(
131
- region_provider,
132
- target.options[:timeout] || Applitools::EyesBase::USE_DEFAULT_TIMEOUT,
133
- match_window_data
134
- )
135
- end
136
-
137
- def get_region_provider(target)
138
- if (region_to_check = target.region_to_check).nil?
139
- Object.new.tap do |prov|
140
- prov.instance_eval do
141
- define_singleton_method :region do
142
- Applitools::Region::EMPTY
143
- end
144
-
145
- define_singleton_method :coordinate_type do
146
- nil
147
- end
148
- end
149
- end
150
- else
151
- Object.new.tap do |prov|
152
- prov.instance_eval do
153
- define_singleton_method :region do
154
- region_to_check
155
- end
156
-
157
- define_singleton_method :coordinate_type do
158
- :context_relative
159
- end
160
- end
161
- end
162
- end
105
+ universal_check(name, target)
163
106
  end
164
107
 
165
108
  # Matches the input image with the next expected image. Takes a hash as an argument. Returns +boolean+
@@ -228,12 +171,6 @@ module Applitools::Images
228
171
  add_text_trigger_base control, text
229
172
  end
230
173
 
231
- def get_app_output_with_screenshot(*_args)
232
- result = super
233
- self.screenshot_url = nil
234
- result
235
- end
236
-
237
174
  private
238
175
 
239
176
  def vp_size
@@ -248,23 +185,5 @@ module Applitools::Images
248
185
 
249
186
  alias get_viewport_size vp_size
250
187
  alias set_viewport_size vp_size=
251
-
252
- # def get_image_from_options(options)
253
- # image = if options[:image].nil? || !options[:image].is_a?(Applitools::Screenshot)
254
- # # if options[:image].is_a? ChunkyPNG::Image
255
- # # Applitools::Screenshot.from_image options[:image]
256
- # # if !options[:image_path].nil? && !options[:image_path].empty?
257
- # # Applitools::Screenshot.from_datastream ChunkyPNG::Datastream.from_file(options[:image_path]).to_s
258
- # if !options[:image_bytes].nil? && !options[:image_bytes].empty?
259
- # Applitools::Screenshot.from_datastream options[:image_bytes]
260
- # end
261
- # else
262
- # options[:image]
263
- # end
264
- #
265
- # Applitools::ArgumentGuard.not_nil image, 'options[:image] can\'t be nil!'
266
- #
267
- # image
268
- # end
269
188
  end
270
189
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_images
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.7.10
4
+ version: 6.7.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-07 00:00:00.000000000 Z
11
+ date: 2025-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eyes_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 6.9.10
19
+ version: 6.9.11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 6.9.10
26
+ version: 6.9.11
27
27
  description: Provides Images SDK for Applitools tests.
28
28
  email:
29
29
  - team@applitools.com