rspec-conductor 1.0.7 → 1.0.8
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/CHANGELOG.md +5 -0
- data/lib/rspec/conductor/ext/rspec.rb +2 -2
- data/lib/rspec/conductor/version.rb +1 -1
- data/lib/rspec/conductor/worker.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91793bc12c3384342322b331ddbc5738dd448b92b18517f3de1a5f27b45b464d
|
|
4
|
+
data.tar.gz: 5daf14136401f25142f9d0393f8f427fd785245baff4eb6a026823549afa0e34
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48cc6ad36c65d3686da3a03bd87261c66a00d3d77c1e7156a4504eb6c2e2e1b16b2c6df999163e02aa8f603674fdbe8c081765a0ad3983e426e9f9e40f03be9a
|
|
7
|
+
data.tar.gz: f93a55a25e1a890d13b29216f2c454ccd8c8d2cb01dda643ff24ba514dbdcfc85331cfed134f3bd9ba9fc87491b79dbf70fab43e5037383425a522dc00af3d7e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [1.0.8] - 2026-02-18
|
|
2
|
+
|
|
3
|
+
- When --postfork-require is provided, use current dir instead of spec/
|
|
4
|
+
- Make sure before(:suite) hooks are actually called
|
|
5
|
+
|
|
1
6
|
## [1.0.7] - 2026-02-16
|
|
2
7
|
|
|
3
8
|
- Move all output code into the formatter base class (lay some groundwork to address some minor issues with the fancy formatter)
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
class RSpec::Core::Configuration
|
|
4
4
|
def __run_before_suite_hooks
|
|
5
5
|
RSpec.current_scope = :before_suite_hook if RSpec.respond_to?(:current_scope=)
|
|
6
|
-
run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks) if respond_to?(:run_suite_hooks)
|
|
6
|
+
run_suite_hooks("a `before(:suite)` hook", @before_suite_hooks) if respond_to?(:run_suite_hooks, true)
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
def __run_after_suite_hooks
|
|
10
10
|
RSpec.current_scope = :after_suite_hook if RSpec.respond_to?(:current_scope=)
|
|
11
|
-
run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks) if respond_to?(:run_suite_hooks)
|
|
11
|
+
run_suite_hooks("an `after(:suite)` hook", @after_suite_hooks) if respond_to?(:run_suite_hooks, true)
|
|
12
12
|
end
|
|
13
13
|
end
|
|
@@ -95,7 +95,7 @@ module RSpec
|
|
|
95
95
|
debug "Neither rails_helper, nor spec_helper found, skipping..."
|
|
96
96
|
end
|
|
97
97
|
elsif @postfork_require
|
|
98
|
-
required_file = File.expand_path(@postfork_require
|
|
98
|
+
required_file = File.expand_path(@postfork_require)
|
|
99
99
|
if File.exist?(required_file)
|
|
100
100
|
debug "Requiring #{required_file}..."
|
|
101
101
|
require required_file
|