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: de4ea6561bb2f4b74944e8b7a29919102218b2c157d89676adc8439657950c97
4
- data.tar.gz: 2ca6209defdc119db2987b019fcf90fbd285a9e6329c2c54da542b01b3de80b2
3
+ metadata.gz: cc4527ffa7f9d69d7f1bb8f1b6fdf33c08359965b0582487844b065c120eba1e
4
+ data.tar.gz: 027efd46e71dba6bc2c6e3eff73b898d286d3cd16ab081c3b858bf6c7efa26e3
5
5
  SHA512:
6
- metadata.gz: 6e39e8835ab28f9c5d92daea90f3fb85e6a07561f1f5de0e9555c72fbbfd6394f18ac7e816453d5c81215828f206e8c9b3c9a9eb418bee3546bcc7bf13b99fd0
7
- data.tar.gz: c0c79f0d0781d9b6818a289822a92903c8111898797abc65c1c07c9af77caebd1fe7ff7c7928b65f32a260b128f7d570f589c0a0b44c6ceadc2cf15edad8c7bb
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] = ENV[environment_variable.to_s] if
29
- ENV[environment_variable.to_s]
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: false
2
2
 
3
3
  module Applitools
4
- VERSION = '3.15.33'.freeze
4
+ VERSION = '3.15.34'.freeze
5
5
  end
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.33
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-06 00:00:00.000000000 Z
11
+ date: 2019-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oily_png