eyes_core 3.17.3 → 3.17.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 312e54caac6310abd60d5bc82d8e0897fc635d374a66744f560143232d324d0a
|
|
4
|
+
data.tar.gz: 06c6261334f611245938c4653bb2e6619a6309538285e3ace4d4bcfc4e2be214
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86a30cb5da86b0f128f3265f52c61880f429eb5310529a1fbf755b013c6e017515327c11d0507513acee261c57ca89d24b33306d69ea4cdea9dadb9455d82172
|
|
7
|
+
data.tar.gz: 9ab3f66d06e33475bcdf250b80fce6013f413ec1d77fc92457e14ac36052382a97d5de964dc06e63feeef0e455711c23c4989fd5b8d5b2156037f1711e489e0d
|
|
@@ -284,7 +284,6 @@ module Applitools::Connectivity
|
|
|
284
284
|
endpoint_url, body: request_body
|
|
285
285
|
)
|
|
286
286
|
raise Applitools::EyesError.new("Request failed: #{res.status} #{res.body} #{request_body}") unless res.success?
|
|
287
|
-
|
|
288
287
|
response = Oj.load(res.body)
|
|
289
288
|
Applitools::Session.new(response, res.status == HTTP_STATUS_CODES[:created])
|
|
290
289
|
end
|
|
@@ -14,7 +14,7 @@ module Applitools
|
|
|
14
14
|
if self.class.respond_to? :default_config
|
|
15
15
|
default_config = self.class.default_config
|
|
16
16
|
default_config.keys.each do |k|
|
|
17
|
-
send "#{k}=", default_config[k]
|
|
17
|
+
send "#{k}=", default_config[k] unless default_config[k].nil?
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
20
|
end
|
|
@@ -12,9 +12,9 @@ require 'applitools/core/image_match_settings'
|
|
|
12
12
|
module Applitools
|
|
13
13
|
class EyesBaseConfiguration < AbstractConfiguration
|
|
14
14
|
DEFAULT_CONFIG = {
|
|
15
|
-
branch_name: ENV['APPLITOOLS_BRANCH']
|
|
16
|
-
parent_branch_name: ENV['APPLITOOLS_PARENT_BRANCH']
|
|
17
|
-
baseline_branch_name: ENV['APPLITOOLS_BASELINE_BRANCH']
|
|
15
|
+
branch_name: ENV['APPLITOOLS_BRANCH'],
|
|
16
|
+
parent_branch_name: ENV['APPLITOOLS_PARENT_BRANCH'],
|
|
17
|
+
baseline_branch_name: ENV['APPLITOOLS_BASELINE_BRANCH'],
|
|
18
18
|
save_diffs: false,
|
|
19
19
|
server_url: ENV['APPLITOOLS_SERVER_URL'] ||
|
|
20
20
|
ENV['bamboo_APPLITOOLS_SERVER_URL'] || Applitools::Connectivity::ServerConnector::DEFAULT_SERVER_URL,
|
|
@@ -42,7 +42,11 @@ module Applitools
|
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
def json_data
|
|
45
|
-
result = self.class.json_methods.sort.map
|
|
45
|
+
result = self.class.json_methods.sort.map do |k,v|
|
|
46
|
+
val = json_value(send(v))
|
|
47
|
+
next if val.nil?
|
|
48
|
+
[k, val]
|
|
49
|
+
end.compact.to_h
|
|
46
50
|
result = self.class.wrap_data_block.call(result) if self.class.wrap_data_block.is_a? Proc
|
|
47
51
|
result
|
|
48
52
|
end
|
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.17.
|
|
4
|
+
version: 3.17.4
|
|
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: 2020-06-
|
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oily_png
|
|
@@ -370,7 +370,7 @@ licenses:
|
|
|
370
370
|
- Applitools
|
|
371
371
|
metadata:
|
|
372
372
|
yard.run: yri
|
|
373
|
-
post_install_message:
|
|
373
|
+
post_install_message:
|
|
374
374
|
rdoc_options: []
|
|
375
375
|
require_paths:
|
|
376
376
|
- lib
|
|
@@ -387,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
387
387
|
version: '0'
|
|
388
388
|
requirements: []
|
|
389
389
|
rubygems_version: 3.0.8
|
|
390
|
-
signing_key:
|
|
390
|
+
signing_key:
|
|
391
391
|
specification_version: 4
|
|
392
392
|
summary: Core of the Applitools Ruby SDK
|
|
393
393
|
test_files: []
|