Hello community,

here is the log from the commit of package rubygem-rspec-rails for 
openSUSE:Factory checked in at 2020-05-28 09:19:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-rails (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rspec-rails.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rspec-rails"

Thu May 28 09:19:12 2020 rev:2 rq:809522 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-rails/rubygem-rspec-rails.changes  
2020-04-27 23:41:35.879900346 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rspec-rails.new.3606/rubygem-rspec-rails.changes
        2020-05-28 09:19:15.741202555 +0200
@@ -1,0 +2,14 @@
+Wed May 27 11:18:57 UTC 2020 - Manuel Schnitzer <[email protected]>
+
+- updated to version 4.0.1
+
+  Bug Fixes:
+
+  * Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, 
#2302)
+  * Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus 
Doits, #2304)
+  * Allow `have_enqueued_mail` to match when a sub class of 
`ActionMailer::DeliveryJob`
+    is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
+  * Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
+  * Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, 
#2338)
+
+-------------------------------------------------------------------

Old:
----
  rspec-rails-4.0.0.gem

New:
----
  rspec-rails-4.0.1.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-rspec-rails.spec ++++++
--- /var/tmp/diff_new_pack.ssT7yE/_old  2020-05-28 09:19:17.249205318 +0200
+++ /var/tmp/diff_new_pack.ssT7yE/_new  2020-05-28 09:19:17.253205325 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rspec-rails
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,16 +24,16 @@
 #
 
 Name:           rubygem-rspec-rails
-Version:        4.0.0
+Version:        4.0.1
 Release:        0
 %define mod_name rspec-rails
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
-BuildRequires:  %{ruby}
+BuildRequires:  %{ruby >= 2.2.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
-Url:            https://github.com/rspec/rspec-rails
+BuildRequires:  ruby-macros >= 5
+URL:            https://github.com/rspec/rspec-rails
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        RSpec for Rails

++++++ rspec-rails-4.0.0.gem -> rspec-rails-4.0.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md    2020-03-24 22:07:10.000000000 +0100
+++ new/Changelog.md    2020-05-16 21:33:20.000000000 +0200
@@ -1,50 +1,24 @@
-### 4.0.0.rc1 / 2020-03-13
-[Full 
Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta4...v4.0.0.rc1)
+### Development
+[Full 
Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.1...4-0-development)
 
-Enhancements:
-
-* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue 
names. (Nils Sommer, #2283)
-* The scaffold generator now generates request specs in preference to 
controller specs.
-  (Luka Lüdicke, #2288)
-* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, 
Hermann Mayer, #2266)
-*  Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when 
running system specs.
-  (ta1kt0me, Benoit Tigeot, #2289)
+### 4.0.1 / 2020-05-16
+[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0...v4.0.1)
 
 Bug Fixes:
 
-* Restore previous conditional check for setting `default_url_options` in 
feature
-  specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
-* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
-  (Jonathan Rochkind, #2242)
-* `rails generate generator` command now creates related spec file (Joel 
Azemar, #2217)
-* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil 
Pirozhkov, #2281)
-* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
+* Remove warning when calling `driven_by` in system specs. (Aubin Lorieux, 
#2302)
+* Fix comparison of times for `#at` in job matchers. (Jon Rowe, Markus Doits, 
#2304)
+* Allow `have_enqueued_mail` to match when a sub class of 
`ActionMailer::DeliveryJob`
+  is set using `<Class>.delivery_job=`. (Atsushi Yoshida #2305)
+* Restore Ruby 2.2.x compatibility. (Jon Rowe, #2332)
+* Add `required_ruby_version` to gem spec. (Marc-André Lafortune, #2319, #2338)
 
-### 4.0.0.beta4
-[Full 
Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta3...v4.0.0.beta4)
-
-Enhancements:
-
-* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, 
#2206)
-* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
-* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
-  matchers (Isaac Seymour, #1785)
-* Default to generating request specs rather than controller specs when
-  generating a controller (Luka Lüdicke, #2222)
-
-Bug Fixes:
-
-* Prevent `driven_by(:selenium)` being called due to hook precedence.
-  (Takumi Shotoku, #2188)
-* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
-  6.1 development version. (Edouard Chin, #2215)
-* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
-
-### 4.0.0.beta3
-[Full 
Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta2...v4.0.0.beta3)
+### 4.0.0 / 2020-03-24
+[Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.1...v4.0.0)
 
 Enhancements:
 
+* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
 * Adds support for JRuby on Rails 5.2 and 6
 * Add support for parameterised mailers (Ignatius Reza, #2125)
 * Add ActionMailbox spec helpers and test type (James Dabbs, #2119)
@@ -55,28 +29,18 @@
 * Improve path parsing in view specs render options. (John Hawthorn, #2115)
 * Add routing spec template as an option for generating controller specs.
   (David Revelo, #2134)
-
-Bug Fixes:
-
-* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
-  are generated correctly. (Jon Rowe, #2164)
-* `ActionView::FixtureResolver#hash` has been renamed to 
`ActionView::FixtureResolver#data`.
-  (Penelope Phippen, #2076)
-* Add missing require for `have_enqueued_mail` matcher.  (Ignatius Reza, #2117)
-
-### 4.0.0.beta2
-[Full 
Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta1...v4.0.0.beta2)
-
-Bug Fixes:
-
-* Fix version dependencies in gemspec.
-
-### 4.0.0.beta1
-[Full 
Changelog](https://github.com/rspec/rspec-rails/compare/v3.9.0...v4.0.0.beta1)
-
-Enhancements:
-
-* Adds support for Rails 6. (Penelope Phippen, Benoit Tigeot, Jon Rowe, #2071)
+* Add argument matcher support to `have_enqueued_*` matchers. (Phil Pirozhkov, 
#2206)
+* Switch generated templates to use ruby 1.9 hash keys. (Tanbir Hasan, #2224)
+* Add `have_been_performed`/`have_performed_job`/`perform_job` ActiveJob
+  matchers (Isaac Seymour, #1785)
+* Default to generating request specs rather than controller specs when
+  generating a controller (Luka Lüdicke, #2222)
+* Allow `ActiveJob` matchers `#on_queue` modifier to take symbolic queue 
names. (Nils Sommer, #2283)
+* The scaffold generator now generates request specs in preference to 
controller specs.
+  (Luka Lüdicke, #2288)
+* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, 
Hermann Mayer, #2266)
+*  Set `ActionDispatch::SystemTesting::Server.silence_puma = true` when 
running system specs.
+  (ta1kt0me, Benoit Tigeot, #2289)
 
 Bug Fixes:
 
@@ -86,12 +50,35 @@
   deprecated. (Pavel Rosický, #2092)
 * `ActionView::Template#formats` has been deprecated and replaced by
   `ActionView::Template#format`(Seb Jacobs, #2100)
+* Replace `before_teardown` as well as `after_teardown` to ensure screenshots
+  are generated correctly. (Jon Rowe, #2164)
+* `ActionView::FixtureResolver#hash` has been renamed to 
`ActionView::FixtureResolver#data`.
+  (Penelope Phippen, #2076)
+* Prevent `driven_by(:selenium)` being called due to hook precedence.
+  (Takumi Shotoku, #2188)
+* Prevent a `WrongScopeError` being thrown during loading fixtures on Rails
+  6.1 development version. (Edouard Chin, #2215)
+* Fix Mocha mocking support with `should`. (Phil Pirozhkov, #2256)
+* Restore previous conditional check for setting `default_url_options` in 
feature
+  specs, prevents a `NoMethodError` in some scenarios. (Eugene Kenny, #2277)
+* Allow changing `ActiveJob::Base.queue_adapter` inside a system spec.
+  (Jonathan Rochkind, #2242)
+* `rails generate generator` command now creates related spec file (Joel 
Azemar, #2217)
+* Relax upper `capybara` version constraint to allow for Capybara 3.x (Phil 
Pirozhkov, #2281)
+* Clear ActionMailer test mailbox after each example (Benoit Tigeot, #2293)
 
 Breaking Changes:
 
 * Drops support for Rails below 5.0
 * Drops support for Ruby below 2.3
 
+### 3.9.1 / 2020-03-10
+[Full Changelog](http://github.com/rspec/rspec-rails/compare/v3.9.0...v3.9.1)
+
+Bug Fixes:
+
+* Add missing require for have_enqueued_mail matcher. (Ignatius Reza, #2117)
+
 ### 3.9.0 / 2019-10-08
 [Full Changelog](https://github.com/rspec/rspec-rails/compare/v3.8.3...v3.9.0)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2020-03-24 22:07:10.000000000 +0100
+++ new/README.md       2020-05-16 21:33:20.000000000 +0200
@@ -8,6 +8,7 @@
 detailed explanations of how the application is supposed to behave,
 expressed in plain English.
 
+Use **[`rspec-rails` 3.x][]** for Rails earlier than 5.0.
 Use **[`rspec-rails` 1.x][]** for Rails 2.x.
 
 [Build Status]: 
https://secure.travis-ci.org/rspec/rspec-rails.svg?branch=master
@@ -19,6 +20,7 @@
 [RSpec]: https://rspec.info/
 [Ruby on Rails]: https://rubyonrails.org/
 [`rspec-rails` 1.x]: https://github.com/dchelimsky/rspec-rails
+[`rspec-rails` 3.x]: https://github.com/rspec/rspec-rails/tree/3-9-maintenance
 
 ## Installation
 
@@ -28,7 +30,7 @@
    ```ruby
    # Run against the latest stable release
    group :development, :test do
-     gem 'rspec-rails', '~> 4.0'
+     gem 'rspec-rails', '~> 4.0.0'
    end
 
    # Or, run against the master branch
@@ -187,8 +189,8 @@
 | [`be_a_new`][]           |                   | all                           
  | primarily intended for controller specs                  |
 | [`render_template`][]    | `assert_template` | request / controller / view   
  | use with `expect(response).to`                           |
 | [`redirect_to`][]        | `assert_redirect` | request / controller          
  | use with `expect(response).to`                           |
-| [`route_to`]             | `assert_routing`  | routing / controller          
  | replaces `route_for` from version 1.x                    |
-| [`be_routable`]          |                   | routing / controller          
  | usu. for `expect(...).not_to be_routable`                |
+| [`route_to`]             | `assert_routing`  | routing / controller          
  | use with `expect(...).to route_to`                       |
+| [`be_routable`]          |                   | routing / controller          
  | use with `expect(...).not_to be_routable`                |
 | [`have_http_status`][]   |                   | request / controller / 
feature  |                                                          |
 | [`match_array`][]        |                   | all                           
  | for comparing arrays of ActiveRecord objects             |
 | [`have_been_enqueued`][] |                   | all                           
  | requires config: `ActiveJob::Base.queue_adapter = :test` |
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/rspec/rails/example/mailer_example_group.rb 
new/lib/rspec/rails/example/mailer_example_group.rb
--- old/lib/rspec/rails/example/mailer_example_group.rb 2020-03-24 
22:07:10.000000000 +0100
+++ new/lib/rspec/rails/example/mailer_example_group.rb 2020-05-16 
21:33:20.000000000 +0200
@@ -21,8 +21,8 @@
 
         included do
           include ::Rails.application.routes.url_helpers
-          options = ::Rails.configuration.action_mailer.default_url_options
-          options&.each { |key, value| default_url_options[key] = value }
+          options = ::Rails.configuration.action_mailer.default_url_options || 
{}
+          options.each { |key, value| default_url_options[key] = value }
         end
 
         # Class-level DSL for mailer specs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/rails/example/system_example_group.rb 
new/lib/rspec/rails/example/system_example_group.rb
--- old/lib/rspec/rails/example/system_example_group.rb 2020-03-24 
22:07:10.000000000 +0100
+++ new/lib/rspec/rails/example/system_example_group.rb 2020-05-16 
21:33:20.000000000 +0200
@@ -96,8 +96,8 @@
           end
         end
 
-        def driven_by(*args, &blk)
-          @driver = ::ActionDispatch::SystemTestCase.driven_by(*args, 
&blk).tap(&:use)
+        def driven_by(driver, **driver_options, &blk)
+          @driver = ::ActionDispatch::SystemTestCase.driven_by(driver, 
**driver_options, &blk).tap(&:use)
         end
 
         before do
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  2020-03-24 22:07:10.000000000 
+0100
+++ new/lib/rspec/rails/matchers/active_job.rb  2020-05-16 21:33:20.000000000 
+0200
@@ -30,8 +30,12 @@
             self
           end
 
-          def at(date)
-            @at = date
+          def at(time_or_date)
+            case time_or_date
+            when Time then @at = Time.at(time_or_date.to_f)
+            else
+              @at = time_or_date
+            end
             self
           end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/rails/matchers/have_enqueued_mail.rb 
new/lib/rspec/rails/matchers/have_enqueued_mail.rb
--- old/lib/rspec/rails/matchers/have_enqueued_mail.rb  2020-03-24 
22:07:10.000000000 +0100
+++ new/lib/rspec/rails/matchers/have_enqueued_mail.rb  2020-05-16 
21:33:20.000000000 +0200
@@ -131,15 +131,15 @@
         end
 
         def legacy_mail?(job)
-          job[:job] == ActionMailer::DeliveryJob
+          job[:job] <= ActionMailer::DeliveryJob
         end
 
         def parameterized_mail?(job)
-          RSpec::Rails::FeatureCheck.has_action_mailer_parameterized? && 
job[:job] == ActionMailer::Parameterized::DeliveryJob
+          RSpec::Rails::FeatureCheck.has_action_mailer_parameterized? && 
job[:job] <= ActionMailer::Parameterized::DeliveryJob
         end
 
         def unified_mail?(job)
-          RSpec::Rails::FeatureCheck.has_action_mailer_unified_delivery? && 
job[:job] == ActionMailer::MailDeliveryJob
+          RSpec::Rails::FeatureCheck.has_action_mailer_unified_delivery? && 
job[:job] <= ActionMailer::MailDeliveryJob
         end
       end
       # @api public
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      2020-03-24 22:07:10.000000000 +0100
+++ new/lib/rspec/rails/version.rb      2020-05-16 21:33:20.000000000 +0200
@@ -3,7 +3,7 @@
     # Version information for RSpec Rails.
     module Version
       # Current version of RSpec Rails, in semantic versioning format.
-      STRING = '4.0.0'
+      STRING = '4.0.1'
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-03-24 22:07:10.000000000 +0100
+++ new/metadata        2020-05-16 21:33:20.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rspec-rails
 version: !ruby/object:Gem::Version
-  version: 4.0.0
+  version: 4.0.1
 platform: ruby
 authors:
 - David Chelimsky
@@ -44,7 +44,7 @@
   ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
   F3MdtaDehhjC
   -----END CERTIFICATE-----
-date: 2020-03-24 00:00:00.000000000 Z
+date: 2020-05-16 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: actionpack
@@ -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/v4.0.0/Changelog.md
+  changelog_uri: https://github.com/rspec/rspec-rails/blob/v4.0.1/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
@@ -309,14 +309,14 @@
   requirements:
   - - ">="
     - !ruby/object:Gem::Version
-      version: '0'
+      version: 2.2.0
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
   - - ">="
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.1.2
+rubygems_version: 3.1.3
 signing_key: 
 specification_version: 4
 summary: RSpec for Rails
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ


Reply via email to