Skip to content

Commit

Permalink
devel/ruby-mocha: update to 1.12.0
Browse files Browse the repository at this point in the history
1.12.0 (2020-12-23)

External changes

* Various improvements to README inspired by #207 and #390 - thanks to
  @nitishr for his work on #390 (fed0eee6)

* Improve documentation related to StateMachine classes - thanks to
  @nitishr (#425 & #427)

* Fix regression in cardinality introduced in v1.10.0 (59454a8) and
  reported in #473 - thanks to @srvance for reporting and @nitishr for
  fixing (#474)

* Fix documentation for Mocha::Expectation#when - thanks to @olleolleolle
  (b4f59daa & #477)

* Remove Mocha::Mock#respond_to? from documentation - thanks to @nitishr
  (#480)

* Improvements to documentation for Expectation#yields & #multiple_yields
  - thanks to @andyw8 for reporting in #495 (1b6571c)

* Remove documentation & tests from gem to reduce its size by over 50% -
  thanks to @gabetax (#500)

* Update documentation to point to travis-ci.com instead of travis-ci.org

Internal changes

* Refactor StateMachine-related classes - thanks to @nitishr (#425 & #427)

* Remove redundant test - thanks to @nitishr (8e4f1a7c)

* Add Ruby 2.7 to Travis CI matrix - thanks to @bastelfreak (fc5ea2f2)

* Simplify Mockery - thanks to @nitishr (#449)

* Update Travis CI badge to point to main vs master branch (bd8028f8)

* Generate docs using newer version of yard (v0.9.25) (c619afac)

* Manually upgrade jquery in docs from v1.7.1 -> v1.9.0 to fix
  CVE-2017-16011 (211098a5, dd5eeedb & 1b76e4d5; also see #492)

* Remove reference to non-existent jquery source map to fix error in
  Chrome developer tools (20156555)

* Temporarily ignore Ruby v1.8.7 build failures (e5b9feef)
  • Loading branch information
taca committed Jan 10, 2021
1 parent 34bc764 commit 375808d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 195 deletions.
4 changes: 2 additions & 2 deletions devel/ruby-mocha/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.28 2020/01/16 15:37:57 taca Exp $
# $NetBSD: Makefile,v 1.29 2021/01/10 15:15:39 taca Exp $

DISTNAME= mocha-1.11.2
DISTNAME= mocha-1.12.0
CATEGORIES= devel

MAINTAINER= [email protected]
Expand Down
189 changes: 1 addition & 188 deletions devel/ruby-mocha/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.26 2020/01/16 15:37:57 taca Exp $
@comment $NetBSD: PLIST,v 1.27 2021/01/10 15:15:39 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/.github/FUNDING.yml
Expand All @@ -13,65 +13,6 @@ ${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/RELEASE.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/bin/build-matrix
${GEM_LIBDIR}/docs/CNAME
${GEM_LIBDIR}/docs/Mocha.html
${GEM_LIBDIR}/docs/Mocha/API.html
${GEM_LIBDIR}/docs/Mocha/ClassMethods.html
${GEM_LIBDIR}/docs/Mocha/Configuration.html
${GEM_LIBDIR}/docs/Mocha/Expectation.html
${GEM_LIBDIR}/docs/Mocha/ExpectationError.html
${GEM_LIBDIR}/docs/Mocha/ExpectationErrorFactory.html
${GEM_LIBDIR}/docs/Mocha/Hooks.html
${GEM_LIBDIR}/docs/Mocha/Integration.html
${GEM_LIBDIR}/docs/Mocha/Integration/MiniTest.html
${GEM_LIBDIR}/docs/Mocha/Integration/MiniTest/Adapter.html
${GEM_LIBDIR}/docs/Mocha/Integration/TestUnit.html
${GEM_LIBDIR}/docs/Mocha/Integration/TestUnit/Adapter.html
${GEM_LIBDIR}/docs/Mocha/Mock.html
${GEM_LIBDIR}/docs/Mocha/ObjectMethods.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/AllOf.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/AnyOf.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/AnyParameters.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/Anything.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/Base.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/Equals.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/EquivalentUri.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/HasEntries.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/HasEntry.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/HasKey.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/HasValue.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/Includes.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/InstanceOf.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/IsA.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/KindOf.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/Not.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/Optionally.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/RegexpMatches.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/RespondsWith.html
${GEM_LIBDIR}/docs/Mocha/ParameterMatchers/YamlEquivalent.html
${GEM_LIBDIR}/docs/Mocha/Sequence.html
${GEM_LIBDIR}/docs/Mocha/StateMachine.html
${GEM_LIBDIR}/docs/Mocha/StateMachine/State.html
${GEM_LIBDIR}/docs/Mocha/StateMachine/StatePredicate.html
${GEM_LIBDIR}/docs/Mocha/StubbingError.html
${GEM_LIBDIR}/docs/_index.html
${GEM_LIBDIR}/docs/class_list.html
${GEM_LIBDIR}/docs/css/common.css
${GEM_LIBDIR}/docs/css/full_list.css
${GEM_LIBDIR}/docs/css/style.css
${GEM_LIBDIR}/docs/file.COPYING.html
${GEM_LIBDIR}/docs/file.MIT-LICENSE.html
${GEM_LIBDIR}/docs/file.README.html
${GEM_LIBDIR}/docs/file.RELEASE.html
${GEM_LIBDIR}/docs/file_list.html
${GEM_LIBDIR}/docs/frames.html
${GEM_LIBDIR}/docs/index.html
${GEM_LIBDIR}/docs/js/app.js
${GEM_LIBDIR}/docs/js/full_list.js
${GEM_LIBDIR}/docs/js/jquery.js
${GEM_LIBDIR}/docs/method_list.html
${GEM_LIBDIR}/docs/top-level-namespace.html
${GEM_LIBDIR}/gemfiles/Gemfile.minitest.1.3.0
${GEM_LIBDIR}/gemfiles/Gemfile.minitest.1.4.0
${GEM_LIBDIR}/gemfiles/Gemfile.minitest.1.4.1
Expand Down Expand Up @@ -189,134 +130,6 @@ ${GEM_LIBDIR}/lib/mocha/thrown_object.rb
${GEM_LIBDIR}/lib/mocha/version.rb
${GEM_LIBDIR}/lib/mocha/yield_parameters.rb
${GEM_LIBDIR}/mocha.gemspec
${GEM_LIBDIR}/test/acceptance/acceptance_test_helper.rb
${GEM_LIBDIR}/test/acceptance/bug_18914_test.rb
${GEM_LIBDIR}/test/acceptance/bug_21465_test.rb
${GEM_LIBDIR}/test/acceptance/bug_21563_test.rb
${GEM_LIBDIR}/test/acceptance/display_matching_invocations_alongside_expectations_test.rb
${GEM_LIBDIR}/test/acceptance/exception_rescue_test.rb
${GEM_LIBDIR}/test/acceptance/expectations_on_multiple_methods_test.rb
${GEM_LIBDIR}/test/acceptance/expected_invocation_count_test.rb
${GEM_LIBDIR}/test/acceptance/failure_messages_test.rb
${GEM_LIBDIR}/test/acceptance/issue_272_test.rb
${GEM_LIBDIR}/test/acceptance/issue_457_test.rb
${GEM_LIBDIR}/test/acceptance/issue_65_test.rb
${GEM_LIBDIR}/test/acceptance/issue_70_test.rb
${GEM_LIBDIR}/test/acceptance/mocha_example_test.rb
${GEM_LIBDIR}/test/acceptance/mocha_test_result_test.rb
${GEM_LIBDIR}/test/acceptance/mock_built_with_first_argument_type_being_string_test.rb
${GEM_LIBDIR}/test/acceptance/mock_test.rb
${GEM_LIBDIR}/test/acceptance/mocked_methods_dispatch_test.rb
${GEM_LIBDIR}/test/acceptance/multiple_expectations_failure_message_test.rb
${GEM_LIBDIR}/test/acceptance/multiple_yielding_test.rb
${GEM_LIBDIR}/test/acceptance/optional_parameters_test.rb
${GEM_LIBDIR}/test/acceptance/parameter_matcher_test.rb
${GEM_LIBDIR}/test/acceptance/partial_mocks_test.rb
${GEM_LIBDIR}/test/acceptance/prepend_test.rb
${GEM_LIBDIR}/test/acceptance/prevent_use_of_mocha_outside_test_test.rb
${GEM_LIBDIR}/test/acceptance/raise_exception_test.rb
${GEM_LIBDIR}/test/acceptance/return_value_test.rb
${GEM_LIBDIR}/test/acceptance/sequence_test.rb
${GEM_LIBDIR}/test/acceptance/states_test.rb
${GEM_LIBDIR}/test/acceptance/stub_any_instance_method_defined_on_superclass_test.rb
${GEM_LIBDIR}/test/acceptance/stub_any_instance_method_test.rb
${GEM_LIBDIR}/test/acceptance/stub_class_method_defined_on_active_record_association_proxy_test.rb
${GEM_LIBDIR}/test/acceptance/stub_class_method_defined_on_class_test.rb
${GEM_LIBDIR}/test/acceptance/stub_class_method_defined_on_module_test.rb
${GEM_LIBDIR}/test/acceptance/stub_class_method_defined_on_superclass_test.rb
${GEM_LIBDIR}/test/acceptance/stub_everything_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_active_record_association_proxy_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_class_and_aliased_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_class_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_kernel_module_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_module_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_object_class_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_singleton_class_test.rb
${GEM_LIBDIR}/test/acceptance/stub_instance_method_defined_on_superclass_test.rb
${GEM_LIBDIR}/test/acceptance/stub_method_defined_on_module_and_aliased_test.rb
${GEM_LIBDIR}/test/acceptance/stub_module_method_test.rb
${GEM_LIBDIR}/test/acceptance/stub_test.rb
${GEM_LIBDIR}/test/acceptance/stubba_example_test.rb
${GEM_LIBDIR}/test/acceptance/stubba_test_result_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_error_backtrace_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_frozen_object_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_method_accepting_block_parameter_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_method_unnecessarily_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_nil_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_non_existent_any_instance_method_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_non_existent_class_method_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_non_existent_instance_method_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_non_public_any_instance_method_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_non_public_class_method_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_non_public_instance_method_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_on_non_mock_object_test.rb
${GEM_LIBDIR}/test/acceptance/stubbing_same_class_method_on_parent_and_child_classes_test.rb
${GEM_LIBDIR}/test/acceptance/throw_test.rb
${GEM_LIBDIR}/test/acceptance/unexpected_invocation_test.rb
${GEM_LIBDIR}/test/acceptance/unstubbing_test.rb
${GEM_LIBDIR}/test/acceptance/yielding_test.rb
${GEM_LIBDIR}/test/assertions.rb
${GEM_LIBDIR}/test/deprecation_disabler.rb
${GEM_LIBDIR}/test/execution_point.rb
${GEM_LIBDIR}/test/integration/mini_test_test.rb
${GEM_LIBDIR}/test/integration/shared_tests.rb
${GEM_LIBDIR}/test/integration/test_unit_test.rb
${GEM_LIBDIR}/test/method_definer.rb
${GEM_LIBDIR}/test/mini_test_result.rb
${GEM_LIBDIR}/test/minitest_result.rb
${GEM_LIBDIR}/test/simple_counter.rb
${GEM_LIBDIR}/test/test_helper.rb
${GEM_LIBDIR}/test/test_runner.rb
${GEM_LIBDIR}/test/test_unit_result.rb
${GEM_LIBDIR}/test/unit/any_instance_method_test.rb
${GEM_LIBDIR}/test/unit/array_inspect_test.rb
${GEM_LIBDIR}/test/unit/backtrace_filter_test.rb
${GEM_LIBDIR}/test/unit/cardinality_test.rb
${GEM_LIBDIR}/test/unit/central_test.rb
${GEM_LIBDIR}/test/unit/change_state_side_effect_test.rb
${GEM_LIBDIR}/test/unit/class_methods_test.rb
${GEM_LIBDIR}/test/unit/configuration_test.rb
${GEM_LIBDIR}/test/unit/date_time_inspect_test.rb
${GEM_LIBDIR}/test/unit/exception_raiser_test.rb
${GEM_LIBDIR}/test/unit/expectation_list_test.rb
${GEM_LIBDIR}/test/unit/expectation_test.rb
${GEM_LIBDIR}/test/unit/hash_inspect_test.rb
${GEM_LIBDIR}/test/unit/hooks_test.rb
${GEM_LIBDIR}/test/unit/in_state_ordering_constraint_test.rb
${GEM_LIBDIR}/test/unit/instance_method_test.rb
${GEM_LIBDIR}/test/unit/method_matcher_test.rb
${GEM_LIBDIR}/test/unit/mock_test.rb
${GEM_LIBDIR}/test/unit/mockery_test.rb
${GEM_LIBDIR}/test/unit/module_methods_test.rb
${GEM_LIBDIR}/test/unit/object_inspect_test.rb
${GEM_LIBDIR}/test/unit/object_methods_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/all_of_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/any_of_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/anything_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/equals_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/equivalent_uri_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/has_entries_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/has_entry_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/has_key_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/has_value_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/includes_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/instance_of_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/is_a_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/kind_of_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/not_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/regexp_matches_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/responds_with_test.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/stub_matcher.rb
${GEM_LIBDIR}/test/unit/parameter_matchers/yaml_equivalent_test.rb
${GEM_LIBDIR}/test/unit/parameters_matcher_test.rb
${GEM_LIBDIR}/test/unit/receivers_test.rb
${GEM_LIBDIR}/test/unit/return_values_test.rb
${GEM_LIBDIR}/test/unit/sequence_test.rb
${GEM_LIBDIR}/test/unit/single_return_value_test.rb
${GEM_LIBDIR}/test/unit/state_machine_test.rb
${GEM_LIBDIR}/test/unit/string_inspect_test.rb
${GEM_LIBDIR}/test/unit/thrower_test.rb
${GEM_LIBDIR}/test/unit/yield_parameters_test.rb
${GEM_LIBDIR}/yard-templates/default/layout/html/google_analytics.erb
${GEM_LIBDIR}/yard-templates/default/layout/html/setup.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
10 changes: 5 additions & 5 deletions devel/ruby-mocha/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.28 2020/01/16 15:37:57 taca Exp $
$NetBSD: distinfo,v 1.29 2021/01/10 15:15:39 taca Exp $

SHA1 (mocha-1.11.2.gem) = 5080512f6d83c32c45a2d0d09f5ebb3c0fc9aacc
RMD160 (mocha-1.11.2.gem) = d2dfb31db449047ee1a4682a8c4514b08d689448
SHA512 (mocha-1.11.2.gem) = 8408d7b4c4d979caebabb75b1b870e6473fb0a5abe6055bdf7b4c4679b92c963138ec9a2947e60b9741a2cb50ea7ddfe949544dc4b0bdac22242b2a7eb5fd54d
Size (mocha-1.11.2.gem) = 242688 bytes
SHA1 (mocha-1.12.0.gem) = a2f662a9265b938093ad839b26826364f3278033
RMD160 (mocha-1.12.0.gem) = 8e55cbae7b20118dca53d1ee1052f9b55ea09a4b
SHA512 (mocha-1.12.0.gem) = d572907a9e1cc431e1e2882ee78d7d273d23e16c3461bed51833e7bfb9b0ef8b225c4bc0d5559f390fa6ea190cb3e57d58de9178d205155574253ba6f5b40931
Size (mocha-1.12.0.gem) = 69120 bytes

0 comments on commit 375808d

Please sign in to comment.