summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2020-09-14 16:28:40 +0000
committertaca <taca@pkgsrc.org>2020-09-14 16:28:40 +0000
commit7e2c0bd3959dacabf05f17dcf7e2cf26ed40064a (patch)
treecf1cac63c693fd6c5e152442912c923cf4e31b2a /devel
parent22aed99d90d21838925c2b231ad3f7b08bfaf739 (diff)
downloadpkgsrc-7e2c0bd3959dacabf05f17dcf7e2cf26ed40064a.tar.gz
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 (limited to 'devel')
-rw-r--r--devel/ruby-shoulda-matchers/Makefile4
-rw-r--r--devel/ruby-shoulda-matchers/PLIST6
-rw-r--r--devel/ruby-shoulda-matchers/distinfo10
3 files changed, 10 insertions, 10 deletions
diff --git a/devel/ruby-shoulda-matchers/Makefile b/devel/ruby-shoulda-matchers/Makefile
index d937bec19d0..ab6828f3db8 100644
--- a/devel/ruby-shoulda-matchers/Makefile
+++ b/devel/ruby-shoulda-matchers/Makefile
@@ -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 --git a/devel/ruby-shoulda-matchers/PLIST b/devel/ruby-shoulda-matchers/PLIST
index aae4f756630..8cb42c99346 100644
--- a/devel/ruby-shoulda-matchers/PLIST
+++ b/devel/ruby-shoulda-matchers/PLIST
@@ -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/required_m
${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/doublespeak/world.rb
${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 --git a/devel/ruby-shoulda-matchers/distinfo b/devel/ruby-shoulda-matchers/distinfo
index 04c77daadf3..97485567af8 100644
--- a/devel/ruby-shoulda-matchers/distinfo
+++ b/devel/ruby-shoulda-matchers/distinfo
@@ -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