knapsack_pro 7.8.0 → 7.8.1

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: 305d35a49e09ed66729fda89d59557df29b05f260ad7495cf7c37f5e886f55f8
4
- data.tar.gz: 07efa1a33e29ea7d0ea8b83e7134558dda4e94e14c3753d386cb5d46ad8e1dee
3
+ metadata.gz: 9ef08fdcb6733ab55c27b8950c057f60798399e6af3ca535fcd8a9e7982b9c29
4
+ data.tar.gz: 43e412bce3cab199ff2beaf9218f0c0b3ad8f8ac8998b3a3081b3dfaf8aacdde
5
5
  SHA512:
6
- metadata.gz: 0b3af0a93381d94a03afa13a3bddb9de2c2b91958ffb8b0d83707c168300a51bf863d6907ce3b5f2cbe22fc87954fe01f4b61557b9cafddceabd35ba541a2344
7
- data.tar.gz: f195aebb076beac551dbd4923fdb516d08d2d2f15d6b663499be5ed432dc502048a93bafdd48ff46f1632ac1d9adf5de2e4c261a9c4d80a9eab31e2ddb62a5e6
6
+ metadata.gz: 1e57cf0ed3ee020aa241ac13eb70b4e559fec9fece0b80d316ee832b16e52ad4711953a02aa86a576a3e67e89d200c50d22d6aa33f50280f71ff4a9f925c14f1
7
+ data.tar.gz: ceb0f1f95f900f2f243fcb5ddf8698fe5a9f213f115bcf3fd05bdb12bcc332d750ceabc01c790b2a67e56facf2868e05a9fa46da51a0d5e405849725c6b0d8ba
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ### UNRELEASED
3
+ ### 7.8.1
4
+
5
+ * Handle `nil` in `Thread#backtrace` and `Exception#backtrace`.
6
+
7
+ https://github.com/KnapsackPro/knapsack_pro-ruby/pull/272
8
+
9
+ https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.8.0...v7.8.1
4
10
 
5
11
  ### 7.8.0
6
12
 
@@ -81,7 +81,7 @@ module KnapsackPro
81
81
  puts "Non-main thread inspect: #{thread.inspect}"
82
82
  puts "Non-main thread backtrace:"
83
83
  end
84
- puts thread.backtrace.join("\n")
84
+ puts thread.backtrace&.join("\n")
85
85
  puts
86
86
  end
87
87
 
@@ -58,7 +58,7 @@ module KnapsackPro
58
58
  rescue Exception => exception
59
59
  KnapsackPro.logger.error("An unexpected exception happened. RSpec cannot handle it. The exception: #{exception.inspect}")
60
60
  KnapsackPro.logger.error("Exception message: #{exception.message}")
61
- KnapsackPro.logger.error("Exception backtrace: #{exception.backtrace.join("\n")}")
61
+ KnapsackPro.logger.error("Exception backtrace: #{exception.backtrace&.join("\n")}")
62
62
 
63
63
  message = @rspec_pure.exit_summary(unexecuted_test_files)
64
64
  KnapsackPro.logger.warn(message) if message
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KnapsackPro
4
- VERSION = '7.8.0'
4
+ VERSION = '7.8.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knapsack_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.8.0
4
+ version: 7.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ArturT
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-08 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -415,7 +415,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
415
415
  - !ruby/object:Gem::Version
416
416
  version: '0'
417
417
  requirements: []
418
- rubygems_version: 3.5.11
418
+ rubygems_version: 3.5.16
419
419
  signing_key:
420
420
  specification_version: 4
421
421
  summary: Knapsack Pro splits tests across parallel CI nodes and ensures each parallel