eyes_core 3.16.4 → 3.16.5
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/lib/applitools/connectivity/server_connector.rb +3 -3
- data/lib/applitools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39e8a6b4d23f5c9e058ad38d4b7a0ddb45eca4a6621e4ad9ce46614f4d5d0abd
|
4
|
+
data.tar.gz: d190e9dc7fae77cf84bff7dbdd36e644e77434fb94927968f13452ff25b74bef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ee00b1c65a417e51ed7d6a201a350967e98b37e28ede1e7bce8c880cf4880bcefdc96d8e070efe6700484e471d55cf7faa1b6b5cd5bb5352a51b478bb4661b9
|
7
|
+
data.tar.gz: bfb4061d30189e445e6bca23dc52f777fa74634fa41532f891cde0fc4cd0aa34ccadbe9e871d73efa32f830bced19cc7147545956c8b9477926e7dc31b608154
|
@@ -44,7 +44,7 @@ module Applitools::Connectivity
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def rendering_info
|
47
|
-
response = long_get(server_url
|
47
|
+
response = long_get(URI.join(server_url, RENDER_INFO_PATH), content_type: 'application/json')
|
48
48
|
unless response.status == HTTP_STATUS_CODES[:ok]
|
49
49
|
raise Applitools::EyesError, "Error getting render info (#{response.status}})"
|
50
50
|
end
|
@@ -52,8 +52,7 @@ module Applitools::Connectivity
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def render(service_url, access_key, requests)
|
55
|
-
uri = URI(service_url)
|
56
|
-
uri.path = RENDER
|
55
|
+
uri = URI.join(URI(service_url), RENDER)
|
57
56
|
response = dummy_post(
|
58
57
|
uri,
|
59
58
|
body: requests.json,
|
@@ -180,6 +179,7 @@ module Applitools::Connectivity
|
|
180
179
|
end
|
181
180
|
|
182
181
|
def server_url=(url)
|
182
|
+
unless url.nil?; uri = URI.parse(url); url = "#{uri.scheme}://#{uri.hostname}".freeze; end
|
183
183
|
@server_url = url.nil? ? DEFAULT_SERVER_URL : url
|
184
184
|
unless @server_url.is_a? String
|
185
185
|
raise Applitools::EyesIllegalArgument.new 'You should pass server url as a String!' \
|
data/lib/applitools/version.rb
CHANGED
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: 3.16.
|
4
|
+
version: 3.16.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oily_png
|