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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ea5e1efd516957457c57cb6bdca9671311c3cfdb61fdeb7dde0ac8d22a738a0
4
- data.tar.gz: e259902dc944947df43ebcd366336da441aa6ff4e9f1000c7069e35ef3f46709
3
+ metadata.gz: 5642a09ebd35bbee3e11f932bd086dde02370323619c4e441e3d8053465c9bce
4
+ data.tar.gz: 2c6dd45826f15498f769344c2f594949e61c3461a152701c9b30d70a8bede4d2
5
5
  SHA512:
6
- metadata.gz: de16baa1ffc615c35e6237eca5e42958fbcd8e6e00bb61a6db7312c9d78e66b99666e30ff8228cf07fb70e6665a5cce67b0404fd423f9b56bf7cbc484320eea8
7
- data.tar.gz: 1e65f6ccad8ca65adc2c6e46178b50b38d6ddf0a361d762d5557007a7311788f024f6d144f53cc13bb62776c1bfa8d2d08e4639c1b21630d86a5d2c3b9e96efc
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.4...8-0-maintenance)
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.key?(:params)
170
+ elsif hash.key?(:args) && !hash[:params].nil?
171
171
  args + [hash]
172
172
  elsif hash.key?(:args)
173
173
  args + hash[:args]
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Rails.
4
4
  module Version
5
5
  # Current version of RSpec Rails, in semantic versioning format.
6
- STRING = '8.0.4'
6
+ STRING = '8.0.5'
7
7
  end
8
8
  end
9
9
  end
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
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.4/Changelog.md
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: 3.6.9
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