pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-shoulda-matchers devel/ruby-shoulda-matcher...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/03e88029f34e
branches:  trunk
changeset: 439211:03e88029f34e
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Sep 14 16:28:40 2020 +0000

description:
devel/ruby-shoulda-matchers: update to 4.4.1

Update ruby-shoulda-matchers package to 4.4.1.


4.4.1 - 2020-08-26

Bug fixes

* Revert reorganization around autoloading introduced in 4.4.0 which
  prevented matchers from being loaded. (#1334)

4.4.0 - 2020-08-25

Bug fixes

* Fix performance of allow_value so that it doesn't hang if the given value
  is really long. (#1290)

* Fix have_many so that it is possible to test an association that has a
  scope that takes an argument. (#952, #992)

* Update validate_uniqueness_of to use the public validators_on instead of
  the private _validators when reading validations off of a model.  This
  enables shoulda-matchers to be used with the schema_validations
  gem. (#995)

* Update validate_uniqueness_of to work with scopes that are time
  columns. (#1190)

* Fix have_and_belong_to_many so that when using the join_table qualifier
  you can pass a symbol rather than a string. (#1323)

Features

* Add an ignoring_check_for_db_index qualifier to the have_secure_token
  matcher, since has_secure_token encourages use of an index but does not
  enforce it. (#1278)

* Add allow_blank to validate_length_of to match other validation
  matchers. (#725, #1318)

* Add new matcher have_implicit_order_column which can be used to test the
  implicit_order_column setting for ActiveRecord models under Rails
  6+. (#1243)

* Add a new is_other_than qualifier to validate_numericality_of to be able
  to test the numericality validation's :other_than option. (#1282)

* Add a new have_one_attached and have_many_attached matchers for testing
  the new model-level ActiveStorage macros in Rails 6. (#1102)

Improvements

* Update have_many when used against a :through association so that it fails
  if the inverse model does not have a belongs_to association. (#646, #723,
  c0a1578)

* Add Ruby 2.7 to test matrix and default development Ruby. (#1310)

* Remove warnings emitted on Ruby 2.7 in word_wrap. (#1314)

* Remove warnings emitted on Ruby 2.7 in Doublespeak. (#1328)

* Clean up requires within the code by converting them to autoloads. (#1320)

diffstat:

 devel/ruby-shoulda-matchers/Makefile |   4 ++--
 devel/ruby-shoulda-matchers/PLIST    |   6 +++---
 devel/ruby-shoulda-matchers/distinfo |  10 +++++-----
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (57 lines):

diff -r d5141c9d1f2b -r 03e88029f34e devel/ruby-shoulda-matchers/Makefile
--- a/devel/ruby-shoulda-matchers/Makefile      Mon Sep 14 16:25:47 2020 +0000
+++ b/devel/ruby-shoulda-matchers/Makefile      Mon Sep 14 16:28:40 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2020/06/14 13:31:34 taca Exp $
+# $NetBSD: Makefile,v 1.15 2020/09/14 16:28:40 taca Exp $
 
-DISTNAME=      shoulda-matchers-4.3.0
+DISTNAME=      shoulda-matchers-4.4.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel ruby
 
diff -r d5141c9d1f2b -r 03e88029f34e devel/ruby-shoulda-matchers/PLIST
--- a/devel/ruby-shoulda-matchers/PLIST Mon Sep 14 16:25:47 2020 +0000
+++ b/devel/ruby-shoulda-matchers/PLIST Mon Sep 14 16:28:40 2020 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2020/06/14 13:31:34 taca Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/09/14 16:28:40 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
-${GEM_LIBDIR}/MIT-LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/docs/errors/NonCaseSwappableValueError.md
 ${GEM_LIBDIR}/lib/shoulda-matchers.rb
@@ -75,8 +74,10 @@
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matchers/source_matcher.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matchers/through_matcher.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/define_enum_for_matcher.rb
+${GEM_LIBDIR}/lib/shoulda/matchers/active_record/have_attached_matcher.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/have_db_column_matcher.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/have_db_index_matcher.rb
+${GEM_LIBDIR}/lib/shoulda/matchers/active_record/have_implicit_order_column.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/have_rich_text_matcher.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/have_secure_token_matcher.rb
@@ -100,7 +101,6 @@
 ${GEM_LIBDIR}/lib/shoulda/matchers/error.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/independent.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/independent/delegate_method_matcher.rb
-${GEM_LIBDIR}/lib/shoulda/matchers/independent/delegate_method_matcher/stubbed_target.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/independent/delegate_method_matcher/target_not_defined_error.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/integrations.rb
 ${GEM_LIBDIR}/lib/shoulda/matchers/integrations/configuration.rb
diff -r d5141c9d1f2b -r 03e88029f34e devel/ruby-shoulda-matchers/distinfo
--- a/devel/ruby-shoulda-matchers/distinfo      Mon Sep 14 16:25:47 2020 +0000
+++ b/devel/ruby-shoulda-matchers/distinfo      Mon Sep 14 16:28:40 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2020/06/14 13:31:34 taca Exp $
+$NetBSD: distinfo,v 1.8 2020/09/14 16:28:40 taca Exp $
 
-SHA1 (shoulda-matchers-4.3.0.gem) = 844982a0c00cba6d554c26961bc834e86ca37946
-RMD160 (shoulda-matchers-4.3.0.gem) = 1a3e5bf76b5f8e6bfda18819525f5dcdbee098ec
-SHA512 (shoulda-matchers-4.3.0.gem) = 29a7ec3acc6596cf9aa6f2fdaa737c3ff28345ca8355a727e3730a48cf0b569ae9785ed57e8ebf535ea8f2406cf54e98ec05949727a19e0b2a59ba0bd6261c86
-Size (shoulda-matchers-4.3.0.gem) = 78336 bytes
+SHA1 (shoulda-matchers-4.4.1.gem) = 63c9b3e749128a9b68e25d308dd4681bd85c96cb
+RMD160 (shoulda-matchers-4.4.1.gem) = 344888a2a92ec8315ea8a9cc6e5fea3b1b382757
+SHA512 (shoulda-matchers-4.4.1.gem) = 60a137562e4dab5d5b575fefb1ba45b5f1f470d572c387f7fed1a19a5f2522ab97374c38428520124e93b96c4bed566ca8b6b0bd95de915b1028f0e485bfcadc
+Size (shoulda-matchers-4.4.1.gem) = 79872 bytes



Home | Main Index | Thread Index | Old Index