eyes_core 3.15.33 → 3.15.34
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc4527ffa7f9d69d7f1bb8f1b6fdf33c08359965b0582487844b065c120eba1e
|
4
|
+
data.tar.gz: 027efd46e71dba6bc2c6e3eff73b898d286d3cd16ab081c3b858bf6c7efa26e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53e7b9dcd8b971ea6fbd87b3265e2b70088d590a722144cf36b521d725366d2c8c6dc8420ffa4db60cfdf86e660a84f39dca753afa89abf7ebe37166a7776576
|
7
|
+
data.tar.gz: ec916cceb132035605058517cb7a957cb883bbe9089e08393bdc4fd087069ad8b0d065e83c5dd67b75cb4c24fbcd67856797171cef0948f14440840231d32599
|
@@ -14,8 +14,8 @@ module Applitools
|
|
14
14
|
parent_branch_name: ENV['APPLITOOLS_PARENT_BRANCH'] || '',
|
15
15
|
baseline_branch_name: ENV['APPLITOOLS_BASELINE_BRANCH'] || '',
|
16
16
|
save_diffs: false,
|
17
|
-
server_url: 'https://eyessdk.applitools.com',
|
18
|
-
api_key: ENV['APPLITOOLS_API_KEY'] || '',
|
17
|
+
server_url: ENV['APPLITOOLS_SERVER_URL'] || ENV['bamboo_APPLITOOLS_SERVER_URL'] || 'https://eyessdk.applitools.com',
|
18
|
+
api_key: ENV['APPLITOOLS_API_KEY'] || ENV['bamboo_APPLITOOLS_API_KEY'] || '',
|
19
19
|
match_level: Applitools::MatchLevel::STRICT,
|
20
20
|
scale: 0,
|
21
21
|
remainder: 0
|
@@ -25,8 +25,8 @@ module Applitools
|
|
25
25
|
|
26
26
|
def environment_attribute(attribute_name, environment_variable)
|
27
27
|
class_eval do
|
28
|
-
Applitools::Helpers.environment_variables[environment_variable.to_sym] =
|
29
|
-
|
28
|
+
Applitools::Helpers.environment_variables[environment_variable.to_sym] = env_variable(environment_variable) if
|
29
|
+
env_variable(environment_variable)
|
30
30
|
attr_accessor attribute_name
|
31
31
|
define_method(attribute_name) do
|
32
32
|
current_value = instance_variable_get "@#{attribute_name}".to_sym
|
@@ -38,5 +38,9 @@ module Applitools
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|
41
|
+
|
42
|
+
def env_variable(environment_variable)
|
43
|
+
ENV[environment_variable.to_s] || ENV["bamboo_#{environment_variable}"]
|
44
|
+
end
|
41
45
|
end
|
42
46
|
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.15.
|
4
|
+
version: 3.15.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Applitools Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oily_png
|