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 +4 -4
- data/CHANGELOG.md +22 -0
- data/eyes_images.gemspec +1 -1
- data/lib/applitools/eyes_images/version.rb +1 -1
- data/lib/applitools/images/target.rb +21 -10
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4dfa82ba0bdfbd1ec3e090064c96f0a4b175a597955be9d539112f0131264346
|
4
|
+
data.tar.gz: 14c14eea52ba0f5255ab9b5790287504a8b47712018c38cb3717965432579e24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
32
|
+
spec.add_dependency 'eyes_core', "= 6.8.0"
|
33
33
|
end
|
@@ -151,16 +151,27 @@ module Applitools::Images
|
|
151
151
|
end
|
152
152
|
|
153
153
|
def dynamic(*args)
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 6.8.0
|
27
27
|
description: Provides Images SDK for Applitools tests.
|
28
28
|
email:
|
29
29
|
- team@applitools.com
|