[DRE-commits] [ruby-shoulda-matchers] 03/10: Merge tag 'upstream/2.8.0'

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jul 15 00:50:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository ruby-shoulda-matchers.

commit 1f8d938abba11304535e86eb07017e0afd49b162
Merge: ecf9f02 6f83c8c
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Jul 14 21:34:35 2016 -0300

    Merge tag 'upstream/2.8.0'
    
    Upstream version 2.8.0
    
    # gpg: Signature made Qui 14 Jul 2016 21:34:35 BRT using RSA key ID CD460BDE
    # gpg: Good signature from "Antonio Terceiro <terceiro at softwarelivre.org>"
    # gpg:                 aka "Antonio Terceiro <terceiro at dcc.ufba.br>"
    # gpg:                 aka "Antonio Terceiro <terceiro at colivre.coop.br>"
    # gpg:                 aka "Antonio Terceiro <terceiro at debian.org>"
    # gpg:                 aka "Antonio Terceiro <antonio.terceiro at linaro.org>"
    # gpg:                 aka "Antonio Terceiro <antonio.terceiro at linaro.org>"

 .gitignore                                         |   16 +-
 .hound.yml                                         |    3 +
 .hound_config/ruby.yml                             |    5 +
 .travis.yml                                        |   42 +-
 .yardopts                                          |    8 +
 Appraisals                                         |  129 ++-
 CONTRIBUTING.md                                    |   44 +-
 Gemfile                                            |   21 +-
 Gemfile.lock                                       |  180 +--
 MIT-LICENSE                                        |    2 +-
 NEWS.md                                            |  375 ++++++-
 README.md                                          |  225 ++--
 Rakefile                                           |   30 +-
 checksums.yaml.gz                                  |  Bin 421 -> 0 bytes
 cucumber.yml                                       |    1 +
 docs.watchr                                        |    5 +
 features/rails_integration.feature                 |  114 --
 features/step_definitions/rails_steps.rb           |  130 ---
 features/support/env.rb                            |    5 -
 gemfiles/3.0.gemfile                               |   30 +-
 gemfiles/3.0.gemfile.lock                          |  104 +-
 gemfiles/3.1.gemfile                               |   36 +-
 gemfiles/3.1.gemfile.lock                          |  128 ++-
 gemfiles/3.1_1.9.2.gemfile                         |   32 +
 .../{3.1.gemfile.lock => 3.1_1.9.2.gemfile.lock}   |  144 ++-
 gemfiles/3.2.gemfile                               |   37 +-
 gemfiles/3.2.gemfile.lock                          |  130 ++-
 gemfiles/3.2_1.9.2.gemfile                         |   31 +
 gemfiles/3.2_1.9.2.gemfile.lock                    |  207 ++++
 gemfiles/4.0.0.gemfile                             |   36 +
 gemfiles/4.0.0.gemfile.lock                        |  223 ++++
 gemfiles/4.0.1.gemfile                             |   36 +
 gemfiles/4.0.1.gemfile.lock                        |  221 ++++
 gemfiles/4.1.gemfile                               |   36 +
 gemfiles/4.1.gemfile.lock                          |  220 ++++
 gemfiles/4.2.gemfile                               |   38 +
 gemfiles/4.2.gemfile.lock                          |  263 +++++
 lib/shoulda/matchers.rb                            |   22 +-
 lib/shoulda/matchers/action_controller.rb          |   26 +-
 .../matchers/action_controller/callback_matcher.rb |  196 ++++
 .../action_controller/filter_param_matcher.rb      |   47 +-
 .../action_controller/redirect_to_matcher.rb       |   66 +-
 .../action_controller/render_template_matcher.rb   |   64 +-
 .../render_with_layout_matcher.rb                  |   82 +-
 .../action_controller/rescue_from_matcher.rb       |  116 ++
 .../action_controller/respond_with_matcher.rb      |  105 +-
 .../matchers/action_controller/route_matcher.rb    |  140 ++-
 .../matchers/action_controller/route_params.rb     |   53 +
 .../action_controller/set_flash_matcher.rb         |  308 ++++++
 .../action_controller/set_session_matcher.rb       |  227 +++-
 .../action_controller/set_the_flash_matcher.rb     |  147 ---
 .../action_controller/strong_parameters_matcher.rb |  277 +++++
 lib/shoulda/matchers/active_model.rb               |   46 +-
 .../allow_mass_assignment_of_matcher.rb            |   90 +-
 .../matchers/active_model/allow_value_matcher.rb   |  292 ++++-
 .../active_model/disallow_value_matcher.rb         |   35 +-
 .../active_model/ensure_exclusion_of_matcher.rb    |   94 --
 .../active_model/ensure_inclusion_of_matcher.rb    |  156 ---
 .../active_model/ensure_length_of_matcher.rb       |  176 ---
 lib/shoulda/matchers/active_model/errors.rb        |   49 +-
 .../active_model/exception_message_finder.rb       |   58 -
 .../active_model/have_secure_password_matcher.rb   |   94 ++
 lib/shoulda/matchers/active_model/helpers.rb       |   60 +-
 .../matchers/active_model/numericality_matchers.rb |    9 +
 .../numericality_matchers/comparison_matcher.rb    |  134 +++
 .../numericality_matchers/even_number_matcher.rb   |   27 +
 .../numericality_matchers/numeric_type_matcher.rb  |   41 +
 .../numericality_matchers/odd_number_matcher.rb    |   27 +
 .../numericality_matchers/only_integer_matcher.rb  |   26 +
 .../active_model/odd_even_number_matcher.rb        |   47 -
 .../matchers/active_model/only_integer_matcher.rb  |   37 -
 .../matchers/active_model/strict_validator.rb      |   51 +
 .../active_model/validate_absence_of_matcher.rb    |  117 ++
 .../active_model/validate_acceptance_of_matcher.rb |   64 +-
 .../validate_confirmation_of_matcher.rb            |   93 +-
 .../active_model/validate_exclusion_of_matcher.rb  |  183 ++++
 .../active_model/validate_inclusion_of_matcher.rb  |  495 +++++++++
 .../active_model/validate_length_of_matcher.rb     |  359 ++++++
 .../validate_numericality_of_matcher.rb            |  415 ++++++-
 .../active_model/validate_presence_of_matcher.rb   |  147 ++-
 .../active_model/validate_uniqueness_of_matcher.rb |  221 ----
 .../matchers/active_model/validation_matcher.rb    |   56 +-
 .../active_model/validation_message_finder.rb      |   70 --
 lib/shoulda/matchers/active_model/validator.rb     |  113 ++
 .../validator_with_captured_range_error.rb         |   12 +
 lib/shoulda/matchers/active_record.rb              |   38 +-
 .../accept_nested_attributes_for_matcher.rb        |  110 +-
 .../matchers/active_record/association_matcher.rb  | 1133 ++++++++++++++++---
 .../matchers/active_record/association_matchers.rb |    9 +
 .../association_matchers/counter_cache_matcher.rb  |   41 +
 .../association_matchers/dependent_matcher.rb      |   62 ++
 .../association_matchers/inverse_of_matcher.rb     |   41 +
 .../association_matchers/join_table_matcher.rb     |   86 ++
 .../association_matchers/model_reflection.rb       |  123 +++
 .../association_matchers/model_reflector.rb        |   66 ++
 .../association_matchers/option_verifier.rb        |  115 ++
 .../association_matchers/order_matcher.rb          |   41 +
 .../association_matchers/source_matcher.rb         |   41 +
 .../association_matchers/through_matcher.rb        |   63 ++
 .../active_record/define_enum_for_matcher.rb       |  138 +++
 .../active_record/have_db_column_matcher.rb        |  135 ++-
 .../active_record/have_db_index_matcher.rb         |   87 +-
 .../have_readonly_attribute_matcher.rb             |   39 +-
 .../matchers/active_record/serialize_matcher.rb    |  123 ++-
 lib/shoulda/matchers/active_record/uniqueness.rb   |   14 +
 .../matchers/active_record/uniqueness/model.rb     |   46 +
 .../matchers/active_record/uniqueness/namespace.rb |   37 +
 .../active_record/uniqueness/test_model_creator.rb |   51 +
 .../active_record/uniqueness/test_models.rb        |   25 +
 .../validate_uniqueness_of_matcher.rb              |  442 ++++++++
 lib/shoulda/matchers/assertion_error.rb            |   17 +-
 lib/shoulda/matchers/doublespeak.rb                |   28 +
 lib/shoulda/matchers/doublespeak/double.rb         |   76 ++
 .../matchers/doublespeak/double_collection.rb      |   55 +
 .../doublespeak/double_implementation_registry.rb  |   28 +
 lib/shoulda/matchers/doublespeak/object_double.rb  |   33 +
 .../matchers/doublespeak/proxy_implementation.rb   |   31 +
 lib/shoulda/matchers/doublespeak/structs.rb        |   10 +
 .../matchers/doublespeak/stub_implementation.rb    |   35 +
 lib/shoulda/matchers/doublespeak/world.rb          |   37 +
 lib/shoulda/matchers/error.rb                      |   25 +
 lib/shoulda/matchers/independent.rb                |   11 +
 .../independent/delegate_method_matcher.rb         |  382 +++++++
 .../delegate_method_matcher/stubbed_target.rb      |   37 +
 .../target_not_defined_error.rb                    |   15 +
 .../integrations/nunit_test_case_detection.rb      |   39 +
 lib/shoulda/matchers/integrations/rspec.rb         |   27 +-
 lib/shoulda/matchers/integrations/test_unit.rb     |   42 +-
 lib/shoulda/matchers/matcher_context.rb            |   36 +
 lib/shoulda/matchers/rails_shim.rb                 |  111 ++
 lib/shoulda/matchers/util.rb                       |   33 +
 lib/shoulda/matchers/version.rb                    |    3 +-
 lib/shoulda/matchers/warn.rb                       |   36 +
 metadata.yml                                       |  545 ++++++----
 script/SUPPORTED_VERSIONS                          |    1 +
 script/install_gems_in_all_appraisals              |   14 +
 script/run_all_tests                               |   14 +
 script/update_gem_in_all_appraisals                |   15 +
 shoulda-matchers.gemspec                           |   12 +-
 spec/acceptance/active_model_integration_spec.rb   |   20 +
 spec/acceptance/independent_matchers_spec.rb       |   64 ++
 spec/acceptance/rails_integration_spec.rb          |  142 +++
 spec/acceptance_spec_helper.rb                     |   23 +
 spec/report_warnings.rb                            |    7 +
 .../validate_uniqueness_of_matcher_spec.rb         |  195 ----
 .../action_controller/filter_param_matcher_spec.rb |   22 -
 .../action_controller/redirect_to_matcher_spec.rb  |   42 -
 .../render_template_matcher_spec.rb                |   78 --
 .../render_with_layout_matcher_spec.rb             |   58 -
 .../action_controller/route_matcher_spec.rb        |   65 --
 .../action_controller/set_session_matcher_spec.rb  |   51 -
 .../set_the_flash_matcher_spec.rb                  |  153 ---
 .../active_model/allow_value_matcher_spec.rb       |  146 ---
 .../active_model/disallow_value_matcher_spec.rb    |   43 -
 .../ensure_exclusion_of_matcher_spec.rb            |   95 --
 .../ensure_inclusion_of_matcher_spec.rb            |  194 ----
 .../active_model/ensure_length_of_matcher_spec.rb  |  159 ---
 .../active_model/exception_message_finder_spec.rb  |  112 --
 .../active_model/odd_even_number_matcher_spec.rb   |   93 --
 .../active_model/only_integer_matcher_spec.rb      |   52 -
 .../validate_confirmation_of_matcher_spec.rb       |   47 -
 .../validate_numericality_of_matcher_spec.rb       |  133 ---
 .../validate_presence_of_matcher_spec.rb           |  143 ---
 .../validate_uniqueness_of_matcher_spec.rb         |  212 ----
 .../active_model/validation_message_finder_spec.rb |  119 --
 .../accept_nested_attributes_for_matcher_spec.rb   |  106 --
 .../active_record/association_matcher_spec.rb      |  606 -----------
 .../active_record/have_db_column_matcher_spec.rb   |  111 --
 spec/spec_helper.rb                                |   28 -
 spec/support/acceptance/helpers.rb                 |   29 +
 .../acceptance/helpers/active_model_helpers.rb     |   11 +
 spec/support/acceptance/helpers/array_helpers.rb   |   13 +
 spec/support/acceptance/helpers/base_helpers.rb    |   14 +
 spec/support/acceptance/helpers/command_helpers.rb |   51 +
 spec/support/acceptance/helpers/file_helpers.rb    |   19 +
 spec/support/acceptance/helpers/gem_helpers.rb     |   31 +
 .../support/acceptance/helpers/minitest_helpers.rb |   19 +
 .../acceptance/helpers/pluralization_helpers.rb    |   13 +
 .../acceptance/helpers/rails_version_helpers.rb    |   11 +
 spec/support/acceptance/helpers/rspec_helpers.rb   |   26 +
 .../acceptance/helpers/ruby_version_helpers.rb     |    9 +
 spec/support/acceptance/helpers/step_helpers.rb    |  117 ++
 spec/support/acceptance/matchers/have_output.rb    |   31 +
 .../indicate_number_of_tests_was_run_matcher.rb    |   55 +
 .../indicate_that_tests_were_run_matcher.rb        |  103 ++
 spec/support/active_model_versions.rb              |   13 -
 spec/support/activemodel_helpers.rb                |   19 -
 spec/support/class_builder.rb                      |   42 -
 spec/support/controller_builder.rb                 |   80 --
 spec/support/i18n_faker.rb                         |   10 -
 spec/support/mailer_builder.rb                     |   10 -
 spec/support/model_builder.rb                      |   77 --
 spec/support/tests/bundle.rb                       |   94 ++
 spec/support/tests/command_runner.rb               |  214 ++++
 spec/support/tests/filesystem.rb                   |   77 ++
 spec/support/tests/version.rb                      |   45 +
 spec/support/unit/capture.rb                       |   34 +
 spec/support/unit/helpers/active_model_helpers.rb  |   27 +
 spec/support/unit/helpers/active_model_versions.rb |   28 +
 .../support/unit/helpers/active_record_versions.rb |   16 +
 .../unit/helpers/active_resource_builder.rb        |   27 +
 .../unit/helpers/allow_value_matcher_helpers.rb    |   15 +
 spec/support/unit/helpers/class_builder.rb         |   72 ++
 .../unit/helpers/confirmation_matcher_helpers.rb   |   17 +
 spec/support/unit/helpers/controller_builder.rb    |   91 ++
 spec/support/unit/helpers/i18n_faker.rb            |   15 +
 spec/support/unit/helpers/mailer_builder.rb        |   12 +
 spec/support/unit/helpers/model_builder.rb         |  102 ++
 spec/support/unit/helpers/rails_versions.rb        |   28 +
 spec/support/unit/i18n.rb                          |    7 +
 spec/support/unit/matchers/deprecate.rb            |   60 +
 .../fail_with_message_including_matcher.rb         |   50 +
 .../unit/matchers/fail_with_message_matcher.rb     |   51 +
 .../unit/matchers/print_warning_including.rb       |   59 +
 spec/support/unit/rails_application.rb             |  110 ++
 .../record_builder_with_i18n_validation_message.rb |   69 ++
 .../unit/record_validating_confirmation_builder.rb |   56 +
 ...ecord_with_different_error_attribute_builder.rb |   92 ++
 .../unit/shared_examples/numerical_submatcher.rb   |   17 +
 .../shared_examples/numerical_type_submatcher.rb   |   15 +
 .../action_controller/callback_matcher_spec.rb     |   82 ++
 .../action_controller/filter_param_matcher_spec.rb |   28 +
 .../action_controller/redirect_to_matcher_spec.rb  |   42 +
 .../render_template_matcher_spec.rb                |   76 ++
 .../render_with_layout_matcher_spec.rb             |   66 ++
 .../action_controller/rescue_from_matcher_spec.rb  |   90 ++
 .../action_controller/respond_with_matcher_spec.rb |   20 +-
 .../action_controller/route_matcher_spec.rb        |  126 +++
 .../action_controller/route_params_spec.rb         |   30 +
 .../action_controller/set_flash_matcher_spec.rb    |  167 +++
 .../action_controller/set_session_matcher_spec.rb  |  294 +++++
 .../strong_parameters_matcher_spec.rb              |  331 ++++++
 .../allow_mass_assignment_of_matcher_spec.rb       |   54 +-
 .../active_model/allow_value_matcher_spec.rb       |  304 ++++++
 .../active_model/disallow_value_matcher_spec.rb    |  160 +++
 .../have_secure_password_matcher_spec.rb           |   20 +
 .../shoulda/matchers/active_model/helpers_spec.rb  |   68 +-
 .../comparison_matcher_spec.rb                     |  169 +++
 .../even_number_matcher_spec.rb                    |   59 +
 .../odd_number_matcher_spec.rb                     |   59 +
 .../only_integer_matcher_spec.rb                   |   57 +
 .../validate_absence_of_matcher_spec.rb            |  166 +++
 .../validate_acceptance_of_matcher_spec.rb         |   20 +-
 .../validate_confirmation_of_matcher_spec.rb       |   63 ++
 .../validate_exclusion_of_matcher_spec.rb          |  112 ++
 .../validate_inclusion_of_matcher_spec.rb          |  697 ++++++++++++
 .../validate_length_of_matcher_spec.rb             |  186 ++++
 .../validate_numericality_of_matcher_spec.rb       |  425 ++++++++
 .../validate_presence_of_matcher_spec.rb           |  218 ++++
 .../validate_uniqueness_of_matcher_spec.rb         |  564 ++++++++++
 .../accept_nested_attributes_for_matcher_spec.rb   |  107 ++
 .../active_record/association_matcher_spec.rb      | 1149 ++++++++++++++++++++
 .../association_matchers/model_reflection_spec.rb  |  251 +++++
 .../active_record/define_enum_for_matcher_spec.rb  |  101 ++
 .../active_record/have_db_column_matcher_spec.rb   |  111 ++
 .../active_record/have_db_index_matcher_spec.rb    |   47 +-
 .../have_readonly_attributes_matcher_spec.rb       |   20 +-
 .../active_record/serialize_matcher_spec.rb        |   34 +-
 .../matchers/doublespeak/double_collection_spec.rb |  124 +++
 .../double_implementation_registry_spec.rb         |   21 +
 .../shoulda/matchers/doublespeak/double_spec.rb    |  154 +++
 .../matchers/doublespeak/object_double_spec.rb     |   77 ++
 .../doublespeak/proxy_implementation_spec.rb       |   47 +
 .../doublespeak/stub_implementation_spec.rb        |   88 ++
 .../shoulda/matchers/doublespeak/world_spec.rb     |   77 ++
 spec/unit/shoulda/matchers/doublespeak_spec.rb     |   27 +
 .../delegate_method_matcher/stubbed_target_spec.rb |   43 +
 .../independent/delegate_method_matcher_spec.rb    |  517 +++++++++
 spec/unit_spec_helper.rb                           |   68 ++
 spec/warnings_spy.rb                               |   64 ++
 spec/warnings_spy/filesystem.rb                    |   45 +
 spec/warnings_spy/partitioner.rb                   |   36 +
 spec/warnings_spy/reader.rb                        |   53 +
 spec/warnings_spy/reporter.rb                      |   88 ++
 tasks/documentation.rb                             |  171 +++
 275 files changed, 21732 insertions(+), 6074 deletions(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-shoulda-matchers.git



More information about the Pkg-ruby-extras-commits mailing list