rspec-rails 7.0.1 → 7.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5f52b2377b281190553090f208b2d03f030aefb03395fb46afd8af1c63df3a1
4
- data.tar.gz: 1a7c088f8ee631d5f9756277724554ccc30247719849a1dd0b6d03bfd8279e11
3
+ metadata.gz: 1a6888a2a7b5d0fe8832fc69e0c3e691652ea27ecaf46868396c7c58350761bf
4
+ data.tar.gz: 3597b3c0c7488c93da0e5631d3a24a3845f9436287a9ca22afae251519ecbb7d
5
5
  SHA512:
6
- metadata.gz: 5dbf49c52a590a8ce6d91ced03bfc78ebeb4737b8cfcc11932e8959b38c0428eca4414da31a82172ca965db65fed36e490e8c85e761f1fed0f2ef555b9b75210
7
- data.tar.gz: c47326924297943c4d0704f3da54f8ef13a849a73d3a023405cf290347698c0b486a8c692a8774cc022bbf92a80c424197bca1d44a1cd46c1a613cb0ffca3e79
6
+ metadata.gz: 95e2e9eb8c3209df0a595c7a8bc22e2a829eadc659c65bc60d26b07b3e7978ff408be28bc82782030062c7a237343da0d84b284e3a4dc85fa5c864b1bd9f95b0
7
+ data.tar.gz: 6b7624ed2c15001ecf099da01153be86163783650f9a68f6d071732c43f880b10e5286dc326cd5434b7c98e67bc5a61c93710e9277468ec860e7329e5b28b72b
checksums.yaml.gz.sig CHANGED
Binary file
data/Changelog.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ### Development
2
- [Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.1...7-0-maintenance)
2
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.2...7-0-maintenance)
3
+
4
+ ### 7.0.2 / 2024-11-09
5
+ [Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.1...v7.0.2)
6
+
7
+ Bug Fixes:
8
+
9
+ * Fix issue with `have_enqueued_mail` when jobs were incorrectly matched due
10
+ to refactoring in #2780. (David Runger, #2793)
3
11
 
4
12
  ### 7.0.1 / 2024-09-03
5
13
  [Full Changelog](https://github.com/rspec/rspec-rails/compare/v7.0.0...v7.0.1)
@@ -19,7 +27,7 @@ Enhancements:
19
27
  * Change default driver for system specs on Rails 7.2 to match its default.
20
28
  (Steve Polito, #2746)
21
29
  * Verify ActiveJob arguments by comparing to the method signature. (Oli Peate, #2745)
22
- * Add suggestion to rails_helper.rb to skip when not in test most. (Glauco Custódio, #2751)
30
+ * Add suggestion to rails_helper.rb to skip when not in test mode. (Glauco Custódio, #2751)
23
31
  * Add `at_priority` qualifier to `have_enqueued_job` set of matchers. (mbajur, #2759)
24
32
  * Add spec directories to `rails stats` on Rails main / 8.0.0. (Petrik de Heus, #2781)
25
33
 
data/README.md CHANGED
@@ -10,7 +10,7 @@ expressed in plain English.
10
10
 
11
11
  According to [RSpec Rails new versioning strategy][] use:
12
12
  * **[`rspec-rails` 7.x][]** for Rails 7.x.
13
- * **[`rspec-rails` 6.x][]** for Rails 6.1.
13
+ * **[`rspec-rails` 6.x][]** for Rails 6.1, 7.0 or 7.1.
14
14
  * **[`rspec-rails` 5.x][]** for Rails 5.2 or 6.x.
15
15
  * **[`rspec-rails` 4.x][]** for Rails from 5.x or 6.x.
16
16
  * **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
@@ -72,7 +72,7 @@ module RSpec
72
72
  @mailer_class ? @mailer_class.name : 'ActionMailer::Base'
73
73
  end
74
74
 
75
- def job_match?(job)
75
+ def job_matches?(job)
76
76
  legacy_mail?(job) || parameterized_mail?(job) || unified_mail?(job)
77
77
  end
78
78
 
@@ -123,7 +123,7 @@ module RSpec
123
123
 
124
124
  def unmatching_mail_jobs
125
125
  @unmatching_jobs.select do |job|
126
- job_match?(job)
126
+ job_matches?(job)
127
127
  end
128
128
  end
129
129
 
@@ -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 = '7.0.1'
6
+ STRING = '7.0.2'
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: 7.0.1
4
+ version: 7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chelimsky
@@ -44,7 +44,7 @@ cert_chain:
44
44
  ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
45
45
  F3MdtaDehhjC
46
46
  -----END CERTIFICATE-----
47
- date: 2024-09-03 00:00:00.000000000 Z
47
+ date: 2024-11-09 00:00:00.000000000 Z
48
48
  dependencies:
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: actionpack
@@ -296,7 +296,7 @@ licenses:
296
296
  - MIT
297
297
  metadata:
298
298
  bug_tracker_uri: https://github.com/rspec/rspec-rails/issues
299
- changelog_uri: https://github.com/rspec/rspec-rails/blob/v7.0.1/Changelog.md
299
+ changelog_uri: https://github.com/rspec/rspec-rails/blob/v7.0.2/Changelog.md
300
300
  documentation_uri: https://rspec.info/documentation/
301
301
  mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
302
302
  source_code_uri: https://github.com/rspec/rspec-rails
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  - !ruby/object:Gem::Version
317
317
  version: '0'
318
318
  requirements: []
319
- rubygems_version: 3.5.11
319
+ rubygems_version: 3.5.22
320
320
  signing_key:
321
321
  specification_version: 4
322
322
  summary: RSpec for Rails
metadata.gz.sig CHANGED
Binary file