eyes_images 6.3.8 → 6.4.1

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: a0c9762653e8131172ba3761d938e1713248bfd1727b0a5adf51e7b38b5d8e6b
4
- data.tar.gz: 17223eb5070a94a67bc1cbb11aaed312bb8a2319f87c629f2d6254c0a65bed16
3
+ metadata.gz: 1308146b07044fd600fd1b938fb0f056214f94d41d3cf5d9458408f867bfcacb
4
+ data.tar.gz: 95604e315d7edf99ba2ffcecbfae0db03798fcce2d7a3b54eee3ae9a518aac35
5
5
  SHA512:
6
- metadata.gz: d31b081de336a60d6b635a107b97d227f1099a622f0e7fbfd73ff6c2247a566caa2aba2d4210f36d494b367d6d9cd44f226ef0be54760e2b24cb54e6ea200b1a
7
- data.tar.gz: 6b15fb2d08b9c08b85f439056f521fd3dd9faf6732e47f6e47fcd12eccf616a289c6da48c66b598fc57f6692c3149b26978cc9ef64da594f9be2cb1577fde05f
6
+ metadata.gz: e2c8b581d20aea1aa37b0f918b35f1726984e03de7f41bd407b9bbb43a05c5204347bd9f3f609ad62f2e10187afb233829e9d4b9a6273ad099d61be6f3ca3491
7
+ data.tar.gz: 4eca0a47cddcc5cf11c44cafbbdd7ca940089f873814088b5b7f3b155ee325eb8d23e046c6bc3691094fd8bec54812b0c00f4052e901aa3d85bc1a9ea30e7d0d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,85 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.4.1](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.4.0...ruby/eyes_images@6.4.1) (2024-10-29)
4
+
5
+
6
+ ### Dependencies
7
+
8
+ * @applitools/screenshoter bumped to 3.9.2
9
+ #### Bug Fixes
10
+
11
+ * test in screenshoter web ([f068dbe](https://github.com/Applitools-Dev/sdk/commit/f068dbe9036163fb3e316411cfd9f47a226d7c9c))
12
+ * @applitools/core bumped to 4.21.2
13
+
14
+ * eyes_universal bumped to 4.21.2
15
+
16
+ * eyes_core bumped to 6.4.1
17
+
18
+
19
+ ## [6.4.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.3.8...ruby/eyes_images@6.4.0) (2024-10-21)
20
+
21
+
22
+ ### Features
23
+
24
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * @applitools/snippets bumped to 2.5.1
30
+ #### Bug Fixes
31
+
32
+ * isStaleElement error ([#2567](https://github.com/Applitools-Dev/sdk/issues/2567)) ([2675086](https://github.com/Applitools-Dev/sdk/commit/2675086aa28589082249e2958942ee29a5f2ef12))
33
+ * @applitools/core-base bumped to 1.18.0
34
+ #### Features
35
+
36
+ * ability to download side by side with highlighted diffs (2419) ([#2530](https://github.com/Applitools-Dev/sdk/issues/2530)) ([e06ce69](https://github.com/Applitools-Dev/sdk/commit/e06ce699f30e9e444ac58dafdf5989ff1c96ca1c))
37
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
38
+ * setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
39
+ * @applitools/driver bumped to 1.19.3
40
+
41
+ * @applitools/spec-driver-webdriver bumped to 1.1.15
42
+
43
+ * @applitools/spec-driver-selenium bumped to 1.5.86
44
+
45
+ * @applitools/spec-driver-puppeteer bumped to 1.4.15
46
+
47
+ * @applitools/screenshoter bumped to 3.9.0
48
+ #### Features
49
+
50
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
51
+
52
+
53
+
54
+ * @applitools/nml-client bumped to 1.8.13
55
+
56
+ * @applitools/ec-client bumped to 1.9.9
57
+
58
+ * @applitools/core bumped to 4.21.0
59
+ #### Features
60
+
61
+ * add chrome emulation devices ([#2559](https://github.com/Applitools-Dev/sdk/issues/2559)) ([0499aaf](https://github.com/Applitools-Dev/sdk/commit/0499aaf3bb809d2ac0105b4493e6f6bb8730ea3f))
62
+ * capture status bar ([#2571](https://github.com/Applitools-Dev/sdk/issues/2571)) ([5e1c75e](https://github.com/Applitools-Dev/sdk/commit/5e1c75ef9cf34af80f08806a3bceaf06a94f2780))
63
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
64
+ * setting up SCM information automatically ([#2542](https://github.com/Applitools-Dev/sdk/issues/2542)) ([696461a](https://github.com/Applitools-Dev/sdk/commit/696461af3f8e2e3ed94eb78fed5ead6233bd16b2))
65
+
66
+
67
+ #### Bug Fixes
68
+
69
+ * don't remove offline execution folder after running ([654e195](https://github.com/Applitools-Dev/sdk/commit/654e195dd50dc7dab93dd907ec26d788549c6e81))
70
+
71
+
72
+
73
+ * eyes_universal bumped to 4.21.0
74
+
75
+ * eyes_core bumped to 6.4.0
76
+ #### Features
77
+
78
+ * dynamic regions ([#2538](https://github.com/Applitools-Dev/sdk/issues/2538)) ([d8b5c48](https://github.com/Applitools-Dev/sdk/commit/d8b5c48fb35f9789c702447314dc72b4f415ade1))
79
+
80
+
81
+
82
+
3
83
  ## [6.3.8](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_images@6.3.7...ruby/eyes_images@6.3.8) (2024-09-10)
4
84
 
5
85
 
data/eyes_images.gemspec CHANGED
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
28
28
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
29
29
  spec.require_paths = %w(lib)
30
- spec.add_dependency 'eyes_core', "= 6.3.8"
30
+ spec.add_dependency 'eyes_core', "= 6.4.1"
31
31
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Applitools
4
4
  module EyesImages
5
- VERSION = '6.3.8'.freeze
5
+ VERSION = '6.4.1'.freeze
6
6
  end
7
7
  end
@@ -33,7 +33,7 @@ module Applitools::Images
33
33
  end
34
34
  end
35
35
 
36
- attr_accessor :image, :options, :ignored_regions, :region_to_check, :floating_regions, :accessibility_regions
36
+ attr_accessor :image, :options, :ignored_regions, :region_to_check, :floating_regions, :accessibility_regions, :dynamic_regions
37
37
 
38
38
  def convert_image_arg(image_arg)
39
39
  if image_arg.is_a?(Applitools::Screenshot)
@@ -63,6 +63,7 @@ module Applitools::Images
63
63
  self.ignored_regions = []
64
64
  self.floating_regions = []
65
65
  self.accessibility_regions = []
66
+ self.dynamic_regions = []
66
67
  self.options = {
67
68
  trim: false
68
69
  }
@@ -149,6 +150,19 @@ module Applitools::Images
149
150
  end
150
151
  end
151
152
 
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
164
+ end
165
+
152
166
 
153
167
 
154
168
  private # dupl
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.3.8
4
+ version: 6.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-10-29 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.3.8
19
+ version: 6.4.1
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.3.8
26
+ version: 6.4.1
27
27
  description: Provides Images SDK for Applitools tests.
28
28
  email:
29
29
  - team@applitools.com