Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-rspec-rails for
openSUSE:Factory checked in at 2023-11-15 21:07:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-rails (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rspec-rails.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-rails"
Wed Nov 15 21:07:54 2023 rev:11 rq:1126302 version:6.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-rails/rubygem-rspec-rails.changes
2022-10-30 18:29:16.186525025 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-rspec-rails.new.17445/rubygem-rspec-rails.changes
2023-11-15 21:09:09.625521053 +0100
@@ -1,0 +2,5 @@
+Tue Nov 14 15:33:43 UTC 2023 - Dan Äermák <[email protected]>
+
+- New upstream release 6.0.3, see bundled Changelog.md
+
+-------------------------------------------------------------------
Old:
----
rspec-rails-6.0.1.gem
New:
----
rspec-rails-6.0.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rspec-rails.spec ++++++
--- /var/tmp/diff_new_pack.9qNHVq/_old 2023-11-15 21:09:12.209616394 +0100
+++ /var/tmp/diff_new_pack.9qNHVq/_new 2023-11-15 21:09:12.209616394 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rspec-rails
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,11 +24,10 @@
#
Name: rubygem-rspec-rails
-Version: 6.0.1
+Version: 6.0.3
Release: 0
%define mod_name rspec-rails
%define mod_full_name %{mod_name}-%{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{ruby >= 2.5.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
@@ -38,7 +37,6 @@
Source1: gem2rpm.yml
Summary: RSpec for Rails
License: MIT
-Group: Development/Languages/Ruby
%description
rspec-rails is a testing framework for Rails 5+.
++++++ rspec-rails-6.0.1.gem -> rspec-rails-6.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md 2022-10-18 10:12:58.000000000 +0200
+++ new/Changelog.md 2023-05-31 14:36:11.000000000 +0200
@@ -1,15 +1,36 @@
### Development
-[Full
Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.0...6-0-maintenance)
+[Full
Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.3...6-0-maintenance)
+
+### 6.0.3 / 2023-05-31
+[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.2...v6.0.3)
+
+Bug Fixes:
+
+* Set `ActiveStorage::FixtureSet.file_fixture_path` when including file
fixture support.
+ (Jason Yates, #2671)
+* Allow `broadcast_to` matcher to take Symbols. (@Vagab, #2680)
+
+### 6.0.2 / 2023-05-04
+[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.1...v6.0.2)
+
+Bug Fixes:
+
+* Fix ActionView::PathSet when `render_views` is off for Rails 7.1.
+ (Eugene Kenny, Iliana, #2631)
+* Support Rails 7.1's `#fixtures_paths` in example groups (removes a
deprecation warning).
+ (Nicholas Simmons, #2664)
+* Fix `have_enqueued_job` to properly detect enqueued jobs when other jobs were
+ performed inside the expectation block. (Slava Kardakov, Phil Pirozhkov,
#2573)
### 6.0.1 / 2022-10-18
-[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.0...6.0.1)
+[Full Changelog](https://github.com/rspec/rspec-rails/compare/v6.0.0...v6.0.1)
Bug Fixes:
* Prevent tagged logged support in Rails 7 calling `#name`. (Jon Rowe, #2625)
### 6.0.0 / 2022-10-10
-[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.2...6.0.0)
+[Full Changelog](https://github.com/rspec/rspec-rails/compare/v5.1.2...v6.0.0)
Enhancements:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2022-10-18 10:12:58.000000000 +0200
+++ new/README.md 2023-05-31 14:36:11.000000000 +0200
@@ -15,8 +15,6 @@
* **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
* **[`rspec-rails` 1.x][]** for Rails 2.x.
-[Build Status]: https://secure.travis-ci.org/rspec/rspec-rails.svg?branch=main
-[travis-ci]: https://travis-ci.org/rspec/rspec-rails
[Code Climate]: https://codeclimate.com/github/rspec/rspec-rails.svg
[code-climate]: https://codeclimate.com/github/rspec/rspec-rails
[Gem Version]: https://badge.fury.io/rb/rspec-rails.svg
@@ -88,8 +86,8 @@
Be sure to check the general [RSpec upgrade notes][] as well.
-[`rspec-rails` upgrade notes]:
https://www.relishapp.com/rspec/rspec-rails/docs/upgrade
-[RSpec upgrade notes]: https://relishapp.com/rspec/docs/upgrade
+[`rspec-rails` upgrade notes]:
https://rspec.info/features/6-0/rspec-rails/upgrade
+[RSpec upgrade notes]: https://rspec.info/upgrading-from-rspec-2/
## Usage
@@ -183,7 +181,7 @@
For an in-depth look at the RSpec DSL, including lots of examples,
read the official Cucumber documentation for [RSpec Core][].
-[RSpec Core]: https://relishapp.com/rspec/rspec-core/docs
+[RSpec Core]: https://rspec.info/features/3-12/rspec-core
### Helpful Rails Matchers
@@ -209,23 +207,23 @@
Follow the links above for examples of how each matcher is used.
-[the matchers that come standard in RSpec]:
https://relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
-[`be_a_new`]:
https://relishapp.com/rspec/rspec-rails/docs/matchers/be-a-new-matcher
-[`render_template`]:
https://relishapp.com/rspec/rspec-rails/docs/matchers/render-template-matcher
-[`redirect_to`]:
https://relishapp.com/rspec/rspec-rails/docs/matchers/redirect-to-matcher
-[`route_to`]:
https://relishapp.com/rspec/rspec-rails/docs/routing-specs/route-to-matcher
-[`be_routable`]:
https://relishapp.com/rspec/rspec-rails/docs/routing-specs/be-routable-matcher
-[`have_http_status`]:
https://relishapp.com/rspec/rspec-rails/docs/matchers/have-http-status-matcher
-[`match_array`]:
https://relishapp.com/rspec/rspec-rails/docs/matchers/activerecord-relation-match-array
-[`have_been_enqueued`]:
https://relishapp.com/rspec/rspec-rails/docs/matchers/have-been-enqueued-matcher
-[`have_enqueued_job`]:
https://relishapp.com/rspec/rspec-rails/docs/matchers/have-enqueued-job-matcher
+[the matchers that come standard in RSpec]:
https://rspec.info/features/3-12/rspec-expectations/built-in-matchers
+[`be_a_new`]:
https://rspec.info/features/6-0/rspec-rails/matchers/new-record-matcher
+[`render_template`]:
https://rspec.info/features/6-0/rspec-rails/matchers/render-template-matcher
+[`redirect_to`]:
https://rspec.info/features/6-0/rspec-rails/matchers/redirect-to-matcher
+[`route_to`]:
https://rspec.info/features/6-0/rspec-rails/routing-specs/route-to-matcher
+[`be_routable`]:
https://rspec.info/features/6-0/rspec-rails/routing-specs/be-routable-matcher
+[`have_http_status`]:
https://rspec.info/features/6-0/rspec-rails/matchers/have-http-status-matcher
+[`match_array`]:
https://rspec.info/features/6-0/rspec-rails/matchers/relation-match-array
+[`have_been_enqueued`]:
https://rspec.info/features/6-0/rspec-rails/matchers/have-been-enqueued-matcher
+[`have_enqueued_job`]:
https://rspec.info/features/6-0/rspec-rails/matchers/have-enqueued-job-matcher
### What else does RSpec Rails add?
For a comprehensive look at RSpec Railsâ features,
read the [official Cucumber documentation][].
-[official Cucumber documentation]: https://relishapp.com/rspec/rspec-rails/docs
+[official Cucumber documentation]: https://rspec.info/features/6-0/rspec-rails
## What tests should I write?
@@ -270,20 +268,20 @@
...
```
-[request]:
https://relishapp.com/rspec/rspec-rails/docs/request-specs/request-spec
-[feature]:
https://www.relishapp.com/rspec/rspec-rails/docs/feature-specs/feature-spec
-[system]: https://relishapp.com/rspec/rspec-rails/docs/system-specs/system-spec
-[model]: https://www.relishapp.com/rspec/rspec-rails/docs/model-specs
-[controller]: https://www.relishapp.com/rspec/rspec-rails/docs/controller-specs
-[mailer]: https://relishapp.com/rspec/rspec-rails/docs/mailer-specs
-[job]: https://relishapp.com/rspec/rspec-rails/docs/job-specs/job-spec
-[view]: https://www.relishapp.com/rspec/rspec-rails/docs/view-specs/view-spec
-[routing]: https://www.relishapp.com/rspec/rspec-rails/docs/routing-specs
-[helper]:
https://www.relishapp.com/rspec/rspec-rails/docs/helper-specs/helper-spec
+[request]:
https://rspec.info/features/6-0/rspec-rails/request-specs/request-spec
+[feature]:
https://rspec.info/features/6-0/rspec-rails/feature-specs/feature-spec
+[system]: https://rspec.info/features/6-0/rspec-rails/system-specs/system-specs
+[model]: https://rspec.info/features/6-0/rspec-rails/model-specs
+[controller]: https://rspec.info/features/6-0/rspec-rails/controller-specs
+[mailer]: https://rspec.info/features/6-0/rspec-rails/mailer-specs
+[job]: https://rspec.info/features/6-0/rspec-rails/job-specs/job-spec
+[view]: https://rspec.info/features/6-0/rspec-rails/view-specs/view-spec
+[routing]: https://rspec.info/features/6-0/rspec-rails/routing-specs
+[helper]: https://rspec.info/features/6-0/rspec-rails/helper-specs/helper-spec
[`ActionDispatch::IntegrationTest`]:
https://api.rubyonrails.org/classes/ActionDispatch/IntegrationTest.html
[`ActionDispatch::SystemTestCase`]:
https://api.rubyonrails.org/classes/ActionDispatch/SystemTestCase.html
[`ActionController::TestCase`]:
https://api.rubyonrails.org/classes/ActionController/TestCase.html
-[in the appropriate folder]:
https://relishapp.com/rspec/rspec-rails/docs/directory-structure
+[in the appropriate folder]:
https://rspec.info/features/6-0/rspec-rails/directory-structure
### System specs, feature specs, request specsâwhatâs the difference?
@@ -366,10 +364,10 @@
### RSpec base libraries
-* <https://github.com/rspec/rspec>
-* <https://github.com/rspec/rspec-core>
-* <https://github.com/rspec/rspec-expectations>
-* <https://github.com/rspec/rspec-mocks>
+* https://github.com/rspec/rspec
+* https://github.com/rspec/rspec-core
+* https://github.com/rspec/rspec-expectations
+* https://github.com/rspec/rspec-mocks
### Recommended third-party extensions
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/generators/rspec/install/templates/spec/rails_helper.rb
new/lib/generators/rspec/install/templates/spec/rails_helper.rb
--- old/lib/generators/rspec/install/templates/spec/rails_helper.rb
2022-10-18 10:12:58.000000000 +0200
+++ new/lib/generators/rspec/install/templates/spec/rails_helper.rb
2023-05-31 14:36:11.000000000 +0200
@@ -68,7 +68,7 @@
# end
#
# The different available types are documented in the features, such as in
- # https://relishapp.com/rspec/rspec-rails/docs
+ # https://rspec.info/features/6-0/rspec-rails
config.infer_spec_type_from_file_location!
# Filter lines from Rails gems in backtraces.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/rails/file_fixture_support.rb
new/lib/rspec/rails/file_fixture_support.rb
--- old/lib/rspec/rails/file_fixture_support.rb 2022-10-18 10:12:58.000000000
+0200
+++ new/lib/rspec/rails/file_fixture_support.rb 2023-05-31 14:36:11.000000000
+0200
@@ -9,6 +9,9 @@
included do
self.file_fixture_path = RSpec.configuration.file_fixture_path
+ if defined?(ActiveStorage::FixtureSet)
+ ActiveStorage::FixtureSet.file_fixture_path =
RSpec.configuration.file_fixture_path
+ end
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/rails/fixture_support.rb
new/lib/rspec/rails/fixture_support.rb
--- old/lib/rspec/rails/fixture_support.rb 2022-10-18 10:12:58.000000000
+0200
+++ new/lib/rspec/rails/fixture_support.rb 2023-05-31 14:36:11.000000000
+0200
@@ -21,7 +21,12 @@
if RSpec.configuration.use_active_record?
include Fixtures
- self.fixture_path = RSpec.configuration.fixture_path
+ # TestFixtures#fixture_path is deprecated and will be removed in
Rails 7.2
+ if respond_to?(:fixture_paths=)
+ fixture_paths << RSpec.configuration.fixture_path
+ else
+ self.fixture_path = RSpec.configuration.fixture_path
+ end
self.use_transactional_tests =
RSpec.configuration.use_transactional_fixtures
self.use_instantiated_fixtures =
RSpec.configuration.use_instantiated_fixtures
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb
new/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb
--- old/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb
2022-10-18 10:12:58.000000000 +0200
+++ new/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb
2023-05-31 14:36:11.000000000 +0200
@@ -96,8 +96,11 @@
private
def stream
- @stream ||= if @target.is_a?(String)
+ @stream ||= case @target
+ when String
@target
+ when Symbol
+ @target.to_s
else
check_channel_presence
@channel.broadcasting_for(@target)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/rails/matchers/active_job.rb
new/lib/rspec/rails/matchers/active_job.rb
--- old/lib/rspec/rails/matchers/active_job.rb 2022-10-18 10:12:58.000000000
+0200
+++ new/lib/rspec/rails/matchers/active_job.rb 2023-05-31 14:36:11.000000000
+0200
@@ -230,11 +230,11 @@
def matches?(proc)
raise ArgumentError, "have_enqueued_job and enqueue_job only
support block expectations" unless Proc === proc
- original_enqueued_jobs_count = queue_adapter.enqueued_jobs.count
+ original_enqueued_jobs = Set.new(queue_adapter.enqueued_jobs)
proc.call
- in_block_jobs =
queue_adapter.enqueued_jobs.drop(original_enqueued_jobs_count)
+ enqueued_jobs = Set.new(queue_adapter.enqueued_jobs)
- check(in_block_jobs)
+ check(enqueued_jobs - original_enqueued_jobs)
end
def does_not_match?(proc)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/rails/version.rb
new/lib/rspec/rails/version.rb
--- old/lib/rspec/rails/version.rb 2022-10-18 10:12:58.000000000 +0200
+++ new/lib/rspec/rails/version.rb 2023-05-31 14:36:11.000000000 +0200
@@ -3,7 +3,7 @@
# Version information for RSpec Rails.
module Version
# Current version of RSpec Rails, in semantic versioning format.
- STRING = '6.0.1'
+ STRING = '6.0.3'
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rspec/rails/view_rendering.rb
new/lib/rspec/rails/view_rendering.rb
--- old/lib/rspec/rails/view_rendering.rb 2022-10-18 10:12:58.000000000
+0200
+++ new/lib/rspec/rails/view_rendering.rb 2023-05-31 14:36:11.000000000
+0200
@@ -71,7 +71,15 @@
# templates with modified source
#
# @private
- class ResolverDecorator
+ class ResolverDecorator < ::ActionView::Resolver
+ (::ActionView::Resolver.instance_methods -
Object.instance_methods).each do |method|
+ undef_method method
+ end
+
+ (::ActionView::Resolver.methods - Object.methods).each do |method|
+ singleton_class.undef_method method
+ end
+
def initialize(resolver)
@resolver = resolver
end
@@ -119,11 +127,11 @@
# @private
module EmptyTemplates
def prepend_view_path(new_path)
- lookup_context.view_paths.unshift(*_path_decorator(*new_path))
+ super(_path_decorator(*new_path))
end
def append_view_path(new_path)
- lookup_context.view_paths.push(*_path_decorator(*new_path))
+ super(_path_decorator(*new_path))
end
private
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2022-10-18 10:12:58.000000000 +0200
+++ new/metadata 2023-05-31 14:36:11.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rspec-rails
version: !ruby/object:Gem::Version
- version: 6.0.1
+ version: 6.0.3
platform: ruby
authors:
- David Chelimsky
@@ -44,7 +44,7 @@
ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
F3MdtaDehhjC
-----END CERTIFICATE-----
-date: 2022-10-18 00:00:00.000000000 Z
+date: 2023-05-31 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: actionpack
@@ -94,56 +94,56 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
- !ruby/object:Gem::Dependency
name: rspec-expectations
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
- !ruby/object:Gem::Dependency
name: rspec-mocks
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
- !ruby/object:Gem::Dependency
name: rspec-support
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '3.11'
+ version: '3.12'
- !ruby/object:Gem::Dependency
name: ammeter
requirement: !ruby/object:Gem::Requirement
@@ -296,7 +296,7 @@
- MIT
metadata:
bug_tracker_uri: https://github.com/rspec/rspec-rails/issues
- changelog_uri: https://github.com/rspec/rspec-rails/blob/v6.0.1/Changelog.md
+ changelog_uri: https://github.com/rspec/rspec-rails/blob/v6.0.3/Changelog.md
documentation_uri: https://rspec.info/documentation/
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
source_code_uri: https://github.com/rspec/rspec-rails
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ