rspec-rails 8.0.4 → 8.0.5
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
- checksums.yaml.gz.sig +0 -0
- data/Changelog.md +11 -1
- data/lib/rspec/rails/example/rails_example_group.rb +4 -0
- data/lib/rspec/rails/matchers/have_enqueued_mail.rb +1 -1
- data/lib/rspec/rails/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5642a09ebd35bbee3e11f932bd086dde02370323619c4e441e3d8053465c9bce
|
|
4
|
+
data.tar.gz: 2c6dd45826f15498f769344c2f594949e61c3461a152701c9b30d70a8bede4d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6cc54657f6e6e34db670fe2d91661e380ce271986774d68456b78bf533721ec0c9f7ae9d9e4a5dc17f98ec27a901c665842df3934d3abddef65a8e2fc37871c8
|
|
7
|
+
data.tar.gz: 559fe906a76bea73a1409dace1a2826102eafe3ac7ab55510693c84d56d4684af5f48edd4bbed729f25558cb3b4ca894495a910e7922f89f1f0c33ebbae520fc
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/Changelog.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
### Development
|
|
2
|
-
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v8.0.
|
|
2
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v8.0.5...8-0-maintenance)
|
|
3
|
+
|
|
4
|
+
### 8.0.4 / 2026-03-10
|
|
5
|
+
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v8.0.4...v8.0.5)
|
|
6
|
+
|
|
7
|
+
Bug Fixes:
|
|
8
|
+
|
|
9
|
+
* Include `ActiveJob::TestHelper` in all rails example groups to ensure jobs are reset
|
|
10
|
+
between examples matching Rails in-build behaviour. (Hammad Khan, rspec/rspec-rails#2901)
|
|
11
|
+
* Fix `have_enqueued_mail` argument matching for mail enqueued by `ActionMailer.deliver_all_later`
|
|
12
|
+
without params. (Andrew Fader, rspec/rspec-rails#2931)
|
|
3
13
|
|
|
4
14
|
### 8.0.4 / 2026-03-10
|
|
5
15
|
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v8.0.3...v8.0.4)
|
|
@@ -18,6 +18,10 @@ module RSpec
|
|
|
18
18
|
include RSpec::Rails::TaggedLoggingAdapter
|
|
19
19
|
include ActiveSupport::CurrentAttributes::TestHelper
|
|
20
20
|
include ActiveSupport::ExecutionContext::TestHelper
|
|
21
|
+
|
|
22
|
+
if RSpec::Rails::FeatureCheck.has_active_job?
|
|
23
|
+
include ActiveJob::TestHelper
|
|
24
|
+
end
|
|
21
25
|
end
|
|
22
26
|
end
|
|
23
27
|
end
|
|
@@ -167,7 +167,7 @@ module RSpec
|
|
|
167
167
|
original_hash = keywords.each_with_object({}) { |keyword, new_hash| new_hash[keyword.to_sym] = hash[keyword] }
|
|
168
168
|
|
|
169
169
|
args + [original_hash]
|
|
170
|
-
elsif hash.key?(:args) && hash.
|
|
170
|
+
elsif hash.key?(:args) && !hash[:params].nil?
|
|
171
171
|
args + [hash]
|
|
172
172
|
elsif hash.key?(:args)
|
|
173
173
|
args + hash[:args]
|
data/lib/rspec/rails/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.0.
|
|
4
|
+
version: 8.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Chelimsky
|
|
@@ -321,7 +321,7 @@ licenses:
|
|
|
321
321
|
- MIT
|
|
322
322
|
metadata:
|
|
323
323
|
bug_tracker_uri: https://github.com/rspec/rspec-rails/issues
|
|
324
|
-
changelog_uri: https://github.com/rspec/rspec-rails/blob/v8.0.
|
|
324
|
+
changelog_uri: https://github.com/rspec/rspec-rails/blob/v8.0.5/Changelog.md
|
|
325
325
|
documentation_uri: https://rspec.info/documentation/
|
|
326
326
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
|
327
327
|
source_code_uri: https://github.com/rspec/rspec-rails
|
|
@@ -340,7 +340,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
340
340
|
- !ruby/object:Gem::Version
|
|
341
341
|
version: '0'
|
|
342
342
|
requirements: []
|
|
343
|
-
rubygems_version:
|
|
343
|
+
rubygems_version: 4.0.20
|
|
344
344
|
specification_version: 4
|
|
345
345
|
summary: RSpec for Rails
|
|
346
346
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|