bugsnag-maze-runner 9.23.1 → 9.23.2

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: 79e35c02b13ac2de4eb68fc7f6474d7de9d79292d3a3bf0f5c02486b4c76b072
4
- data.tar.gz: 3208fde266b0c77da43eda01beefbf91ebd083256b2a062849693677547a86f1
3
+ metadata.gz: 7ccca36cf5172a88647efadf46ed47811a42b68e4e0c9829626969c35efd4929
4
+ data.tar.gz: eccfcd4709f8d8026a2449d87603d67606efa03a376703dae1db8191425b614f
5
5
  SHA512:
6
- metadata.gz: e4b9616d4ef517e60f90ad89ee1d551a0155ef17f02817189e7a5a925cfb29ac9029bde09112a8e1adb3bdd04aff19dee20ce145435cb0eb1829cf8dc0830ede
7
- data.tar.gz: 761cea46e96dde5ce1c179e31b9edacb3f564458545a5cac0e6e5c6961ec361e0276723077e24d934c376a20f877310b19b9b760767b73602d13f10aff3c542f
6
+ metadata.gz: 57ac674190da25c1d9404a5a0308a455514b96e55272f3fe1a9fee929e5f96d8579740abaedd1426e440151554ff77376bae2bf9b85542c8e634519efbdd6e82
7
+ data.tar.gz: 992045eb1042ddd27ff7c37ff4eb4950288155b92589dd8197cc83572931307088bd003e681a5a526eed1e84105cb6e4a0cafda00966f816423a380b40ff9994
@@ -22,8 +22,10 @@ module Maze
22
22
  config.aws_public_ip = options[Maze::Option::AWS_PUBLIC_IP]
23
23
  config.enable_retries = options[Maze::Option::RETRIES]
24
24
  config.enable_bugsnag = options[Maze::Option::BUGSNAG]
25
- config.aspecto_repeater_api_key = options[Maze::Option::ASPECTO_REPEATER_API_KEY]
26
- config.bugsnag_repeater_api_key = options[Maze::Option::BUGSNAG_REPEATER_API_KEY]
25
+ aspecto_repeater_api_key = options[Maze::Option::ASPECTO_REPEATER_API_KEY]
26
+ config.aspecto_repeater_api_key = aspecto_repeater_api_key unless aspecto_repeater_api_key&.empty?
27
+ bugsnag_repeater_api_key = options[Maze::Option::BUGSNAG_REPEATER_API_KEY]
28
+ config.bugsnag_repeater_api_key = bugsnag_repeater_api_key unless bugsnag_repeater_api_key&.empty?
27
29
 
28
30
  # Document server options
29
31
  config.document_server_root = options[Maze::Option::DS_ROOT]
@@ -31,7 +31,12 @@ module Maze
31
31
 
32
32
  # --repeater-api-key
33
33
  key = options[Option::BUGSNAG_REPEATER_API_KEY]
34
+ if key&.empty?
35
+ $logger.warn "A repeater-api-key option was provided with an empty string. This won't be used during this test run"
36
+ key = nil
37
+ end
34
38
  key_regex = /^[0-9a-fA-F]{32}$/
39
+
35
40
  if key && !key_regex.match?(key)
36
41
  errors << "--#{Option::BUGSNAG_REPEATER_API_KEY} must be set to a 32-character hex value"
37
42
  end
data/lib/maze.rb CHANGED
@@ -8,7 +8,7 @@ require_relative 'maze/timers'
8
8
  # providing an alternative to the proliferation of global variables or singletons.
9
9
  module Maze
10
10
 
11
- VERSION = '9.23.1'
11
+ VERSION = '9.23.2'
12
12
 
13
13
  class << self
14
14
  attr_accessor :check, :driver, :internal_hooks, :mode, :start_time, :dynamic_retry, :public_address,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bugsnag-maze-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.23.1
4
+ version: 9.23.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Kirkland
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-19 00:00:00.000000000 Z
11
+ date: 2025-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber