eyes_universal 4.37.0 → 4.41.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: 8c103ca90c93834b4564c5f5be6f59bbc3002696fe10b86f3f419a58a7fabab3
4
- data.tar.gz: 25e67dd7c9c09d4801bb75af571ccdab6e4dee2e3bd63c64737e7bef65c1432f
3
+ metadata.gz: a239bfa51a40cc288ca756aa8d07304985a62ded4a8aa6bcd0d122321523e0aa
4
+ data.tar.gz: 6350b6fc0f172a97cd2b483302e7efa42d33ae2871ee788f321e3aecb2e8beb4
5
5
  SHA512:
6
- metadata.gz: 41de164e74ffa6f4c8e83c903c2bd9768698e996f1d7cf468ea99cc56337b3f4dccdadb025b31be0c1e235165b2a891683c352c3f5e8e6ca7246dcfff19a8aad
7
- data.tar.gz: b4915ed6a7a9523ff1fade610a24f451679311c44ee807aa1b202918df3d67c5f771aa5d51478901b3191e04e362a0a5dcc58cecd3c541d79cadeecf85f91250
6
+ metadata.gz: fd63b7036499a7be4a12e135246123332894857a9649732c95334e1964116756ac61a3593f907c01966af6db21bb67a24e8f6936676441cad957accfa5db01ae
7
+ data.tar.gz: a36019ba496eaf528edc19f10f396939706c2190d3bbe650f05eae41f8098efaf9a95efec1ba736983bec6e2d3336f935b1fe38a8dbcb6b973766f18c553f713
data/CHANGELOG.md CHANGED
@@ -1,5 +1,95 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.41.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_universal@4.40.0...ruby/eyes_universal@4.41.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
+ ## [4.40.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_universal@4.38.0...ruby/eyes_universal@4.40.0) (2025-06-15)
11
+
12
+
13
+ ### Dependencies
14
+
15
+ * @applitools/dom-snapshot bumped to 4.11.22
16
+ #### Bug Fixes
17
+
18
+ * css media query group conditions | FLD-3151 ([#3023](https://github.com/Applitools-Dev/sdk/issues/3023)) ([56ec107](https://github.com/Applitools-Dev/sdk/commit/56ec107bcda6a5a330d19c278267d73de5d86d8b))
19
+
20
+
21
+
22
+ * @applitools/core-base bumped to 1.25.4
23
+ #### Bug Fixes
24
+
25
+ * Differentiate Between Invalid and Missing API Key Errors ([6ac17d4](https://github.com/Applitools-Dev/sdk/commit/6ac17d40d7aff45b3de5c949dc7d4673b9739bfd))
26
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
27
+
28
+
29
+
30
+ * @applitools/test-server bumped to 1.2.3
31
+ #### Bug Fixes
32
+
33
+ * 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))
34
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
35
+ * storybook navigation timeouts ([#2701](https://github.com/Applitools-Dev/sdk/issues/2701)) ([64e3a40](https://github.com/Applitools-Dev/sdk/commit/64e3a40a524ae76ec457ae9c2d1170fbaea5e982))
36
+
37
+
38
+
39
+ * @applitools/req bumped to 1.7.13
40
+
41
+ * @applitools/dom-capture bumped to 11.5.6
42
+
43
+ * @applitools/spec-driver-webdriver bumped to 1.2.6
44
+
45
+ * @applitools/screenshoter bumped to 3.11.5
46
+
47
+ * @applitools/nml-client bumped to 1.9.5
48
+ #### Bug Fixes
49
+
50
+ * nml-client depends on core-base ([#2995](https://github.com/Applitools-Dev/sdk/issues/2995)) ([1f7cf69](https://github.com/Applitools-Dev/sdk/commit/1f7cf6930709a40a498dd1f525132648aa593af0))
51
+
52
+
53
+
54
+ * @applitools/tunnel-client bumped to 1.8.0
55
+ #### Features
56
+
57
+ * update build script to include individual zip creation ([#3008](https://github.com/Applitools-Dev/sdk/issues/3008)) ([46a0cfc](https://github.com/Applitools-Dev/sdk/commit/46a0cfcc472ab69384560095d90a7fa58b4b9186))
58
+
59
+
60
+
61
+ * @applitools/ufg-client bumped to 1.16.12
62
+ #### Bug Fixes
63
+
64
+ * remove safari-early-access browser version for js sdks | AD-10226 ([#3034](https://github.com/Applitools-Dev/sdk/issues/3034)) ([7ca09f5](https://github.com/Applitools-Dev/sdk/commit/7ca09f5c0c271570142058ea766533b86434dc2e))
65
+
66
+
67
+
68
+ * @applitools/ec-client bumped to 1.10.15
69
+
70
+ * @applitools/core bumped to 4.40.0
71
+ #### Features
72
+
73
+ * update build script to include individual zip creation ([#3008](https://github.com/Applitools-Dev/sdk/issues/3008)) ([46a0cfc](https://github.com/Applitools-Dev/sdk/commit/46a0cfcc472ab69384560095d90a7fa58b4b9186))
74
+
75
+
76
+ #### Bug Fixes
77
+
78
+ * css media query group conditions | FLD-3151 ([#3023](https://github.com/Applitools-Dev/sdk/issues/3023)) ([56ec107](https://github.com/Applitools-Dev/sdk/commit/56ec107bcda6a5a330d19c278267d73de5d86d8b))
79
+ * export issues for ts js with legacy solution ([#3016](https://github.com/Applitools-Dev/sdk/issues/3016)) ([a3a9daf](https://github.com/Applitools-Dev/sdk/commit/a3a9daf9c3361bb1f253499c1335a1434ec520d1))
80
+ * extractLatestCommitInfo | FLD-3217 ([#3039](https://github.com/Applitools-Dev/sdk/issues/3039)) ([3f72a23](https://github.com/Applitools-Dev/sdk/commit/3f72a230fa0166046ea85ae004cfb544de86e628))
81
+ * handle error when sending started message in tunnel manager server ([#3019](https://github.com/Applitools-Dev/sdk/issues/3019)) ([2cdaad8](https://github.com/Applitools-Dev/sdk/commit/2cdaad896fd679187449b69abe529b006f6255ee))
82
+
83
+
84
+
85
+
86
+ ## [4.38.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_universal@4.37.0...ruby/eyes_universal@4.38.0) (2025-05-22)
87
+
88
+
89
+ ### Features
90
+
91
+ * adding the mac-arm64 binary ([#2975](https://github.com/Applitools-Dev/sdk/issues/2975)) ([95d647f](https://github.com/Applitools-Dev/sdk/commit/95d647ff4a451309d985a786f7cec544d926f0e5))
92
+
3
93
  ## [4.37.0](https://github.com/Applitools-Dev/sdk/compare/ruby/eyes_universal@4.35.1...ruby/eyes_universal@4.37.0) (2025-04-17)
4
94
 
5
95
 
data/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ - -
2
+ SDK LICENSE AGREEMENT
3
+ IMPORTANT - PLEASE READ CAREFULLY THE TERMS OF THIS LICENSE AGREEMENT (“AGREEMENT”). BY INSTALLING, ACCESSING AND/OR USING THE SOFTWARE (AS DEFINED BELOW), YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT YOU, OR THE COMPANY YOU REPRESENT, (“YOU” OR “LICENSEE”) ARE ENTERING INTO A LEGAL AGREEMENT WITH APPLITOOLS LTD. AND ITS AFFILIATES (“APPLITOOLS”), AND HAVE UNDERSTOOD AND AGREE TO COMPLY WITH, AND BE LEGALLY BOUND BY, THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU HEREBY WAIVE ANY RIGHTS OR REQUIREMENTS UNDER ANY LAWS OR REGULATIONS IN ANY JURISDICTION WHICH REQUIRE AN ORIGINAL (NON-ELECTRONIC) SIGNATURE OR DELIVERY OR RETENTION OF NON-ELECTRONIC RECORDS, TO THE EXTENT PERMITTED UNDER APPLICABLE LAW.
4
+ THE SOFTWARE MAY BE USED SOLELY FOR YOUR PERSONAL, NON-COMMERCIAL PURPOSES. FOR COMMERCIAL PURPOSES PLEASE CONTACT THE REGIONAL APPLITOOLS BUSINESS REPRESENTATIVE.
5
+ 1. Definitions. For purposes of this Agreement, the following capitalized terms shall have the following meaning:
6
+ 1. “Documentation” means the user’s guides and technical manuals delivered by Applitools to Licensee.
7
+ 2. “Feedback” means suggestions, comments or feedback (whether orally or in writing) with respect to the Software.
8
+ 3. “Intellectual Property Rights” means all intangible legal rights, titles and interests evidenced by or embodied in all: (i) inventions (regardless of patentability and whether or not reduced to practice), improvements thereto, patents, patent applications, patent disclosures, together with all reissuances, continuations, continuations in part, revisions, extensions and reexaminations thereof; (ii) trademarks, service marks, trade dress, logos, trade names, corporate names, together with translations, adaptations, derivations and combinations thereof, including goodwill associated therewith, and applications, registrations, and renewals in connection therewith; (iii) any work of authorship, regardless of copyrightable, copyrightable works, copyrights (including moral rights), and applications, registrations and renewals in connection therewith; (iv) mask works and applications, registrations and renewals in connection therewith; (v) trade secrets and Confidential Information; and (vi) other proprietary rights and any other similar rights, in each case on a worldwide basis, and copies and tangible embodiments thereof, in whatever form or medium.
9
+ 4. “License” means the right to use the Software pursuant to Section ‎2.1 to this Agreement.
10
+ 5. “Software” means Applitools’ software development kit software in object or source code version, Documentation and any updates and upgrade thereto (to the extent delivered).
11
+ 1. License
12
+ 1. Grant of License. Subject to the terms and conditions of this Agreement, Applitools grants You, during the Term, a personal, non-exclusive, non-sublicensable, non-transferable, revocable license to: (i) use the Software solely for Your own personal (non-commercial) use and (ii) use and display Applitools’ Marks solely for the purpose of publicizing or advertising that You are using the Software.
13
+ 2. Documentation. Applitools may make available Documentation to Licensee for Licensee to use solely in connection with Licensee’s use of the Software during the term of this Agreement. Licensee may print or copy the Documentation as needed for its own purposes provided that all copyright notices are included therein. The Documentation shall be considered the Confidential Information of Applitools.
14
+ 1. Reservation of Rights; Use Restrictions. Other than the rights explicitly granted in this Agreement, Licensee shall have no other rights, express or implied, in the Software. Without limiting the generality of the foregoing, Licensee agrees and undertakes not to: (i) allow any third party to use the Software in any manner, including but not limited to, sell, lease, sublicense or distribute the Software, or any part thereof; (ii) modify, revise, or alter the Software or reverse engineer, decompile, disassemble or otherwise reduce to human-perceivable form the Software’s source code; (iii) copy or allow copies of the Software to be made; (iv) remove, alter or obscure any proprietary notice or identification, including copyright, trademark, patent or other notices, contained in or displayed on or via the Software; (v) use the Software to violate any applicable laws, rules or regulations, or for any unlawful, harmful, irresponsible, or inappropriate purpose, or in any manner that breaches this Agreement, and/or (vi) represent that it possesses any proprietary interest in the Software.
15
+ 1. Third Party Software. Licensee acknowledges and agrees that any third party software (“Third Party Software”) that provided with the Software is provided under the terms of the license attached/linked thereto or, if no such license is attached, such Third Party Software is provided for free and on “AS IS” basis. Applitools is not liable for any losses or damages which may occur resulting from the use of any Third Party Software. Applitools does not possess any proprietary interest in such Third Party Software.
16
+ 1. Open Source Licenses. The Software includes certain open source code software and materials (as shall be listed in the documentation of the Software) (“Open Source Software”) that are subject to their respective open source licenses (“Open Source Licenses”). Such Open Source Licenses contain a list of conditions with respect to warranty, copyright policy and other provisions. By executing this Agreement, Licensee undertakes to strictly comply with the terms and condition of the Open Source Licenses, as may be amended from time to time. In order to comply with the Open Source Licenses, Licensee shall read the respective licenses or notices, such list of Open Source Licenses may be amended from time to time by Applitools, at its sole discretion. In the event of any inconsistencies or conflicting provisions between the provisions of the Open Source Licenses and the provisions of this Agreement, the provisions of the Open Source Licenses shall prevail. Without derogating from the generality of the foregoing, it is clarified that any Open Source Software is provided on an “AS IS” basis, without indemnity or warranty of any kind, whether express or implied. For clarity, the representations and warranties set forth in Section ‎4 hereunder shall not apply to any Open Source Software.
17
+ 1. Title & Ownership. APPLITOOLS DOES NOT SELL OR TRANSFER TITLE IN THE SOFTWARE, OR ANY PART THEREOF, TO LICENSEE. The Documentation, Software (excluding any Open Source Software and Third Party Software therein which are owned by their respective licensors) and/or any copies thereof, including without limitation any derivative works made (regardless of whether such derivative works were made and/or developed pursuant to the request and/or specifications of Licensee, and irrespective of any support and/or assistance Applitools may, will or had received from Licensee, or any third party on its behalf, with respect thereto), as well as any updates or upgrades thereto, if provided to Applitools pursuant to this Agreement, shall remain Applitools’ sole and exclusive property. All Intellectual Property Rights evidenced by or embodied in and/or attached/connected/related to the Software, or part thereof, are and shall be owned solely and exclusively by Applitools. Nothing in this Agreement shall constitute a waiver of Applitools’ Intellectual Property Rights under any law, or be in any way construed or interpreted as such. It is further agreed that to the extent Licensee provides Applitools with Feedback, Licensee acknowledges that any and all rights, including Intellectual Property Rights in such Feedback shall belong exclusively to Applitools and Licensee hereby irrevocably and unconditionally transfers and assigns to Applitools all intellectual property rights in such Feedback and waives any and all moral rights that Licensee may have in respect thereto. It is further understood that use of Feedback, if any, may be made by Applitools at its sole discretion, and that Applitools in no way shall be obliged to make use of any kind of the Feedback or part thereof.
18
+ 1. Warranty. Applitools warrants that to its knowledge it has the right to grant the license under this Agreement. Applitools’ sole liability for any breach of this warranty or any other warranty under this Agreement shall be, at Applitools’ sole discretion: (i) to replace or repair the Software or the applicable portion thereof; or (ii) to terminate this Agreement.
19
+ 2. Warranty Exclusions. The warranties set forth in Section ‎4 are contingent upon Licensee’s proper use of the Software, and shall not apply to damage caused by abuse, misuse, alteration, neglect or unauthorized repair or installation, or by the use or attempted use of Software other than that supplied and supported by Applitools. Applitools will use reasonable commercial efforts to repair or replace the Software or the applicable portion thereof, pursuant to the foregoing warranty within thirty (30) days of being so notified.
20
+ 1. Warranty Disclaimers. AS BETWEEN LICENSEE AND APPLITOOLS, EXCEPT AS SET IN SECTION ‎4, THE SOFTWARE IS PROVIDED ON AN “AS IS” AND “AS AVAILABLE” BASIS WITHOUT WARRANTIES OF ANY KIND INCLUDING, WITHOUT LIMITATION, REPRESENTATIONS, WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR INTENDED OR PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, THAT THE SOFTWARE WILL MEET LICENSEE’S REQUIREMENTS OR EXPECTATIONS OR WILL ACHIEVE ANY SPECIFIC RESULTS AND THOSE ARISING BY STATUTE OR FROM A COURSE OF DEALING OR USAGE OF TRADE. Applicable law may not allow the exclusion of certain warranties, so to that extent such exclusions may not apply.
21
+ 1. High Risk Activities. You acknowledge that the Software is not fault tolerant and is not designed, manufactured, or intended for use or resale as on-line control equipment in hazardous or high risk environments and activities requiring fail-safe performance (such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines and/or devices, or weapons systems) in which the failure of the Software could lead directly to death, personal injury, or severe physical or environmental damage, and You agree not to use or allow the use of the Software or any portion thereof for, or in connection with, any such environment or activity.
22
+ 1. Indemnify. You agree that Applitools shall have no liability whatsoever for any use made of the Software by You or any third party. You hereby agree to defend, indemnify and hold harmless Applitools and its affiliates and their respective officers, directors, agents and employees from any and all claims, damages, liabilities, costs, and expenses (including attorney’s fees) arising from claims related to Your use of the Software as well as from Your failure to comply with this Agreement.
23
+ 1. Limitation of Liability. UNDER NO CIRCUMSTANCES SHALL APPLITOOLS AND/OR ITS AFFILIATES BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR FOR ANY LOSS OF DATA, REVENUE, BUSINESS OR REPUTATION, THAT ARISES UNDER OR IN CONNECTION WITH THIS AGREEMENT, OR THAT RESULTS FROM THE USE OF, OR THE INABILITY TO USE, THE SOFTWARE. APPLITOOLS’S TOTAL AGGREGATE LIABILITY FOR ANY AND ALL DIRECT DAMAGES AND LOSSES THAT ARISE UNDER OR IN CONNECTION WITH THIS AGREEMENT SHALL NOT IN ANY CIRCUMSTANCE EXCEED THE AMOUNT OF 100.00 (ONE HUNDRED) UNITED STATES DOLLARS. THE FOREGOING LIMITATIONS AND EXCLUSIONS IN THIS SECTION ‎7 SHALL APPLY: (I) EVEN IF APPLITOOLS HAS BEEN ADVISED OF THE POSSIBILITY OF ANY DAMAGES OR LOSSES; (II) EVEN IF ANY REMEDY SET FORTH HEREIN FAILS OF ITS ESSENTIAL PURPOSE; AND (III) REGARDLESS OF THE BASIS OR THEORY OF LIABILITY.
24
+ 1. Export Laws. Licensee agrees to comply fully with all U.S., EU, Israeli, and all applicable export laws and regulations to ensure that neither the Software nor any technical data related thereto are exported or re-exported directly or indirectly in violation of, or used for any purposes prohibited by, such laws and regulations. For clarity, and without derogating from Section ‎11 below, in case of any change of any applicable law, policy or regulation, which might affect Applitools’ business, Applitools will have the right to terminate this Agreement and the license granted hereunder and the Licensee shall have no claims regarding such termination.
25
+ 1. Term and Termination. This Agreement shall continue until terminated as set forth in this section (the “Term”). You may terminate this Agreement at any time by removing the Software from Your system and destroying all copies of the Software and Documentation relating to the Software. Unauthorized copying of the Software or otherwise failing to comply with this Agreement will result in automatic immediate termination of this Agreement and will make available to Applitools legal remedies. Applitools reserves the right to terminate this Agreement and the License at any time and without notice. Upon termination of this Agreement, the License will terminate and You: (i) will cease any and all rights to use the Software, and (ii) will remove the Software from all hard drives, networks and other storage media and destroy all copies of the Software in your possession or under your control. The provisions of Sections ‎2.3, ‎2.4, ‎2.5, ‎6, ‎7, ‎8, ‎9, 10, ‎11 and ‎12 shall survive the termination, expiration or other ending of this Agreement.
26
+ 1. Miscellaneous. This Agreement represents the complete agreement concerning the Software between You and Applitools and supersedes all prior agreements and representations between You and Applitools. If any provision of this Agreement is held to be unenforceable for any reason, such provision shall be reformed only to the extent necessary to make it enforceable. Any waiver of any provision of this Agreement will be effective only if in writing and signed by Applitools. This Agreement is personal to You and may not be assigned or transferred for any reason whatsoever without the consent of Applitools and any action or conduct in violation of the foregoing shall be void and without effect. Applitools expressly reserves the right to assign this Agreement and to delegate any of its obligations hereunder. This Agreement are governed by and construed under the laws of the State of Israel, excluding its conflicts of law rules. You expressly agree that the exclusive jurisdiction for any claim or action arising out of or relating to this Agreement shall be the courts located in Tel Aviv, Israel, and You further agree and submit to the exercise of personal jurisdiction of such courts for the purpose of litigating any such claim or action. In any action or proceeding to enforce rights under this Agreement, the prevailing party shall be entitled to recover costs and attorneys’ fees.
data/README.md ADDED
@@ -0,0 +1,139 @@
1
+ # Applitools Eyes Universal SDK for Ruby
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/eyes_universal.svg)](https://badge.fury.io/rb/eyes_universal)
4
+
5
+ The `eyes_universal` gem provides the crucial bridge between Ruby SDKs and the Applitools Universal SDK binary. This cross-platform component ensures consistent behavior across all Applitools SDKs.
6
+
7
+ ## Overview
8
+
9
+ The Eyes Universal SDK is a foundational component that powers the Applitools visual testing infrastructure. It provides a platform-specific binary that handles core visual testing operations, ensuring consistent behavior across different programming languages and platforms.
10
+
11
+ ### Purpose
12
+
13
+ This gem serves as the integration layer between Ruby-based Applitools SDKs and the Universal SDK binary. It's automatically included as a dependency when you use any Applitools SDK for Ruby and handles:
14
+
15
+ - Binary lifecycle management
16
+ - Cross-platform compatibility
17
+ - Communication protocol implementation
18
+ - Process monitoring and error handling
19
+
20
+ ## Key Components
21
+
22
+ ### Universal Server Control
23
+
24
+ The `UniversalServerControl` class manages the lifecycle of the Universal SDK binary server process:
25
+
26
+ - Starts the platform-specific executable
27
+ - Provides communication via a socket interface
28
+ - Manages server shutdown and cleanup
29
+
30
+ ### Executable Finder
31
+
32
+ The `UniversalServerGemFinder` module is responsible for:
33
+
34
+ - Finding the correct binary for the current platform (Windows, macOS, Linux, etc.)
35
+ - Supporting various CPU architectures (x86_64, ARM64, etc.)
36
+ - Locating the binary in the gem's installation directory
37
+
38
+ ### Universal Binary Manager
39
+
40
+ The `UniversalBinaryManager` handles:
41
+
42
+ - Extracting platform-specific binaries from the packaged tarball
43
+ - Setting up proper permissions for the binaries
44
+ - Managing version compatibility
45
+
46
+ ## Platform Support
47
+
48
+ The gem includes binaries for multiple platforms:
49
+
50
+ - Windows (`core-win.exe`)
51
+ - macOS (`core-macos`)
52
+ - macOS ARM64 (`core-macos-arm64`)
53
+ - Linux (`core-linux`)
54
+ - Linux ARM64 (`core-linux-arm64`)
55
+ - Alpine Linux (`core-alpine`)
56
+
57
+ ## Communication Protocol
58
+
59
+ The gem establishes a communication path between Ruby code and the Universal SDK binary:
60
+
61
+ 1. The binary is started as a separate process
62
+ 2. A TCP socket connection is created to communicate with the binary
63
+ 3. Commands and data are sent over this socket
64
+ 4. Results and responses are received and parsed back into Ruby objects
65
+
66
+ ## Usage
67
+
68
+ While this gem is not meant to be used directly by end users, it's automatically included when you use any of the Applitools SDKs for Ruby. The typical usage pattern is:
69
+
70
+ ```ruby
71
+ # This happens internally in eyes_selenium, eyes_images, etc.
72
+ require 'eyes_universal'
73
+
74
+ # Later, when a test session needs to be started:
75
+ server_control = Applitools::EyesUniversal::UniversalServerControl.instance
76
+ socket = server_control.new_server_socket_connection
77
+
78
+ # The socket is then used for communication with the Universal SDK
79
+ ```
80
+
81
+ ## Error Handling
82
+
83
+ The gem includes robust error handling for various scenarios:
84
+
85
+ - Binary not found for the current platform
86
+ - Server process fails to start
87
+ - Communication errors with the server
88
+ - Timeouts waiting for responses
89
+
90
+ Error messages are designed to be informative and help with troubleshooting.
91
+
92
+ ## Environment Variables
93
+
94
+ The gem respects several environment variables:
95
+
96
+ - `APPLITOOLS_SHOW_LOGS`: When set, displays detailed server logs
97
+ - `RUBY_PLATFORM`: Used to determine the correct binary for the platform
98
+
99
+ ## Advanced Features
100
+
101
+ ### Proxy Support
102
+
103
+ The gem supports communication through a proxy server, which is useful in corporate environments that restrict direct internet access.
104
+
105
+ ### Socket Management
106
+
107
+ Multiple socket connections can be created to the same server instance, allowing parallel operations.
108
+
109
+ ### Server Monitoring
110
+
111
+ The gem includes a monitoring thread that detects if the server process exits unexpectedly.
112
+
113
+ ## FAQ
114
+
115
+ ### What happens if the binary is not found for my platform?
116
+
117
+ If the appropriate binary cannot be found, the gem will throw an error with detailed information about which binary it was looking for and where it searched.
118
+
119
+ ### Does this work on Docker/container environments?
120
+
121
+ Yes, the gem is designed to work in containerized environments, including Alpine Linux containers (using the `core-alpine` binary).
122
+
123
+ ### How is version compatibility managed between the gem and the binaries?
124
+
125
+ The binaries are packaged with each gem version, ensuring compatibility. When upgrading the gem, you automatically get the corresponding binary version.
126
+
127
+ ### Can I specify which binary to use manually?
128
+
129
+ While not recommended, you can override the binary selection by setting environment variables or modifying the `filename` method in the `UniversalServerGemFinder` module.
130
+
131
+ ### How do I debug issues with the Universal SDK binary?
132
+
133
+ Set the `APPLITOOLS_SHOW_LOGS` environment variable to see detailed logs from the server process, which can help diagnose issues.
134
+
135
+ ## License
136
+
137
+ This SDK is distributed under the Applitools SDK License Agreement. See the [LICENSE](LICENSE) file for more details.
138
+
139
+ **Important:** This SDK may be used solely for your personal, non-commercial purposes. For commercial use, please contact your Applitools representative or visit [applitools.com](https://applitools.com) to obtain a commercial license.
Binary file
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.description = 'eyes-universal binaries for writing Applitools tests'
17
17
  spec.summary = 'Applitools Ruby Universal binaries for SDK'
18
18
  spec.homepage = 'https://www.applitools.com'
19
- spec.license = 'Applitools'
19
+ spec.license = 'Proprietary'
20
20
 
21
21
  spec.files = [
22
22
  'ext/eyes-universal/core.tar.gz',
@@ -26,6 +26,8 @@ Gem::Specification.new do |spec|
26
26
  'lib/applitools/eyes_universal/universal_server_control.rb',
27
27
  'lib/eyes_universal.rb',
28
28
  'lib/applitools/eyes_universal/version.rb',
29
+ 'LICENSE',
30
+ 'README.md',
29
31
  'CHANGELOG.md',
30
32
  'eyes_universal.gemspec',
31
33
  'Rakefile',
@@ -17,9 +17,6 @@ module Applitools::EyesUniversal
17
17
 
18
18
  def executable_filepath
19
19
  raise 'Universal server not Found' if server_lib.nil?
20
- if RUBY_PLATFORM =~ /darwin.*arm64|aarch64/i
21
- puts "[WARN] Running on Apple Silicon (M1/M2) - using Intel binary with Rosetta"
22
- end
23
20
 
24
21
  return filepath if valid_file?(filepath)
25
22
  core_path = other_filepaths.find {|path| valid_file?(path) }
@@ -46,7 +43,11 @@ module Applitools::EyesUniversal
46
43
 
47
44
  # First, handle specific platform combinations
48
45
  if platform.include?('darwin')
49
- return 'core-macos'
46
+ if platform.include?('arm64') || platform.include?('aarch64')
47
+ return 'core-macos-arm64'
48
+ else
49
+ return 'core-macos'
50
+ end
50
51
  elsif platform.include?('linux')
51
52
  if platform.include?('arm64') || platform.include?('aarch64')
52
53
  return 'core-linux-arm64'
@@ -43,7 +43,11 @@ module Applitools
43
43
 
44
44
  # First, handle specific platform combinations
45
45
  if platform.include?('darwin')
46
- return 'core-macos'
46
+ if platform.include?('arm64') || platform.include?('aarch64')
47
+ return 'core-macos-arm64'
48
+ else
49
+ return 'core-macos'
50
+ end
47
51
  elsif platform.include?('linux')
48
52
  if platform.include?('arm64') || platform.include?('aarch64')
49
53
  return 'core-linux-arm64'
@@ -66,4 +70,4 @@ module Applitools
66
70
  end
67
71
  end
68
72
  end
69
- end
73
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Applitools
4
4
  module EyesUniversal
5
- VERSION = '4.37.0'.freeze
5
+ VERSION = '4.41.0'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eyes_universal
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.37.0
4
+ version: 4.41.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-17 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: open-uri
@@ -53,6 +53,8 @@ extensions:
53
53
  extra_rdoc_files: []
54
54
  files:
55
55
  - CHANGELOG.md
56
+ - LICENSE
57
+ - README.md
56
58
  - Rakefile
57
59
  - ext/eyes-universal/Rakefile
58
60
  - ext/eyes-universal/core.tar.gz
@@ -64,7 +66,7 @@ files:
64
66
  - lib/eyes_universal.rb
65
67
  homepage: https://www.applitools.com
66
68
  licenses:
67
- - Applitools
69
+ - Proprietary
68
70
  metadata: {}
69
71
  post_install_message:
70
72
  rdoc_options: []