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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/maze/request_list.rb +11 -0
  3. data/lib/maze.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4a77842963b58b42a5b8d2d5198a4b622e345c02ade8007ec20cd7bd74af39d
4
- data.tar.gz: 00eb930df13c2669157f62bc918cb8acb7c2bf8099b4a8eb56c62301f4deab37
3
+ metadata.gz: fea2efe5108b520669c020cb35a9e03a4ab9bc7f88a6136ed866aab64641a4af
4
+ data.tar.gz: 6940e0f5213b8c62bc73bb2888dc81f7946fbbffcb06316b499946a03f7580b8
5
5
  SHA512:
6
- metadata.gz: 2c1e9d8f2733fd152365df540e7c7568d709ea95d0af42367aa43d44088063d25d20ffc83bcb351f439179155d744c9b16d8a04d3a46c5b3d5c3176e8496e522
7
- data.tar.gz: 59738b7ec905474e54c762cda0644b5f820d799f3524f8c4a44ed0601d9b8c5bbcee318cdf2544bfef49dca038e636561b5b453714a19166945d3debc12c29ac
6
+ metadata.gz: 4243f48064e91757b1fb549bff897e0d9d9398076ac4e1fb0ac0512d391b3aa317038c042d679b80403337de4d06651d565ea2af564c045a5be146241e72efda
7
+ data.tar.gz: '0580471cf0ca9ab9de0e278806357c00d20adeacf4b5f577ae7b3fc6e4c1c8cc203bb0cccc9479d865757c1fe6f8cee34965d95d7ecb283842069cb7605d0afc'
@@ -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.35.3'
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.35.3
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-22 00:00:00.000000000 Z
11
+ date: 2025-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber