knapsack_pro 7.8.0 → 7.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5ab7ad3dc194e05627836c95059415cc305c763b4e14facfd7139ea3888265e
|
4
|
+
data.tar.gz: 6e8f3bdf4bff758695e2a11398dddfe0bf03f38a3c3e687b13ca69f96de63cab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6655218987352b0916596ed6320e900df07e7fbdeb8390fdd167d3577d9b5a2fd9c6f3917b06dc7c1496435dbc808fed314e23b661eab792efa9e68c5b4946a
|
7
|
+
data.tar.gz: 5c171a12bc010155e4401df17a87de1bc7059fc8454b897fa16ab589211fbefb637e8545ab38ec4e73b630d3262e524b2f9f49c0c40a99156cae26a0a63c0084
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,20 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
###
|
3
|
+
### 7.8.2
|
4
|
+
|
5
|
+
* Set `RSpec.world.wants_to_quit` to true when any signal is received by the knapsack_pro gem to allow graceful exit.
|
6
|
+
|
7
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/273
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.8.1...v7.8.2
|
10
|
+
|
11
|
+
### 7.8.1
|
12
|
+
|
13
|
+
* Handle `nil` in `Thread#backtrace` and `Exception#backtrace`.
|
14
|
+
|
15
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/pull/272
|
16
|
+
|
17
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v7.8.0...v7.8.1
|
4
18
|
|
5
19
|
### 7.8.0
|
6
20
|
|
@@ -59,6 +59,7 @@ module KnapsackPro
|
|
59
59
|
Signal.trap(signal) {
|
60
60
|
puts "#{signal} signal has been received. Terminating Knapsack Pro..."
|
61
61
|
@@terminate_process = true
|
62
|
+
RSpec.world.wants_to_quit = true
|
62
63
|
log_threads
|
63
64
|
}
|
64
65
|
end
|
@@ -81,7 +82,7 @@ module KnapsackPro
|
|
81
82
|
puts "Non-main thread inspect: #{thread.inspect}"
|
82
83
|
puts "Non-main thread backtrace:"
|
83
84
|
end
|
84
|
-
puts thread.backtrace
|
85
|
+
puts thread.backtrace&.join("\n")
|
85
86
|
puts
|
86
87
|
end
|
87
88
|
|
@@ -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
|
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
|
data/lib/knapsack_pro/version.rb
CHANGED
@@ -1383,8 +1383,8 @@ describe "#{KnapsackPro::Runners::Queue::RSpecRunner} - Integration tests", :cle
|
|
1383
1383
|
expect(actual.stdout).to include('B1.1.1 test example (PENDING: Temporarily skipped with xit)')
|
1384
1384
|
expect(actual.stdout).to include('INT signal has been received. Terminating Knapsack Pro...')
|
1385
1385
|
expect(actual.stdout).to include('B1.1.2 test example')
|
1386
|
-
expect(actual.stdout).
|
1387
|
-
expect(actual.stdout).
|
1386
|
+
expect(actual.stdout).to_not include('B1.1.3 test example (FAILED - 1)')
|
1387
|
+
expect(actual.stdout).to_not include('B1.2.1 test example')
|
1388
1388
|
|
1389
1389
|
# next ExampleGroup within the same b_spec.rb is not executed
|
1390
1390
|
expect(actual.stdout).to_not include('B2.1 test example')
|
@@ -1404,14 +1404,6 @@ describe "#{KnapsackPro::Runners::Queue::RSpecRunner} - Integration tests", :cle
|
|
1404
1404
|
OUTPUT
|
1405
1405
|
)
|
1406
1406
|
|
1407
|
-
expect(actual.stdout).to include(
|
1408
|
-
<<~OUTPUT
|
1409
|
-
Failures:
|
1410
|
-
|
1411
|
-
1) B1_describe B1.1_describe B1.1.3 test example
|
1412
|
-
OUTPUT
|
1413
|
-
)
|
1414
|
-
|
1415
1407
|
|
1416
1408
|
expect(actual.stdout).to include('Use the following backtrace(s) to find the line of code that got stuck if the CI node hung and terminated your tests.')
|
1417
1409
|
expect(actual.stdout).to include('Main thread backtrace:')
|
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.
|
4
|
+
version: 7.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|