bugsnag-maze-runner 9.35.3 → 9.36.0
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/maze/request_list.rb +11 -0
- data/lib/maze.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: fea2efe5108b520669c020cb35a9e03a4ab9bc7f88a6136ed866aab64641a4af
|
4
|
+
data.tar.gz: 6940e0f5213b8c62bc73bb2888dc81f7946fbbffcb06316b499946a03f7580b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4243f48064e91757b1fb549bff897e0d9d9398076ac4e1fb0ac0512d391b3aa317038c042d679b80403337de4d06651d565ea2af564c045a5be146241e72efda
|
7
|
+
data.tar.gz: '0580471cf0ca9ab9de0e278806357c00d20adeacf4b5f577ae7b3fc6e4c1c8cc203bb0cccc9479d865757c1fe6f8cee34965d95d7ecb283842069cb7605d0afc'
|
data/lib/maze/request_list.rb
CHANGED
@@ -91,6 +91,17 @@ module Maze
|
|
91
91
|
sub_list.each_with_index { |r, i| @requests[@current + i] = r }
|
92
92
|
end
|
93
93
|
|
94
|
+
# Sorts the remaining elements of the list by the request path, if present in all of those elements
|
95
|
+
def sort_by_request_path!
|
96
|
+
list = remaining
|
97
|
+
|
98
|
+
return if list.any? { |r| r[:request].path.nil? }
|
99
|
+
|
100
|
+
# Sort the list by request path and overwrite in the main list
|
101
|
+
list.sort_by! { |r| r[:request].path }
|
102
|
+
list.each_with_index { |r, i| @requests[@current + i] = r }
|
103
|
+
end
|
104
|
+
|
94
105
|
# Sorts the remaining elements of the list by the field given, if present in all of those elements
|
95
106
|
def sort_by!(key_path)
|
96
107
|
list = remaining
|
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.
|
11
|
+
VERSION = '9.36.0'
|
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.
|
4
|
+
version: 9.36.0
|
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-08-
|
11
|
+
date: 2025-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|