rspec-turbo 0.1.1 → 0.1.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/rspec_turbo/db_setup.rb +8 -1
- data/lib/rspec_turbo/version.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: '0893f6f1cf18da0567d9f0269278cf37cc6a7a5b0283e04e2a30f8bd23174bd7'
|
|
4
|
+
data.tar.gz: 5df528ce22f1a37238dfe99ab71d85c4dbf890604c068dc3f9163dcf91d95546
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 261b5c44987eeb63233ff0bbba97f9c05b7425dcb8d21d5a0d30f4a9a84ec941682c0ae9660be0daa391567923eaed49957596cae5acb7a39a12a35534a663dc
|
|
7
|
+
data.tar.gz: 609c5ddf05b89abc63268b402df0bb12024cdbbb834c48377412e6c6e0c35f56a6a782fcd7cd3b3c1960da77d3040026d6dd8fdace3e6ddf69d813f98ac7d8b5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.2] - 2026-06-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- `DbSetup` sets `DISABLE_DATABASE_ENVIRONMENT_CHECK=1`, so `db:drop` no longer
|
|
7
|
+
fails with `ActiveRecord::NoEnvironmentInSchemaError` on databases missing
|
|
8
|
+
environment metadata (the production guard is irrelevant for the test DBs).
|
|
9
|
+
|
|
3
10
|
## [0.1.1] - 2026-06-12
|
|
4
11
|
|
|
5
12
|
### Added
|
data/lib/rspec_turbo/db_setup.rb
CHANGED
|
@@ -39,7 +39,14 @@ module RSpecTurbo
|
|
|
39
39
|
(1..@n).map do |slot|
|
|
40
40
|
log = Config.setup_log_path(slot)
|
|
41
41
|
pid = Process.spawn(
|
|
42
|
-
{
|
|
42
|
+
{
|
|
43
|
+
"TEST_ENV_NUMBER" => slot.to_s,
|
|
44
|
+
"RAILS_ENV" => "test",
|
|
45
|
+
# db:drop runs db:check_protected_environments, which raises
|
|
46
|
+
# NoEnvironmentInSchemaError when a DB has no environment metadata.
|
|
47
|
+
# We always operate on the test DBs, so skip that production guard.
|
|
48
|
+
"DISABLE_DATABASE_ENVIRONMENT_CHECK" => "1"
|
|
49
|
+
},
|
|
43
50
|
*SETUP_COMMAND,
|
|
44
51
|
out: log, err: [:child, :out]
|
|
45
52
|
)
|
data/lib/rspec_turbo/version.rb
CHANGED