rspec-conductor 1.0.13 → 1.0.14

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: b4a0e80c50d64016bdf33f302aca5ecfcf864b1aeb2b731959524a9c69420fe9
4
- data.tar.gz: f65298df39d7efce1b4122ad1da5a47748d01cd32d5dedde89d687c128007a20
3
+ metadata.gz: 6408454aa3f81fd5714e838851d714f1c2cf51a39779213b512ac123e3b924cc
4
+ data.tar.gz: 6b29844c585a1ac1c21fa9224cf0bfab77d2447437e157c87ddf5f3bbdc5c16b
5
5
  SHA512:
6
- metadata.gz: 4f9d0d58104cbd80abdf7eed585215dc25fcb21626caafbc2342db5fd3ef8062fa2f2df25c5aae4941d891ed771c56efe2cd359441ec8dfc5866ca91aced6faf
7
- data.tar.gz: 4a1b51184dbf8d76c6723143c99e2e3fbc2faf6d374ab2c3de0198a9511d006e68509d709483bfb6c32a93403a1313d90fb625ad9547b941d8cfb91e7091ffac
6
+ metadata.gz: c2ae74eb21b7ed809994254b11906e51aef31fd9bf78fdb3f4d65a383dafddea138299d0c9ef033adf770b1986d37de6d719a2e104b9f8ca9b262f7f9e3d453a
7
+ data.tar.gz: 02475c9eb8a71127176d52ea06b465c56c02b9af4ef39f8e8e7f789c6dcd401d0c2477964ec518544ea157318c3bdb050cfdb7e2a8002e8e45d4f626393bca97
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [1.0.13] - TBD
1
+ ## [1.0.14] - 2026-11-16
2
+
3
+ - Fix --print-slowest crash when there are pending specs
4
+
5
+ ## [1.0.13] - 2026-11-16
2
6
 
3
7
  - Fix stdin echo not being reenabled after the program is terminated
4
8
  - When --example-status-persistence flag is set and the status file is available, run slowest spec files first (helpful when you have a mix of super slow and super fast spec files)
@@ -51,7 +51,7 @@ module RSpec
51
51
  def print_slowest(suite_run, n)
52
52
  puts "\n\n"
53
53
  puts "Slowest #{n} specs:"
54
- suite_run.example_stats.sort_by { |e| -e[:run_time] }.take(n).each_with_index do |e, i|
54
+ suite_run.example_stats.select { |e| e[:run_time] }.sort_by { |e| -e[:run_time] }.take(n).each_with_index do |e, i|
55
55
  puts "%3d. (%8.2fms) %s @ %s" % [i + 1, e[:run_time] * 1000, colorize(e[:description], :dim), colorize(e[:location], :cyan)]
56
56
  end
57
57
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RSpec
4
4
  module Conductor
5
- VERSION = "1.0.13"
5
+ VERSION = "1.0.14"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-conductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Abramov