turbo_rspec 1.6.1 → 1.6.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 +10 -0
- data/README.md +10 -1
- data/lib/turbo_rspec/version.rb +1 -1
- data/lib/turbo_rspec.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: c9da57d90a174ef66944964a773c9cf7a8d26688d272a787a9358bdf09b14a8a
|
|
4
|
+
data.tar.gz: 65f3e849bdd59a5bd35da250e4d387061d107d5bb23d5722981b120cee4d918a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57c532b1db77c809d9a60327f107c7ab0ab99b7718e99803679862c777bfde611e08136c7095ac7210a6f0fd7d9d3f7ae9d921999f7e349a0af1676ca05bb6bc
|
|
7
|
+
data.tar.gz: 3b255f5748c0369f0bf033bee67eefd38b2cb17ee989a692fc42ab273f44dd405e1756647a8f0894f163617da876fc0f8b2c3300a955275064b6c81448561824
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [1.6.2] - 2026-08-11
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- `lib/turbo_rspec.rb` now guards the eager `RSpec.configure` call on `RSpec.respond_to?(:configure)` in addition to `defined?(RSpec)`, preventing the same class of boot-time error already fixed for `shared_examples.rb` in 1.6.1 — this occurs when the `rspec` meta-gem is required but `rspec-core` is not yet fully initialized
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- README install snippet now recommends `gem "turbo_rspec", require: false` with an explicit `require "turbo_rspec"` in `rails_helper.rb`/`spec_helper.rb`, matching the convention used by `shoulda-matchers`, `database_cleaner`, and other RSpec extension gems — decouples the gem from Bundler's app-boot-time require order
|
|
12
|
+
|
|
3
13
|
## [1.6.1] - 2026-06-07
|
|
4
14
|
|
|
5
15
|
### Fixed
|
data/README.md
CHANGED
|
@@ -24,10 +24,19 @@ Add to your application's `Gemfile`:
|
|
|
24
24
|
|
|
25
25
|
```ruby
|
|
26
26
|
group :test do
|
|
27
|
-
gem "turbo_rspec"
|
|
27
|
+
gem "turbo_rspec", require: false
|
|
28
28
|
end
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
+
Then require it explicitly in `spec/rails_helper.rb` (or `spec/spec_helper.rb`), after RSpec is loaded:
|
|
32
|
+
|
|
33
|
+
```ruby
|
|
34
|
+
require "rspec/rails"
|
|
35
|
+
require "turbo_rspec"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
`require: false` avoids Bundler auto-requiring the gem during app boot, before RSpec itself is loaded — the same convention used by `shoulda-matchers`, `database_cleaner`, and other RSpec extension gems.
|
|
39
|
+
|
|
31
40
|
## Setup
|
|
32
41
|
|
|
33
42
|
### Generator
|
data/lib/turbo_rspec/version.rb
CHANGED
data/lib/turbo_rspec.rb
CHANGED