eyes_images 6.5.4 → 6.6.0

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: a1065b462858b2cc0adada9b3605b6b39493eeea5b0ee468fb10954721366fcb
4
- data.tar.gz: 49d044dab2953e71625b6de9ae0fd0097ae9a5e6dafacf2aec6a1c3ec439d21c
3
+ metadata.gz: 4dfa82ba0bdfbd1ec3e090064c96f0a4b175a597955be9d539112f0131264346
4
+ data.tar.gz: 14c14eea52ba0f5255ab9b5790287504a8b47712018c38cb3717965432579e24
5
5
  SHA512:
6
- metadata.gz: 7eb04ea845d8f07dadef21a37678ed6f5523ea48de359d60427cdfedced1704f06a7580f06a8d727d0ae208c0a3da321c2236b2961261a2b3721900813111824
7
- data.tar.gz: a7ae9671aa1f24ac43782117caf7e5171bce3c7aecc36f24a9c589d7aae8be6f0c07c8959156324e410bca476bb2fb3fd4729aa3763e37417e69ae721a865ae6
6
+ metadata.gz: 041fdbab4ea55417029f948b84e9a5bfecd6faf60dfa5ad9e31f929deac9d599d59c3be710d3534174a1a814c4eae454916c987dd04a17efcc977210bd2c2ce3
7
+ data.tar.gz: 1ed42a18bec3e8a3da11a2a30004a275d8a313a23085e188ca96c3e1bfe259f81b6f3a0826caf40d132b0dbf9eeabcef3188c0c2cfef2ecc962d4bf879fa2381
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.6.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.5.4...ruby/eyes_images@6.6.0) (2025-07-14)
4
+
5
+
6
+ ### Features
7
+
8
+ * updated ruby dummy files ([#3095](https://github.com/Applitools-Dev/sdk/issues/3095)) ([fcacc0f](https://github.com/Applitools-Dev/sdk/commit/fcacc0f5ca14e0159bc0060ce5c085c40b9f5569))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * eyes_universal bumped to 4.41.0
14
+ #### Features
15
+
16
+ * updated ruby dummy files ([#3095](https://github.com/Applitools-Dev/sdk/issues/3095)) ([fcacc0f](https://github.com/Applitools-Dev/sdk/commit/fcacc0f5ca14e0159bc0060ce5c085c40b9f5569))
17
+ * eyes_core bumped to 6.8.0
18
+ #### Features
19
+
20
+ * updated ruby dummy files ([#3095](https://github.com/Applitools-Dev/sdk/issues/3095)) ([fcacc0f](https://github.com/Applitools-Dev/sdk/commit/fcacc0f5ca14e0159bc0060ce5c085c40b9f5569))
21
+
22
+
23
+
24
+
3
25
  ## [6.5.4](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.5.3...ruby/eyes_images@6.5.4) (2025-06-15)
4
26
 
5
27
 
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.7.2"
32
+ spec.add_dependency 'eyes_core', "= 6.8.0"
33
33
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Applitools
4
4
  module EyesImages
5
- VERSION = '6.5.4'.freeze
5
+ VERSION = '6.6.0'.freeze
6
6
  end
7
7
  end
@@ -151,16 +151,27 @@ module Applitools::Images
151
151
  end
152
152
 
153
153
  def dynamic(*args)
154
- dynamic_regions << case args.first
155
- when Applitools::DynamicRegion
156
- args.first
157
- when Applitools::Region
158
- Applitools::DynamicRegion.new(args.first, args.last)
159
- else
160
- dynamic_region_type = args.pop
161
- region = Applitools::Region.new(*args)
162
- Applitools::DynamicRegion.new(region, dynamic_region_type)
163
- end
154
+ options = Applitools::Utils.extract_options!(args)
155
+ padding = options && options[:padding]
156
+ requested_padding = get_requested_padding(padding, args)
157
+
158
+ dynamic_region = case args.first
159
+ when Applitools::DynamicRegion
160
+ args.first
161
+ when Applitools::Region
162
+ Applitools::DynamicRegion.new(args.first, args.last)
163
+ else
164
+ dynamic_region_type = args.pop
165
+ region = Applitools::Region.new(*args)
166
+ Applitools::DynamicRegion.new(region, dynamic_region_type)
167
+ end
168
+
169
+ if requested_padding != {}
170
+ dynamic_region.padding(Applitools::PaddingBounds.new(requested_padding))
171
+ end
172
+
173
+ dynamic_regions << dynamic_region
174
+ self
164
175
  end
165
176
 
166
177
 
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.5.4
4
+ version: 6.6.0
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-06-15 00:00:00.000000000 Z
11
+ date: 2025-07-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.7.2
19
+ version: 6.8.0
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.7.2
26
+ version: 6.8.0
27
27
  description: Provides Images SDK for Applitools tests.
28
28
  email:
29
29
  - team@applitools.com