eyes_core 6.0.4 → 6.1.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: c8aea285d071a8d5a74eefcf03d6b8e91b3ce2e51faf182338160a8dd0afcceb
4
- data.tar.gz: e505a416da1880c7223fbdc792c09072ce7555daf8749fb8792efd111412e3a3
3
+ metadata.gz: 5814acfc772bdc4292591045c35671b5585cfe74565665143aab1f0e132df8a1
4
+ data.tar.gz: 3c88d80befe5e84f58e0d8de7713f340adb394fb8654ad3731c4e9a8fde1abb1
5
5
  SHA512:
6
- metadata.gz: 83ed52e683dac0f5038dc0ef5efec464417bd2c6f486bab332cdd8d4631dc682bdf7337021dc92e3be7b0021b88f3ebffae9bd7004dcb70c5b6b0609179f8d1e
7
- data.tar.gz: 4d33fae565b119464f51550fe01434a6eba03b90cb404ee64fa6b326bf4acf935c079e268e6b79c8c4ae2da49feb6e57812c096d5b850a4b37ab1a0edb68f432
6
+ metadata.gz: 87768396db124a2b0caefda7f4bf8490cd244b640367bdd666442fe72faf93f2ee5baccdd011eb92278f8ce299a6dd574d1c7e2b5523bae16b1032b55dfddfd3
7
+ data.tar.gz: 1e3bee79decea133a5e1c7835f71969a35b71e5984389ea31e58d6fc1056b31673ec9333b3436cd17ff5b1eea1513a014eb37a718a7ab47d2af366a7caeb57cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # Changelog
2
2
 
3
+ ## [6.1.0](https://github.com/applitools/eyes.sdk.javascript1/compare/ruby/eyes_core-v6.0.4...ruby/eyes_core@6.1.0) (2024-02-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91))
9
+ * added notification about outdated sdk version ([#2012](https://github.com/applitools/eyes.sdk.javascript1/issues/2012)) ([0f0a646](https://github.com/applitools/eyes.sdk.javascript1/commit/0f0a6462a56e7c97f9a22173c3b63af91e220adb))
10
+ * generate more enums ([#2179](https://github.com/applitools/eyes.sdk.javascript1/issues/2179)) ([5f4f916](https://github.com/applitools/eyes.sdk.javascript1/commit/5f4f91621b791a02464191123f69b12f590b9efe))
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * @applitools/dom-snapshot bumped to 4.7.17
16
+ #### Bug Fixes
17
+
18
+ * throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
19
+ * @applitools/spec-driver-webdriver bumped to 1.0.57
20
+ #### Bug Fixes
21
+
22
+ * fixed issue with cdp commands on chromium browsers ([#2180](https://github.com/applitools/eyes.sdk.javascript1/issues/2180)) ([550fc77](https://github.com/applitools/eyes.sdk.javascript1/commit/550fc772d3988aae29e6f4a1a11d2a408072dc38))
23
+ * @applitools/spec-driver-puppeteer bumped to 1.4.0
24
+ #### Features
25
+
26
+ * added support for puppeteer >= 22 ([#2185](https://github.com/applitools/eyes.sdk.javascript1/issues/2185)) ([59d23a9](https://github.com/applitools/eyes.sdk.javascript1/commit/59d23a9689d77c7db06df53b67fa293a3b3f166e))
27
+ * @applitools/core bumped to 4.8.0
28
+ #### Features
29
+
30
+ * add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
31
+
32
+
33
+ #### Bug Fixes
34
+
35
+ * missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
36
+ * nml coded region integration with universal ([6fb0934](https://github.com/applitools/eyes.sdk.javascript1/commit/6fb09348238dfe4698856f88e762a9abf80c686f))
37
+ * throw error for encoding none unicode char ([#2171](https://github.com/applitools/eyes.sdk.javascript1/issues/2171)) ([4edb9cf](https://github.com/applitools/eyes.sdk.javascript1/commit/4edb9cfb27d8db2ff4cb09c8ebf1b95ab020633d))
38
+
39
+
40
+
41
+ * @applitools/screenshoter bumped to 3.8.23
42
+
43
+ * @applitools/nml-client bumped to 1.7.0
44
+ #### Features
45
+
46
+ * add support for regions and calculated regions ([#2161](https://github.com/applitools/eyes.sdk.javascript1/issues/2161)) ([fea4b1f](https://github.com/applitools/eyes.sdk.javascript1/commit/fea4b1fca3d8f59eada2b5186cd32d47352ccf1a))
47
+
48
+
49
+ #### Bug Fixes
50
+
51
+ * missing viewport when using system screenshot and multi viewport ([#2173](https://github.com/applitools/eyes.sdk.javascript1/issues/2173)) ([411283c](https://github.com/applitools/eyes.sdk.javascript1/commit/411283c7bebc09f178d73b6b47e81e5ce4244d5e))
52
+
53
+
54
+
55
+ * @applitools/ec-client bumped to 1.7.25
56
+
57
+ * eyes_universal bumped to 4.8.0
58
+
59
+
3
60
  ## [6.0.4] (2024-02-05)
4
61
 
5
62
  * ### Bug Fixes
@@ -0,0 +1,16 @@
1
+ # GENERATED FILE #
2
+
3
+ module Applitools
4
+ module AccessibilityGuidelinesVersion
5
+ extend self
6
+ WCAG_2_0 = 'WCAG_2_0'.freeze
7
+ WCAG_2_1 = 'WCAG_2_1'.freeze
8
+
9
+ def enum_values
10
+ [
11
+ WCAG_2_0,
12
+ WCAG_2_1,
13
+ ]
14
+ end
15
+ end
16
+ end
@@ -1,57 +1,16 @@
1
- # frozen_string_literal: true
1
+ # GENERATED FILE #
2
2
 
3
3
  module Applitools
4
4
  module AccessibilityLevel
5
5
  extend self
6
- AA = 'AA'
7
- AAA = 'AAA'
6
+ AA = 'AA'.freeze
7
+ AAA = 'AAA'.freeze
8
8
 
9
9
  def enum_values
10
- [AA, AAA]
11
- end
12
- end
13
-
14
- module AccessibilityGuidelinesVersion
15
- extend self
16
- WCAG_2_1 = 'WCAG_2_1'
17
- WCAG_2_0 = 'WCAG_2_0'
18
- def enum_values
19
- [WCAG_2_0, WCAG_2_1]
20
- end
21
- end
22
-
23
- class AccessibilitySettings
24
- attr_reader :config_hash
25
- attr_accessor :validation_errors
26
- extend Applitools::EyesConfigurationDSL
27
-
28
- enum_field :level, Applitools::AccessibilityLevel.enum_values
29
- enum_field :version, Applitools::AccessibilityGuidelinesVersion.enum_values
30
-
31
- def initialize(accessibility_level, guidelines_version)
32
- @config_hash = {}
33
- self.validation_errors = []
34
- self.level = accessibility_level
35
- self.version = guidelines_version
36
- end
37
-
38
- def to_h
39
- @config_hash
40
- end
41
-
42
- def json_data
43
- to_h
44
- end
45
-
46
- # accessibilitySettings?: {
47
- # level?: AccessibilityLevel
48
- # guidelinesVersion?: AccessibilityGuidelinesVersion
49
- # }
50
- def to_hash
51
- {
52
- level: level,
53
- guidelinesVersion: version
54
- }
10
+ [
11
+ AA,
12
+ AAA,
13
+ ]
55
14
  end
56
15
  end
57
16
  end
@@ -1,14 +1,13 @@
1
- # frozen_string_literal: true
1
+ # GENERATED FILE #
2
2
 
3
3
  module Applitools
4
4
  module AccessibilityRegionType
5
5
  extend self
6
-
7
- IGNORE_CONTRAST = 'IgnoreContrast'
8
- REGULAR_TEXT = 'RegularText'
9
- LARGE_TEXT = 'LargeText'
10
- BOLD_TEXT = 'BoldText'
11
- GRAPHICAL_OBJECT = 'GraphicalObject'
6
+ IGNORE_CONTRAST = 'IgnoreContrast'.freeze
7
+ REGULAR_TEXT = 'RegularText'.freeze
8
+ LARGE_TEXT = 'LargeText'.freeze
9
+ BOLD_TEXT = 'BoldText'.freeze
10
+ GRAPHICAL_OBJECT = 'GraphicalObject'.freeze
12
11
 
13
12
  def enum_values
14
13
  [
@@ -16,7 +15,7 @@ module Applitools
16
15
  REGULAR_TEXT,
17
16
  LARGE_TEXT,
18
17
  BOLD_TEXT,
19
- GRAPHICAL_OBJECT
18
+ GRAPHICAL_OBJECT,
20
19
  ]
21
20
  end
22
21
  end
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Applitools
4
+ class AccessibilitySettings
5
+ attr_reader :config_hash
6
+ attr_accessor :validation_errors
7
+ extend Applitools::EyesConfigurationDSL
8
+
9
+ enum_field :level, Applitools::AccessibilityLevel.enum_values
10
+ enum_field :version, Applitools::AccessibilityGuidelinesVersion.enum_values
11
+
12
+ def initialize(accessibility_level, guidelines_version)
13
+ @config_hash = {}
14
+ self.validation_errors = []
15
+ self.level = accessibility_level
16
+ self.version = guidelines_version
17
+ end
18
+
19
+ def to_h
20
+ @config_hash
21
+ end
22
+
23
+ def json_data
24
+ to_h
25
+ end
26
+
27
+ # accessibilitySettings?: {
28
+ # level?: AccessibilityLevel
29
+ # guidelinesVersion?: AccessibilityGuidelinesVersion
30
+ # }
31
+ def to_hash
32
+ {
33
+ level: level,
34
+ guidelinesVersion: version
35
+ }
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,16 @@
1
+ # GENERATED FILE #
2
+
3
+ module Applitools
4
+ module AccessibilityStatus
5
+ extend self
6
+ PASSED = 'Passed'.freeze
7
+ FAILED = 'Failed'.freeze
8
+
9
+ def enum_values
10
+ [
11
+ PASSED,
12
+ FAILED,
13
+ ]
14
+ end
15
+ end
16
+ end
@@ -2,8 +2,8 @@
2
2
 
3
3
  module Applitools
4
4
  module EyesCore
5
- VERSION = '6.0.4'.freeze
6
- UNIVERSAL_VERSION = '4.7.0'.freeze
5
+ VERSION = '6.1.0'.freeze
6
+ UNIVERSAL_VERSION = '4.8.1'.freeze
7
7
  end
8
8
 
9
9
  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.0.4
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Applitools Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-05 00:00:00.000000000 Z
11
+ date: 2024-02-20 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.7.0
117
+ version: 4.8.1
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.7.0
124
+ version: 4.8.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bundler
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -292,9 +292,12 @@ files:
292
292
  - lib/applitools/connectivity/user_agent_middleware.rb
293
293
  - lib/applitools/core/abstract_configuration.rb
294
294
  - lib/applitools/core/abstract_region.rb
295
+ - lib/applitools/core/accessibility_guidelines_version.rb
295
296
  - lib/applitools/core/accessibility_level.rb
296
297
  - lib/applitools/core/accessibility_region.rb
297
298
  - lib/applitools/core/accessibility_region_type.rb
299
+ - lib/applitools/core/accessibility_settings.rb
300
+ - lib/applitools/core/accessibility_status.rb
298
301
  - lib/applitools/core/app_environment.rb
299
302
  - lib/applitools/core/app_output.rb
300
303
  - lib/applitools/core/app_output_with_screenshot.rb
@@ -367,7 +370,7 @@ licenses:
367
370
  - Applitools
368
371
  metadata:
369
372
  yard.run: yri
370
- post_install_message:
373
+ post_install_message:
371
374
  rdoc_options: []
372
375
  require_paths:
373
376
  - lib
@@ -382,8 +385,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
382
385
  - !ruby/object:Gem::Version
383
386
  version: '0'
384
387
  requirements: []
385
- rubygems_version: 3.0.3.1
386
- signing_key:
388
+ rubygems_version: 3.4.1
389
+ signing_key:
387
390
  specification_version: 4
388
391
  summary: Core of the Applitools Ruby SDK
389
392
  test_files: []