diff options
author | rodent <rodent@pkgsrc.org> | 2014-08-14 02:18:41 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-08-14 02:18:41 +0000 |
commit | b2fab14420ff6aea57dd49368bc7f7d3663336f9 (patch) | |
tree | 1f954d21af44f935af37291d32800c27167ef971 /devel/ruby-shoulda-matchers | |
parent | 143e38a2ed1a6635363e69779aaca3cd45c17abe (diff) | |
download | pkgsrc-b2fab14420ff6aea57dd49368bc7f7d3663336f9.tar.gz |
Updated to 2.6.2. ruby18 isn't supported. From NEWS.md:
### Bug fixes
* If you have a Rails >= 4.1 project and you are running tests using Spring,
matchers that depend on assertions within Rails' testing layer (e.g.
`render_template` and `route`) will no longer fail.
* Fix `permit` so that it can be used more than once in the same test.
* Revert change to `validate_uniqueness_of` made in 2.6.0 so that it no longer
provides default values for non-primary, non-nullable columns. This approach
was causing test failures because it makes the assumption that none of these
columns allow only specific values, which is not true. If you get an error
from `validate_uniqueness_of`, your best bet continues to be creating a record
manually and calling `validate_uniqueness_of` on that instead.
### Other changes
* The majority of warnings that the gem produced have been removed. The gem
still produces warnings under Ruby 1.9.3; we will address this in a future
release.
Diffstat (limited to 'devel/ruby-shoulda-matchers')
-rw-r--r-- | devel/ruby-shoulda-matchers/Makefile | 6 | ||||
-rw-r--r-- | devel/ruby-shoulda-matchers/PLIST | 82 | ||||
-rw-r--r-- | devel/ruby-shoulda-matchers/distinfo | 8 |
3 files changed, 69 insertions, 27 deletions
diff --git a/devel/ruby-shoulda-matchers/Makefile b/devel/ruby-shoulda-matchers/Makefile index 2aa5e189150..242f6f91f53 100644 --- a/devel/ruby-shoulda-matchers/Makefile +++ b/devel/ruby-shoulda-matchers/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.3 2014/07/16 08:37:20 rodent Exp $ +# $NetBSD: Makefile,v 1.4 2014/08/14 02:18:41 rodent Exp $ -DISTNAME= shoulda-matchers-2.6.1 +DISTNAME= shoulda-matchers-2.6.2 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} CATEGORIES= devel ruby @@ -13,5 +13,7 @@ DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=3.0.0:../../devel/ruby-activesupport3 USE_LANGUAGES= # none +RUBY_VERSION_SUPPORTED= 200 193 21 + .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-shoulda-matchers/PLIST b/devel/ruby-shoulda-matchers/PLIST index 10f4be66c15..9ffdc3e314c 100644 --- a/devel/ruby-shoulda-matchers/PLIST +++ b/devel/ruby-shoulda-matchers/PLIST @@ -1,30 +1,66 @@ -@comment $NetBSD: PLIST,v 1.2 2014/07/16 07:56:28 rodent Exp $ +@comment $NetBSD: PLIST,v 1.3 2014/08/14 02:18:41 rodent Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/.travis.yml +${GEM_LIBDIR}/.yardopts ${GEM_LIBDIR}/Appraisals ${GEM_LIBDIR}/CONTRIBUTING.md +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/Gemfile.lock +${GEM_LIBDIR}/MIT-LICENSE +${GEM_LIBDIR}/NEWS.md +${GEM_LIBDIR}/README.md +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/cucumber.yml +${GEM_LIBDIR}/doc_config/gh-pages/index.html.erb +${GEM_LIBDIR}/doc_config/yard/setup.rb +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/css/bootstrap.css +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/css/full_list.css +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/css/global.css +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/css/solarized.css +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/css/style.css +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/full_list.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/full_list_class.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/full_list_method.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/js/app.js +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/js/full_list.js +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/js/jquery.stickyheaders.js +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/js/underscore.min.js +${GEM_LIBDIR}/doc_config/yard/templates/default/fulldoc/html/setup.rb +${GEM_LIBDIR}/doc_config/yard/templates/default/layout/html/breadcrumb.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/layout/html/fonts.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/layout/html/layout.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/layout/html/search.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/layout/html/setup.rb +${GEM_LIBDIR}/doc_config/yard/templates/default/method_details/html/source.erb +${GEM_LIBDIR}/doc_config/yard/templates/default/module/html/box_info.erb +${GEM_LIBDIR}/docs.watchr ${GEM_LIBDIR}/features/activemodel_integration.feature ${GEM_LIBDIR}/features/rails_integration.feature ${GEM_LIBDIR}/features/step_definitions/activemodel_steps.rb ${GEM_LIBDIR}/features/step_definitions/rails_steps.rb ${GEM_LIBDIR}/features/support/env.rb -${GEM_LIBDIR}/Gemfile -${GEM_LIBDIR}/Gemfile.lock ${GEM_LIBDIR}/gemfiles/3.0.gemfile ${GEM_LIBDIR}/gemfiles/3.0.gemfile.lock ${GEM_LIBDIR}/gemfiles/3.1.gemfile ${GEM_LIBDIR}/gemfiles/3.1.gemfile.lock +${GEM_LIBDIR}/gemfiles/3.1_1.9.2.gemfile +${GEM_LIBDIR}/gemfiles/3.1_1.9.2.gemfile.lock ${GEM_LIBDIR}/gemfiles/3.2.gemfile ${GEM_LIBDIR}/gemfiles/3.2.gemfile.lock +${GEM_LIBDIR}/gemfiles/3.2_1.9.2.gemfile +${GEM_LIBDIR}/gemfiles/3.2_1.9.2.gemfile.lock ${GEM_LIBDIR}/gemfiles/4.0.0.gemfile ${GEM_LIBDIR}/gemfiles/4.0.0.gemfile.lock ${GEM_LIBDIR}/gemfiles/4.0.1.gemfile ${GEM_LIBDIR}/gemfiles/4.0.1.gemfile.lock ${GEM_LIBDIR}/gemfiles/4.1.gemfile ${GEM_LIBDIR}/gemfiles/4.1.gemfile.lock -${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/lib/shoulda-matchers.rb +${GEM_LIBDIR}/lib/shoulda/matchers.rb +${GEM_LIBDIR}/lib/shoulda/matchers/action_controller.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/callback_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/filter_param_matcher.rb -${GEM_LIBDIR}/lib/shoulda/matchers/action_controller.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/render_template_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb @@ -35,6 +71,7 @@ ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/route_params.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/set_session_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb +${GEM_LIBDIR}/lib/shoulda/matchers/active_model.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/allow_value_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/disallow_value_matcher.rb @@ -45,12 +82,12 @@ ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/errors.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/exception_message_finder.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/have_secure_password_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/helpers.rb +${GEM_LIBDIR}/lib/shoulda/matchers/active_model/numericality_matchers.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/numericality_matchers/even_number_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher.rb -${GEM_LIBDIR}/lib/shoulda/matchers/active_model.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb @@ -59,8 +96,10 @@ ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/validate_uniqueness_of_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/validation_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_model/validation_message_finder.rb +${GEM_LIBDIR}/lib/shoulda/matchers/active_record.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matcher.rb +${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matchers.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matchers/inverse_of_matcher.rb @@ -73,35 +112,32 @@ ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/association_matchers/through_ma ${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_readonly_attribute_matcher.rb -${GEM_LIBDIR}/lib/shoulda/matchers/active_record.rb ${GEM_LIBDIR}/lib/shoulda/matchers/active_record/serialize_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/assertion_error.rb +${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak.rb +${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/double.rb ${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/double_collection.rb ${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/double_implementation_registry.rb -${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/double.rb ${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/object_double.rb ${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/proxy_implementation.rb -${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak.rb ${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/structs.rb ${GEM_LIBDIR}/lib/shoulda/matchers/doublespeak/stub_implementation.rb ${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_matcher.rb ${GEM_LIBDIR}/lib/shoulda/matchers/independent/delegate_matcher/stubbed_target.rb -${GEM_LIBDIR}/lib/shoulda/matchers/independent.rb ${GEM_LIBDIR}/lib/shoulda/matchers/integrations/nunit_test_case_detection.rb ${GEM_LIBDIR}/lib/shoulda/matchers/integrations/rspec.rb ${GEM_LIBDIR}/lib/shoulda/matchers/integrations/test_unit.rb ${GEM_LIBDIR}/lib/shoulda/matchers/rails_shim.rb -${GEM_LIBDIR}/lib/shoulda-matchers.rb -${GEM_LIBDIR}/lib/shoulda/matchers.rb ${GEM_LIBDIR}/lib/shoulda/matchers/version.rb ${GEM_LIBDIR}/lib/shoulda/matchers/warn.rb -${GEM_LIBDIR}/MIT-LICENSE -${GEM_LIBDIR}/NEWS.md -${GEM_LIBDIR}/Rakefile -${GEM_LIBDIR}/README.md +${GEM_LIBDIR}/script/SUPPORTED_VERSIONS +${GEM_LIBDIR}/script/install_gems_in_all_appraisals +${GEM_LIBDIR}/script/run_all_tests ${GEM_LIBDIR}/shoulda-matchers.gemspec +${GEM_LIBDIR}/spec/report_warnings.rb ${GEM_LIBDIR}/spec/shoulda/matchers/action_controller/callback_matcher_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/action_controller/filter_param_matcher_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb @@ -135,8 +171,8 @@ ${GEM_LIBDIR}/spec/shoulda/matchers/active_model/validate_presence_of_matcher_sp ${GEM_LIBDIR}/spec/shoulda/matchers/active_model/validate_uniqueness_of_matcher_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/active_model/validation_message_finder_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb -${GEM_LIBDIR}/spec/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/active_record/association_matcher_spec.rb +${GEM_LIBDIR}/spec/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/active_record/have_db_column_matcher_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/active_record/have_db_index_matcher_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/active_record/have_readonly_attributes_matcher_spec.rb @@ -146,15 +182,15 @@ ${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak/double_implementation_registry_s ${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak/double_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak/object_double_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak/proxy_implementation_spec.rb -${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak/stub_implementation_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak/world_spec.rb -${GEM_LIBDIR}/spec/shoulda/matchers/independent/delegate_matcher_spec.rb +${GEM_LIBDIR}/spec/shoulda/matchers/doublespeak_spec.rb ${GEM_LIBDIR}/spec/shoulda/matchers/independent/delegate_matcher/stubbed_target_spec.rb +${GEM_LIBDIR}/spec/shoulda/matchers/independent/delegate_matcher_spec.rb ${GEM_LIBDIR}/spec/spec_helper.rb -${GEM_LIBDIR}/spec/support/activemodel_helpers.rb ${GEM_LIBDIR}/spec/support/active_model_versions.rb ${GEM_LIBDIR}/spec/support/active_resource_builder.rb +${GEM_LIBDIR}/spec/support/activemodel_helpers.rb ${GEM_LIBDIR}/spec/support/capture_helpers.rb ${GEM_LIBDIR}/spec/support/class_builder.rb ${GEM_LIBDIR}/spec/support/controller_builder.rb @@ -167,6 +203,10 @@ ${GEM_LIBDIR}/spec/support/rails_versions.rb ${GEM_LIBDIR}/spec/support/shared_examples/numerical_submatcher.rb ${GEM_LIBDIR}/spec/support/shared_examples/numerical_type_submatcher.rb ${GEM_LIBDIR}/spec/support/test_application.rb -${GEM_LIBDIR}/.travis.yml +${GEM_LIBDIR}/spec/warnings_spy.rb +${GEM_LIBDIR}/spec/warnings_spy/filesystem.rb +${GEM_LIBDIR}/spec/warnings_spy/partitioner.rb +${GEM_LIBDIR}/spec/warnings_spy/reader.rb +${GEM_LIBDIR}/spec/warnings_spy/reporter.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec @pkgdir lib/ruby/gems/2.0.0/build_info diff --git a/devel/ruby-shoulda-matchers/distinfo b/devel/ruby-shoulda-matchers/distinfo index e7299ca5d74..7fa002c2cc3 100644 --- a/devel/ruby-shoulda-matchers/distinfo +++ b/devel/ruby-shoulda-matchers/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1 2014/07/05 12:20:51 rodent Exp $ +$NetBSD: distinfo,v 1.2 2014/08/14 02:18:41 rodent Exp $ -SHA1 (shoulda-matchers-2.6.1.gem) = c3b67e4fc1fecdeb44c45447eb380df1050c200b -RMD160 (shoulda-matchers-2.6.1.gem) = 8c11ffe9ab3a8b953e633dc924d17513dc37f2f0 -Size (shoulda-matchers-2.6.1.gem) = 91648 bytes +SHA1 (shoulda-matchers-2.6.2.gem) = bbc0c04a1669de4e6f13e9c41271341406819f05 +RMD160 (shoulda-matchers-2.6.2.gem) = b0bd1fa60fceb84f511c740b4ca38c5855e12016 +Size (shoulda-matchers-2.6.2.gem) = 132608 bytes |