pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-rspec-rails devel/ruby-rspec-rails: update ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec71d94405e6
branches:  trunk
changeset: 428347:ec71d94405e6
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Apr 27 06:58:35 2020 +0000

description:
devel/ruby-rspec-rails: update to 4.0.0

Update ruby-rspec-rails to 4.0.0.


### 4.0.0.rc1 / 2020-03-13
[Full Changelog](https://github.com/rspec/rspec-rails/compare/v4.0.0.beta4...v4.0.0.rc1)

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)

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)

### 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)

Enhancements:

* 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)
* Add ActionCable spec helpers and test type (Vladimir Dementyev, #2113)
* Add support for partial args when using `have_enqueued_mail`
  (Ignatius Reza, #2118, #2125)
* Add support for time arguments for `have_enqueued_job` (@alpaca-tc, #2157)
* 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)

Bug Fixes:

* `EmptyTemplateHandler.call` now needs to support an additional argument in
  Rails 6. (Pavel Rosický, #2089)
* Suppress warning from `SQLite3Adapter.represent_boolean_as_integer` which is
  deprecated. (Pavel Rosický, #2092)
* `ActionView::Template#formats` has been deprecated and replaced by
  `ActionView::Template#format`(Seb Jacobs, #2100)

Breaking Changes:

* Drops support for Rails below 5.0
* Drops support for Ruby below 2.3

diffstat:

 devel/ruby-rspec-rails/Makefile |  13 ++++++-------
 devel/ruby-rspec-rails/PLIST    |  22 +++++++++++++++++-----
 devel/ruby-rspec-rails/distinfo |  10 +++++-----
 3 files changed, 28 insertions(+), 17 deletions(-)

diffs (124 lines):

diff -r 3fdae1b35479 -r ec71d94405e6 devel/ruby-rspec-rails/Makefile
--- a/devel/ruby-rspec-rails/Makefile   Mon Apr 27 06:53:56 2020 +0000
+++ b/devel/ruby-rspec-rails/Makefile   Mon Apr 27 06:58:35 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2020/03/20 15:08:57 taca Exp $
+# $NetBSD: Makefile,v 1.36 2020/04/27 06:58:35 taca Exp $
 
-DISTNAME=      rspec-rails-3.9.1
-PKGREVISION=   1
+DISTNAME=      rspec-rails-4.0.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,10 +11,10 @@
 DEPENDS+=      ${RUBY_ACTIVESUPPORT_DEPENDS}
 DEPENDS+=      ${RUBY_ACTIONPACK_DEPENDS}
 DEPENDS+=      ${RUBY_RAILTIES_DEPENDS}
-DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-support>=3.9.0<3.10:../../devel/ruby-rspec-support
-DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-core>=3.9.0<3.10:../../devel/ruby-rspec-core
-DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-expectations>=3.9.0<3.10:../../devel/ruby-rspec-expectations
-DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-mocks>=3.9.0<3.10:../../devel/ruby-rspec-mocks
+DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-support>=3.9<4:../../devel/ruby-rspec-support
+DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-core>=3.9<4:../../devel/ruby-rspec-core
+DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-expectations>=3.9<4:../../devel/ruby-rspec-expectations
+DEPENDS+=      ${RUBY_PKGPREFIX}-rspec-mocks>=3.9<4:../../devel/ruby-rspec-mocks
 
 USE_LANGUAGES= # none
 
diff -r 3fdae1b35479 -r ec71d94405e6 devel/ruby-rspec-rails/PLIST
--- a/devel/ruby-rspec-rails/PLIST      Mon Apr 27 06:53:56 2020 +0000
+++ b/devel/ruby-rspec-rails/PLIST      Mon Apr 27 06:58:35 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2019/11/02 14:41:08 taca Exp $
+@comment $NetBSD: PLIST,v 1.21 2020/04/27 06:58:35 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/.document
 ${GEM_LIBDIR}/.yardopts
@@ -7,14 +7,18 @@
 ${GEM_LIBDIR}/LICENSE.md
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/lib/generators/rspec.rb
+${GEM_LIBDIR}/lib/generators/rspec/channel/channel_generator.rb
+${GEM_LIBDIR}/lib/generators/rspec/channel/templates/channel_spec.rb.erb
 ${GEM_LIBDIR}/lib/generators/rspec/controller/controller_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/controller/templates/controller_spec.rb
+${GEM_LIBDIR}/lib/generators/rspec/controller/templates/request_spec.rb
+${GEM_LIBDIR}/lib/generators/rspec/controller/templates/routing_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/controller/templates/view_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/feature/feature_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/feature/templates/feature_singular_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/feature/templates/feature_spec.rb
-${GEM_LIBDIR}/lib/generators/rspec/generators/generator_generator.rb
-${GEM_LIBDIR}/lib/generators/rspec/generators/templates/generator_spec.rb
+${GEM_LIBDIR}/lib/generators/rspec/generator/generator_generator.rb
+${GEM_LIBDIR}/lib/generators/rspec/generator/templates/generator_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/helper/helper_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/helper/templates/helper_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/install/install_generator.rb
@@ -23,6 +27,8 @@
 ${GEM_LIBDIR}/lib/generators/rspec/integration/templates/request_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/job/job_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/job/templates/job_spec.rb.erb
+${GEM_LIBDIR}/lib/generators/rspec/mailbox/mailbox_generator.rb
+${GEM_LIBDIR}/lib/generators/rspec/mailbox/templates/mailbox_spec.rb.erb
 ${GEM_LIBDIR}/lib/generators/rspec/mailer/mailer_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/mailer/templates/fixture
 ${GEM_LIBDIR}/lib/generators/rspec/mailer/templates/mailer_spec.rb
@@ -30,15 +36,15 @@
 ${GEM_LIBDIR}/lib/generators/rspec/model/model_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/model/templates/fixtures.yml
 ${GEM_LIBDIR}/lib/generators/rspec/model/templates/model_spec.rb
-${GEM_LIBDIR}/lib/generators/rspec/observer/observer_generator.rb
-${GEM_LIBDIR}/lib/generators/rspec/observer/templates/observer_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/request/request_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/scaffold_generator.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/api_controller_spec.rb
+${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/api_request_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/controller_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/edit_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/index_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/new_spec.rb
+${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/request_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/routing_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/scaffold/templates/show_spec.rb
 ${GEM_LIBDIR}/lib/generators/rspec/system/system_generator.rb
@@ -51,10 +57,12 @@
 ${GEM_LIBDIR}/lib/rspec/rails/adapters.rb
 ${GEM_LIBDIR}/lib/rspec/rails/configuration.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example.rb
+${GEM_LIBDIR}/lib/rspec/rails/example/channel_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example/controller_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example/feature_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example/helper_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example/job_example_group.rb
+${GEM_LIBDIR}/lib/rspec/rails/example/mailbox_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example/mailer_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example/model_example_group.rb
 ${GEM_LIBDIR}/lib/rspec/rails/example/rails_example_group.rb
@@ -69,6 +77,10 @@
 ${GEM_LIBDIR}/lib/rspec/rails/fixture_file_upload_support.rb
 ${GEM_LIBDIR}/lib/rspec/rails/fixture_support.rb
 ${GEM_LIBDIR}/lib/rspec/rails/matchers.rb
+${GEM_LIBDIR}/lib/rspec/rails/matchers/action_cable.rb
+${GEM_LIBDIR}/lib/rspec/rails/matchers/action_cable/have_broadcasted_to.rb
+${GEM_LIBDIR}/lib/rspec/rails/matchers/action_cable/have_streams.rb
+${GEM_LIBDIR}/lib/rspec/rails/matchers/action_mailbox.rb
 ${GEM_LIBDIR}/lib/rspec/rails/matchers/active_job.rb
 ${GEM_LIBDIR}/lib/rspec/rails/matchers/base_matcher.rb
 ${GEM_LIBDIR}/lib/rspec/rails/matchers/be_a_new.rb
diff -r 3fdae1b35479 -r ec71d94405e6 devel/ruby-rspec-rails/distinfo
--- a/devel/ruby-rspec-rails/distinfo   Mon Apr 27 06:53:56 2020 +0000
+++ b/devel/ruby-rspec-rails/distinfo   Mon Apr 27 06:58:35 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.30 2020/03/15 17:03:30 taca Exp $
+$NetBSD: distinfo,v 1.31 2020/04/27 06:58:35 taca Exp $
 
-SHA1 (rspec-rails-3.9.1.gem) = 16b12cb2144e9d7cd3a860f575d9f005ab929b88
-RMD160 (rspec-rails-3.9.1.gem) = eb3fd458db704420e757e44a77f044dd5aadab65
-SHA512 (rspec-rails-3.9.1.gem) = 3d03bdefdc052dbd93a803c748cc957a4ce82fbde2c1a592d85f3125d5e44015261d2b7fbf0ab53f7d606cfb8ff4d5b82cf62c515b898907a5fe8ac1cdbb598f
-Size (rspec-rails-3.9.1.gem) = 62976 bytes
+SHA1 (rspec-rails-4.0.0.gem) = 3f9791bdfa2c5724e0faa754bee4fcc1dae7b460
+RMD160 (rspec-rails-4.0.0.gem) = e139418ca994837b412b6acef4864a19d9f568f0
+SHA512 (rspec-rails-4.0.0.gem) = 79aeab81ab4a68e7cf419666f229dbc587f82e12fc1ac1556b182d3a8343134b760551b604b726eaf92de146207ae2f7614f1d1ac31d8b62abaf467dbcef5c8b
+Size (rspec-rails-4.0.0.gem) = 67072 bytes


Home | Main Index | Thread Index | Old Index