eyes_core 6.6.1 → 6.7.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: 5650f4cfdd27ccdc0f6aeadf885b158fcad3b85c30155771ac658a6e531c0a37
4
- data.tar.gz: 33ef7adab7f26ce6550afd3d6238132dfaed926fd8a765994314a12a70590760
3
+ metadata.gz: 60c616955a64bf213ff0fbf3d6c07619cb13f0fc8241e055ecffc878d807128b
4
+ data.tar.gz: fa4a7ab2281ffe2bf45457c76dc27f5821aba32613e1f5ab3f15279f7c1f6368
5
5
  SHA512:
6
- metadata.gz: 23134c9dc775f6af18baecffce730e44f81c67832f8d7e8958219ef94aa8d2c3ceea4b2b289b92d6918dd88158d5ef8317587577758b2e0294590c91f554140d
7
- data.tar.gz: bffd4883d9e0d7e9aebf7668648f5cfa67dfeb8971bdef767007f2bc9269c11f6d17fe3e4ea1178c265b34ff91ce2b8cec13cc5d79c958a4a893745220cff70b
6
+ metadata.gz: 41bdd647a2ff4eb9a088b6403e6694e23b47c385f9b3dad346cc9edfbc0919f075981b74cd717ab3dadf903250af6476828a9cfb6b25ded7275dd38d73d1fcca
7
+ data.tar.gz: 2ba9a72502d87457c01e8aef427e0547ae5e17f41bb2b95634c53f05089e5245d13d8ddb793e2a7d8b9505ef3b6194b317973588bfd8d88cdbc239bc6364a187
data/CHANGELOG.md CHANGED
@@ -1,5 +1,108 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.7.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_core@6.6.1...ruby/eyes_core@6.7.0) (2025-04-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
9
+
10
+
11
+ ### Performance Improvements
12
+
13
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
14
+
15
+
16
+ ### Dependencies
17
+
18
+ * @applitools/dom-snapshot bumped to 4.11.18
19
+ #### Bug Fixes
20
+
21
+ * simplify sandbox creation and ensure cleanup after execution ([#2869](https://github.com/Applitools-Dev/sdk/issues/2869)) ([72c5e01](https://github.com/Applitools-Dev/sdk/commit/72c5e01307f6abd83fab365a7e235124caae0694))
22
+
23
+
24
+
25
+ * @applitools/snippets bumped to 2.6.5
26
+ #### Performance Improvements
27
+
28
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
29
+ * @applitools/driver bumped to 1.21.1
30
+ #### Bug Fixes
31
+
32
+ * executePoll error logging FLD-2870 ([#2890](https://github.com/Applitools-Dev/sdk/issues/2890)) ([a8ff720](https://github.com/Applitools-Dev/sdk/commit/a8ff720efafacabe2023282748a6d8a0f1b3ff73))
33
+
34
+
35
+
36
+ * @applitools/spec-driver-webdriver bumped to 1.2.2
37
+ #### Performance Improvements
38
+
39
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
40
+
41
+
42
+
43
+ * @applitools/spec-driver-selenium bumped to 1.5.98
44
+ #### Performance Improvements
45
+
46
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
47
+
48
+
49
+
50
+ * @applitools/spec-driver-puppeteer bumped to 1.4.27
51
+ #### Performance Improvements
52
+
53
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
54
+
55
+
56
+
57
+ * @applitools/screenshoter bumped to 3.11.1
58
+ #### Performance Improvements
59
+
60
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
61
+
62
+
63
+
64
+ * @applitools/nml-client bumped to 1.9.1
65
+ #### Performance Improvements
66
+
67
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
68
+
69
+
70
+
71
+ * @applitools/tunnel-client bumped to 1.6.5
72
+ #### Bug Fixes
73
+
74
+ * enhance error messages in tunnel client ([cab26e6](https://github.com/Applitools-Dev/sdk/commit/cab26e6e3d56fa3cbabaa1a9c68de13046b8f57e))
75
+ * @applitools/ufg-client bumped to 1.16.9
76
+ #### Bug Fixes
77
+
78
+ * basic auth protected resources | FLD-2761 | FMRI-120 ([#2444](https://github.com/Applitools-Dev/sdk/issues/2444)) ([b48cf49](https://github.com/Applitools-Dev/sdk/commit/b48cf49dec50bbf1ed2ba111608a48cf09962565))
79
+
80
+
81
+ #### Performance Improvements
82
+
83
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
84
+ * @applitools/ec-client bumped to 1.10.9
85
+ #### Performance Improvements
86
+
87
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
88
+
89
+
90
+
91
+ * @applitools/core bumped to 4.37.0
92
+ #### Features
93
+
94
+ * height layout breakpoints ([#2801](https://github.com/Applitools-Dev/sdk/issues/2801)) ([819e241](https://github.com/Applitools-Dev/sdk/commit/819e2418f1fd93220a07dfbcf1157ffcf4995dd7))
95
+
96
+
97
+
98
+ * eyes_universal bumped to 4.37.0
99
+ #### Performance Improvements
100
+
101
+ * cachify http agent ([#2466](https://github.com/Applitools-Dev/sdk/issues/2466)) ([bc2f4a1](https://github.com/Applitools-Dev/sdk/commit/bc2f4a1fae3c379f061c9199edf4c5257769fb44))
102
+
103
+
104
+
105
+
3
106
  ## [6.6.1](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_core@6.6.0...ruby/eyes_core@6.6.1) (2025-04-03)
4
107
 
5
108
 
data/eyes_core.gemspec CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_dependency 'colorize'
39
39
  spec.add_dependency 'websocket'
40
40
  spec.add_dependency 'sorted_set'
41
- spec.add_dependency 'eyes_universal', "= 4.35.1"
41
+ spec.add_dependency 'eyes_universal', "= 4.37.0"
42
42
 
43
43
  spec.add_development_dependency 'bundler'
44
44
  spec.add_development_dependency 'rake'
@@ -207,9 +207,11 @@ module Applitools
207
207
 
208
208
  # layoutBreakpoints?: boolean | number[]
209
209
  def layout_breakpoints=(value)
210
- config_hash[:layout_breakpoints] = { breakpoints: value } if value === true || value === false
211
- config_hash[:layout_breakpoints] = { breakpoints: value } if value.is_a?(Array) && value.all? {|v| v.is_a?(Numeric)}
212
- if value.is_a?(Hash)
210
+ if value === true || value === false
211
+ config_hash[:layout_breakpoints] = { breakpoints: value }
212
+ elsif value.is_a?(Array) && value.all? {|v| v.is_a?(Numeric)}
213
+ config_hash[:layout_breakpoints] = { breakpoints: value }
214
+ elsif value.is_a?(Hash)
213
215
  if value.has_key?(:breakpoints) || value.has_key?('breakpoints')
214
216
  config_hash[:layout_breakpoints] = value
215
217
  else
@@ -217,8 +219,27 @@ module Applitools
217
219
  end
218
220
  end
219
221
  end
220
- def layout_breakpoints
221
- config_hash[:layout_breakpoints]
222
+
223
+ def layout_breakpoints(value = nil, reload: nil, height_breakpoints: nil)
224
+ if value.nil?
225
+ config_hash[:layout_breakpoints]
226
+ else
227
+ if value.is_a?(Hash)
228
+ # If it's already a hash, add our options if not present
229
+ # Need to check both symbol and string keys
230
+ value[:layout_breakpoints][:reload] = value[:reload] || value['reload'] || reload
231
+ value[:layout_breakpoints][:height_breakpoints] = value[:height_breakpoints] || value['height_breakpoints'] || height_breakpoints
232
+ self.layout_breakpoints = value
233
+ else
234
+ # For non-hash values, create a hash with all options
235
+ self.layout_breakpoints = {
236
+ breakpoints: value,
237
+ reload: reload,
238
+ height_breakpoints: height_breakpoints
239
+ }
240
+ end
241
+ self
242
+ end
222
243
  end
223
244
  collect_method :layout_breakpoints
224
245
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Applitools
4
4
  module EyesCore
5
- VERSION = '6.6.1'.freeze
5
+ VERSION = '6.7.0'.freeze
6
6
  end
7
7
 
8
8
  VERSION = Applitools::EyesCore::VERSION
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.6.1
4
+ version: 6.7.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-04-03 00:00:00.000000000 Z
11
+ date: 2025-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 4.35.1
117
+ version: 4.37.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 4.35.1
124
+ version: 4.37.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bundler
127
127
  requirement: !ruby/object:Gem::Requirement