From cee0bad637b43d7c6548b1d70f94f9db9b12f034 Mon Sep 17 00:00:00 2001 From: James Mead Date: Sat, 11 Nov 2023 14:22:46 +0000 Subject: [PATCH] [skip ci] Update docs to fix those for Mock#method_missing --- docs/CNAME | 1 - docs/Mocha.html | 2 +- docs/Mocha/API.html | 2 +- docs/Mocha/ClassMethods.html | 2 +- docs/Mocha/Configuration.html | 2 +- docs/Mocha/Expectation.html | 2 +- docs/Mocha/ExpectationError.html | 2 +- docs/Mocha/ExpectationErrorFactory.html | 2 +- docs/Mocha/Hooks.html | 2 +- docs/Mocha/Integration.html | 2 +- docs/Mocha/Integration/MiniTest.html | 2 +- docs/Mocha/Integration/MiniTest/Adapter.html | 2 +- docs/Mocha/Integration/TestUnit.html | 2 +- docs/Mocha/Integration/TestUnit/Adapter.html | 2 +- docs/Mocha/Mock.html | 25 ++++---------- docs/Mocha/ObjectMethods.html | 2 +- docs/Mocha/ParameterMatchers.html | 2 +- docs/Mocha/ParameterMatchers/AllOf.html | 2 +- docs/Mocha/ParameterMatchers/AnyOf.html | 2 +- .../ParameterMatchers/AnyParameters.html | 2 +- docs/Mocha/ParameterMatchers/Anything.html | 2 +- docs/Mocha/ParameterMatchers/Base.html | 2 +- docs/Mocha/ParameterMatchers/Equals.html | 2 +- .../ParameterMatchers/EquivalentUri.html | 2 +- docs/Mocha/ParameterMatchers/HasEntries.html | 2 +- docs/Mocha/ParameterMatchers/HasEntry.html | 2 +- docs/Mocha/ParameterMatchers/HasKey.html | 2 +- docs/Mocha/ParameterMatchers/HasKeys.html | 2 +- docs/Mocha/ParameterMatchers/HasValue.html | 2 +- docs/Mocha/ParameterMatchers/Includes.html | 2 +- docs/Mocha/ParameterMatchers/InstanceOf.html | 2 +- docs/Mocha/ParameterMatchers/IsA.html | 2 +- docs/Mocha/ParameterMatchers/KindOf.html | 2 +- docs/Mocha/ParameterMatchers/Not.html | 2 +- docs/Mocha/ParameterMatchers/Optionally.html | 2 +- .../ParameterMatchers/RegexpMatches.html | 2 +- .../Mocha/ParameterMatchers/RespondsWith.html | 2 +- .../ParameterMatchers/YamlEquivalent.html | 2 +- docs/Mocha/Sequence.html | 2 +- docs/Mocha/StateMachine.html | 2 +- docs/Mocha/StateMachine/State.html | 2 +- docs/Mocha/StateMachine/StatePredicate.html | 2 +- docs/Mocha/StubbingError.html | 2 +- docs/_index.html | 2 +- docs/file.COPYING.html | 2 +- docs/file.MIT-LICENSE.html | 2 +- docs/file.README.html | 2 +- docs/file.RELEASE.html | 2 +- docs/index.html | 2 +- docs/js/app.js | 34 +++---------------- docs/js/jquery.js | 7 ++-- docs/top-level-namespace.html | 2 +- 52 files changed, 63 insertions(+), 100 deletions(-) delete mode 100644 docs/CNAME diff --git a/docs/CNAME b/docs/CNAME deleted file mode 100644 index 1b812545b..000000000 --- a/docs/CNAME +++ /dev/null @@ -1 +0,0 @@ -mocha.jamesmead.org diff --git a/docs/Mocha.html b/docs/Mocha.html index 076da00c2..f9d386ec8 100644 --- a/docs/Mocha.html +++ b/docs/Mocha.html @@ -236,7 +236,7 @@

diff --git a/docs/Mocha/API.html b/docs/Mocha/API.html index 14d0b53ec..3cfc2ab17 100644 --- a/docs/Mocha/API.html +++ b/docs/Mocha/API.html @@ -1163,7 +1163,7 @@

diff --git a/docs/Mocha/ClassMethods.html b/docs/Mocha/ClassMethods.html index f5dcfc84d..339d7adf9 100644 --- a/docs/Mocha/ClassMethods.html +++ b/docs/Mocha/ClassMethods.html @@ -246,7 +246,7 @@

diff --git a/docs/Mocha/Configuration.html b/docs/Mocha/Configuration.html index 93b94df51..a0f93933d 100644 --- a/docs/Mocha/Configuration.html +++ b/docs/Mocha/Configuration.html @@ -1085,7 +1085,7 @@

diff --git a/docs/Mocha/Expectation.html b/docs/Mocha/Expectation.html index e11d45974..8e1a40cae 100644 --- a/docs/Mocha/Expectation.html +++ b/docs/Mocha/Expectation.html @@ -2903,7 +2903,7 @@

diff --git a/docs/Mocha/ExpectationError.html b/docs/Mocha/ExpectationError.html index 5110a61df..de4030b15 100644 --- a/docs/Mocha/ExpectationError.html +++ b/docs/Mocha/ExpectationError.html @@ -134,7 +134,7 @@

Overview

diff --git a/docs/Mocha/ExpectationErrorFactory.html b/docs/Mocha/ExpectationErrorFactory.html index a43e049d6..c71520c3f 100644 --- a/docs/Mocha/ExpectationErrorFactory.html +++ b/docs/Mocha/ExpectationErrorFactory.html @@ -242,7 +242,7 @@

diff --git a/docs/Mocha/Hooks.html b/docs/Mocha/Hooks.html index 268803afe..8ade00b6c 100644 --- a/docs/Mocha/Hooks.html +++ b/docs/Mocha/Hooks.html @@ -352,7 +352,7 @@

diff --git a/docs/Mocha/Integration.html b/docs/Mocha/Integration.html index 2659ba5e3..e8b5af487 100644 --- a/docs/Mocha/Integration.html +++ b/docs/Mocha/Integration.html @@ -107,7 +107,7 @@

Defined Under Namespace

diff --git a/docs/Mocha/Integration/MiniTest.html b/docs/Mocha/Integration/MiniTest.html index a168b8edb..c33a1a8d2 100644 --- a/docs/Mocha/Integration/MiniTest.html +++ b/docs/Mocha/Integration/MiniTest.html @@ -105,7 +105,7 @@

Defined Under Namespace

diff --git a/docs/Mocha/Integration/MiniTest/Adapter.html b/docs/Mocha/Integration/MiniTest/Adapter.html index c6d3bc9aa..340c40231 100644 --- a/docs/Mocha/Integration/MiniTest/Adapter.html +++ b/docs/Mocha/Integration/MiniTest/Adapter.html @@ -146,7 +146,7 @@

Methods included from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/Integration/TestUnit.html b/docs/Mocha/Integration/TestUnit.html index 78dee082d..55f5ffa9a 100644 --- a/docs/Mocha/Integration/TestUnit.html +++ b/docs/Mocha/Integration/TestUnit.html @@ -105,7 +105,7 @@

Defined Under Namespace

diff --git a/docs/Mocha/Integration/TestUnit/Adapter.html b/docs/Mocha/Integration/TestUnit/Adapter.html index 763a29dd6..4d75c6afb 100644 --- a/docs/Mocha/Integration/TestUnit/Adapter.html +++ b/docs/Mocha/Integration/TestUnit/Adapter.html @@ -146,7 +146,7 @@

Methods included from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/Mock.html b/docs/Mocha/Mock.html index c52816cd1..a9e8918e7 100644 --- a/docs/Mocha/Mock.html +++ b/docs/Mocha/Mock.html @@ -312,32 +312,21 @@

-

-
- -

rubocop:disable Style/MethodMissingSuper

- - -
-
-
- - -
+
@@ -1123,7 +1112,7 @@

diff --git a/docs/Mocha/ObjectMethods.html b/docs/Mocha/ObjectMethods.html index aaac854d6..27029df81 100644 --- a/docs/Mocha/ObjectMethods.html +++ b/docs/Mocha/ObjectMethods.html @@ -747,7 +747,7 @@

diff --git a/docs/Mocha/ParameterMatchers.html b/docs/Mocha/ParameterMatchers.html index b6a7b5d1c..a5453c240 100644 --- a/docs/Mocha/ParameterMatchers.html +++ b/docs/Mocha/ParameterMatchers.html @@ -3046,7 +3046,7 @@

diff --git a/docs/Mocha/ParameterMatchers/AllOf.html b/docs/Mocha/ParameterMatchers/AllOf.html index a98d04a49..60c14f3d2 100644 --- a/docs/Mocha/ParameterMatchers/AllOf.html +++ b/docs/Mocha/ParameterMatchers/AllOf.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/AnyOf.html b/docs/Mocha/ParameterMatchers/AnyOf.html index d525ca553..b33539d07 100644 --- a/docs/Mocha/ParameterMatchers/AnyOf.html +++ b/docs/Mocha/ParameterMatchers/AnyOf.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/AnyParameters.html b/docs/Mocha/ParameterMatchers/AnyParameters.html index 1598310fa..449a82b8d 100644 --- a/docs/Mocha/ParameterMatchers/AnyParameters.html +++ b/docs/Mocha/ParameterMatchers/AnyParameters.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/Anything.html b/docs/Mocha/ParameterMatchers/Anything.html index 5ea273dd4..4c8432437 100644 --- a/docs/Mocha/ParameterMatchers/Anything.html +++ b/docs/Mocha/ParameterMatchers/Anything.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/Base.html b/docs/Mocha/ParameterMatchers/Base.html index 0f35b231c..592d34aa0 100644 --- a/docs/Mocha/ParameterMatchers/Base.html +++ b/docs/Mocha/ParameterMatchers/Base.html @@ -423,7 +423,7 @@

diff --git a/docs/Mocha/ParameterMatchers/Equals.html b/docs/Mocha/ParameterMatchers/Equals.html index 533ff84c3..e102fdf28 100644 --- a/docs/Mocha/ParameterMatchers/Equals.html +++ b/docs/Mocha/ParameterMatchers/Equals.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/EquivalentUri.html b/docs/Mocha/ParameterMatchers/EquivalentUri.html index 35d47b214..948780e97 100644 --- a/docs/Mocha/ParameterMatchers/EquivalentUri.html +++ b/docs/Mocha/ParameterMatchers/EquivalentUri.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/HasEntries.html b/docs/Mocha/ParameterMatchers/HasEntries.html index fe6b0e95a..feb6b5b32 100644 --- a/docs/Mocha/ParameterMatchers/HasEntries.html +++ b/docs/Mocha/ParameterMatchers/HasEntries.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/HasEntry.html b/docs/Mocha/ParameterMatchers/HasEntry.html index 691ea785f..f2125bc3c 100644 --- a/docs/Mocha/ParameterMatchers/HasEntry.html +++ b/docs/Mocha/ParameterMatchers/HasEntry.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/HasKey.html b/docs/Mocha/ParameterMatchers/HasKey.html index 44a87e22d..71bed4780 100644 --- a/docs/Mocha/ParameterMatchers/HasKey.html +++ b/docs/Mocha/ParameterMatchers/HasKey.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/HasKeys.html b/docs/Mocha/ParameterMatchers/HasKeys.html index 3d8db168c..512c15c7f 100644 --- a/docs/Mocha/ParameterMatchers/HasKeys.html +++ b/docs/Mocha/ParameterMatchers/HasKeys.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/HasValue.html b/docs/Mocha/ParameterMatchers/HasValue.html index c573871e9..2662eec74 100644 --- a/docs/Mocha/ParameterMatchers/HasValue.html +++ b/docs/Mocha/ParameterMatchers/HasValue.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/Includes.html b/docs/Mocha/ParameterMatchers/Includes.html index 651fba578..8641c9a17 100644 --- a/docs/Mocha/ParameterMatchers/Includes.html +++ b/docs/Mocha/ParameterMatchers/Includes.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/InstanceOf.html b/docs/Mocha/ParameterMatchers/InstanceOf.html index 44535b833..fe519b684 100644 --- a/docs/Mocha/ParameterMatchers/InstanceOf.html +++ b/docs/Mocha/ParameterMatchers/InstanceOf.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/IsA.html b/docs/Mocha/ParameterMatchers/IsA.html index 972f1f262..fb466b252 100644 --- a/docs/Mocha/ParameterMatchers/IsA.html +++ b/docs/Mocha/ParameterMatchers/IsA.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/KindOf.html b/docs/Mocha/ParameterMatchers/KindOf.html index 0633bf3c2..a504b1863 100644 --- a/docs/Mocha/ParameterMatchers/KindOf.html +++ b/docs/Mocha/ParameterMatchers/KindOf.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/Not.html b/docs/Mocha/ParameterMatchers/Not.html index 25e27b089..adb2b3674 100644 --- a/docs/Mocha/ParameterMatchers/Not.html +++ b/docs/Mocha/ParameterMatchers/Not.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/Optionally.html b/docs/Mocha/ParameterMatchers/Optionally.html index eea1075bc..4d1153168 100644 --- a/docs/Mocha/ParameterMatchers/Optionally.html +++ b/docs/Mocha/ParameterMatchers/Optionally.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/RegexpMatches.html b/docs/Mocha/ParameterMatchers/RegexpMatches.html index e49e9d17e..9b695d82b 100644 --- a/docs/Mocha/ParameterMatchers/RegexpMatches.html +++ b/docs/Mocha/ParameterMatchers/RegexpMatches.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/RespondsWith.html b/docs/Mocha/ParameterMatchers/RespondsWith.html index fb643292e..ef41f8499 100644 --- a/docs/Mocha/ParameterMatchers/RespondsWith.html +++ b/docs/Mocha/ParameterMatchers/RespondsWith.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/ParameterMatchers/YamlEquivalent.html b/docs/Mocha/ParameterMatchers/YamlEquivalent.html index 788472ad5..7bd85dd1f 100644 --- a/docs/Mocha/ParameterMatchers/YamlEquivalent.html +++ b/docs/Mocha/ParameterMatchers/YamlEquivalent.html @@ -135,7 +135,7 @@

Methods inherited from - Generated on Thu Jul 27 11:47:44 2023 by + Generated on Sat Nov 11 14:17:31 2023 by yard 0.9.34 (ruby-3.2.0). diff --git a/docs/Mocha/Sequence.html b/docs/Mocha/Sequence.html index ac2856282..144511a56 100644 --- a/docs/Mocha/Sequence.html +++ b/docs/Mocha/Sequence.html @@ -131,7 +131,7 @@

Overview

diff --git a/docs/Mocha/StateMachine.html b/docs/Mocha/StateMachine.html index f15b095ff..e54660ca4 100644 --- a/docs/Mocha/StateMachine.html +++ b/docs/Mocha/StateMachine.html @@ -664,7 +664,7 @@

diff --git a/docs/Mocha/StateMachine/State.html b/docs/Mocha/StateMachine/State.html index e7a3e5e33..01c50a957 100644 --- a/docs/Mocha/StateMachine/State.html +++ b/docs/Mocha/StateMachine/State.html @@ -130,7 +130,7 @@

Overview

diff --git a/docs/Mocha/StateMachine/StatePredicate.html b/docs/Mocha/StateMachine/StatePredicate.html index 376419f3b..fd70520ea 100644 --- a/docs/Mocha/StateMachine/StatePredicate.html +++ b/docs/Mocha/StateMachine/StatePredicate.html @@ -126,7 +126,7 @@

Direct Known Subclasses

diff --git a/docs/Mocha/StubbingError.html b/docs/Mocha/StubbingError.html index d78eedda5..543811d45 100644 --- a/docs/Mocha/StubbingError.html +++ b/docs/Mocha/StubbingError.html @@ -132,7 +132,7 @@

Overview

diff --git a/docs/_index.html b/docs/_index.html index 4ad6b1177..2b14b62df 100644 --- a/docs/_index.html +++ b/docs/_index.html @@ -508,7 +508,7 @@

Namespace Listing A-Z

diff --git a/docs/file.COPYING.html b/docs/file.COPYING.html index f5e819b25..7f002228e 100644 --- a/docs/file.COPYING.html +++ b/docs/file.COPYING.html @@ -63,7 +63,7 @@ diff --git a/docs/file.MIT-LICENSE.html b/docs/file.MIT-LICENSE.html index bae274ae5..c8d04facc 100644 --- a/docs/file.MIT-LICENSE.html +++ b/docs/file.MIT-LICENSE.html @@ -67,7 +67,7 @@ diff --git a/docs/file.README.html b/docs/file.README.html index 9ced09446..4d1c19a6d 100644 --- a/docs/file.README.html +++ b/docs/file.README.html @@ -436,7 +436,7 @@

License

diff --git a/docs/file.RELEASE.html b/docs/file.RELEASE.html index 01507c9d6..312471efd 100644 --- a/docs/file.RELEASE.html +++ b/docs/file.RELEASE.html @@ -1246,7 +1246,7 @@

0.1.1

diff --git a/docs/index.html b/docs/index.html index 55f94199c..79749dcbb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -436,7 +436,7 @@

License

diff --git a/docs/js/app.js b/docs/js/app.js index 663724447..8d067fe30 100644 --- a/docs/js/app.js +++ b/docs/js/app.js @@ -4,36 +4,10 @@ var localStorage = {}, sessionStorage = {}; try { localStorage = window.localStorage; } catch (e) { } try { sessionStorage = window.sessionStorage; } catch (e) { } -jQuery.fn.oldToggle = function( fn, fn2 ) { - // Save reference to arguments for access in closure - var args = arguments, - guid = fn.guid || jQuery.guid++, - i = 0, - toggler = function( event ) { - // Figure out which function to execute - var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i; - jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 ); - - // Make sure that clicks stop - event.preventDefault(); - - // and execute the function - return args[ lastToggle ].apply( this, arguments ) || false; - }; - - // link all the functions, so any of them can unbind this click handler - toggler.guid = guid; - while ( i < args.length ) { - args[ i++ ].guid = guid; - } - - return this.click( toggler ); -}; - function createSourceLinks() { $('.method_details_list .source_code'). before("[View source]"); - $('.toggleSource').oldToggle(function() { + $('.toggleSource').toggle(function() { $(this).parent().nextAll('.source_code').slideDown(100); $(this).text("Hide source"); }, @@ -46,7 +20,7 @@ function createSourceLinks() { function createDefineLinks() { var tHeight = 0; $('.defines').after(" more..."); - $('.toggleDefines').oldToggle(function() { + $('.toggleDefines').toggle(function() { tHeight = $(this).parent().prev().height(); $(this).prev().css('display', 'inline'); $(this).parent().prev().height($(this).parent().height()); @@ -61,7 +35,7 @@ function createDefineLinks() { function createFullTreeLinks() { var tHeight = 0; - $('.inheritanceTree').oldToggle(function() { + $('.inheritanceTree').toggle(function() { tHeight = $(this).parent().prev().height(); $(this).parent().toggleClass('showAll'); $(this).text("(hide)"); @@ -242,7 +216,7 @@ function generateTOC() { html = ''; $('#content').prepend(html); $('#toc').append(_toc); - $('#toc .hide_toc').oldToggle(function() { + $('#toc .hide_toc').toggle(function() { $('#toc .top').slideUp('fast'); $('#toc').toggleClass('hidden'); $('#toc .title small').toggle(); diff --git a/docs/js/jquery.js b/docs/js/jquery.js index 141f7b07a..198b3ff07 100644 --- a/docs/js/jquery.js +++ b/docs/js/jquery.js @@ -1,3 +1,4 @@ -/*! jQuery v1.9.0 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */(function(e,t){"use strict";function n(e){var t=e.length,n=st.type(e);return st.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Tt[e]={};return st.each(e.match(lt)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(st.acceptData(e)){var o,a,s=st.expando,u="string"==typeof n,l=e.nodeType,c=l?st.cache:e,f=l?e[s]:e[s]&&s;if(f&&c[f]&&(i||c[f].data)||!u||r!==t)return f||(l?e[s]=f=K.pop()||st.guid++:f=s),c[f]||(c[f]={},l||(c[f].toJSON=st.noop)),("object"==typeof n||"function"==typeof n)&&(i?c[f]=st.extend(c[f],n):c[f].data=st.extend(c[f].data,n)),o=c[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[st.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[st.camelCase(n)])):a=o,a}}function o(e,t,n){if(st.acceptData(e)){var r,i,o,a=e.nodeType,u=a?st.cache:e,l=a?e[st.expando]:st.expando;if(u[l]){if(t&&(r=n?u[l]:u[l].data)){st.isArray(t)?t=t.concat(st.map(t,st.camelCase)):t in r?t=[t]:(t=st.camelCase(t),t=t in r?[t]:t.split(" "));for(i=0,o=t.length;o>i;i++)delete r[t[i]];if(!(n?s:st.isEmptyObject)(r))return}(n||(delete u[l].data,s(u[l])))&&(a?st.cleanData([e],!0):st.support.deleteExpando||u!=u.window?delete u[l]:u[l]=null)}}}function a(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(Nt,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:wt.test(r)?st.parseJSON(r):r}catch(o){}st.data(e,n,r)}else r=t}return r}function s(e){var t;for(t in e)if(("data"!==t||!st.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function u(){return!0}function l(){return!1}function c(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function f(e,t,n){if(t=t||0,st.isFunction(t))return st.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return st.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=st.grep(e,function(e){return 1===e.nodeType});if(Wt.test(t))return st.filter(t,r,!n);t=st.filter(t,r)}return st.grep(e,function(e){return st.inArray(e,t)>=0===n})}function p(e){var t=zt.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function d(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function h(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function g(e){var t=nn.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function m(e,t){for(var n,r=0;null!=(n=e[r]);r++)st._data(n,"globalEval",!t||st._data(t[r],"globalEval"))}function y(e,t){if(1===t.nodeType&&st.hasData(e)){var n,r,i,o=st._data(e),a=st._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)st.event.add(t,n,s[n][r])}a.data&&(a.data=st.extend({},a.data))}}function v(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!st.support.noCloneEvent&&t[st.expando]){r=st._data(t);for(i in r.events)st.removeEvent(t,i,r.handle);t.removeAttribute(st.expando)}"script"===n&&t.text!==e.text?(h(t).text=e.text,g(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),st.support.html5Clone&&e.innerHTML&&!st.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Zt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function b(e,n){var r,i,o=0,a=e.getElementsByTagName!==t?e.getElementsByTagName(n||"*"):e.querySelectorAll!==t?e.querySelectorAll(n||"*"):t;if(!a)for(a=[],r=e.childNodes||e;null!=(i=r[o]);o++)!n||st.nodeName(i,n)?a.push(i):st.merge(a,b(i,n));return n===t||n&&st.nodeName(e,n)?st.merge([e],a):a}function x(e){Zt.test(e.type)&&(e.defaultChecked=e.checked)}function T(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Nn.length;i--;)if(t=Nn[i]+n,t in e)return t;return r}function w(e,t){return e=t||e,"none"===st.css(e,"display")||!st.contains(e.ownerDocument,e)}function N(e,t){for(var n,r=[],i=0,o=e.length;o>i;i++)n=e[i],n.style&&(r[i]=st._data(n,"olddisplay"),t?(r[i]||"none"!==n.style.display||(n.style.display=""),""===n.style.display&&w(n)&&(r[i]=st._data(n,"olddisplay",S(n.nodeName)))):r[i]||w(n)||st._data(n,"olddisplay",st.css(n,"display")));for(i=0;o>i;i++)n=e[i],n.style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?r[i]||"":"none"));return e}function C(e,t,n){var r=mn.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function k(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=st.css(e,n+wn[o],!0,i)),r?("content"===n&&(a-=st.css(e,"padding"+wn[o],!0,i)),"margin"!==n&&(a-=st.css(e,"border"+wn[o]+"Width",!0,i))):(a+=st.css(e,"padding"+wn[o],!0,i),"padding"!==n&&(a+=st.css(e,"border"+wn[o]+"Width",!0,i)));return a}function E(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ln(e),a=st.support.boxSizing&&"border-box"===st.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=un(e,t,o),(0>i||null==i)&&(i=e.style[t]),yn.test(i))return i;r=a&&(st.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+k(e,t,n||(a?"border":"content"),r,o)+"px"}function S(e){var t=V,n=bn[e];return n||(n=A(e,t),"none"!==n&&n||(cn=(cn||st("

 
 
+312
 313
-314
-315
+314
-
# File 'lib/mocha/mock.rb', line 313
+      
# File 'lib/mocha/mock.rb', line 312
 
-def method_missing(symbol, *arguments, &block)
-  handle_method_call(symbol, arguments, block)
+def method_missing(symbol, *arguments, &block) # rubocop:disable Style/MethodMissingSuper
+  handle_method_call(symbol, arguments, block)
 end