CINXE.COM
RubyGems - mocha - Versions diffs - 2.4.5 → 2.5.0 - Mend - Supply Chain Defender
<!DOCTYPE html> <html> <head> <title> RubyGems - mocha - Versions diffs - 2.4.5 → 2.5.0 - Mend - Supply Chain Defender </title> <link rel="icon" type="image/png" href="/packs/media/images/production/favicons/favicon-32x32-fa0286238d4d512e71dba3881cbbcc42.png" /> <link rel="mask-icon" type="image/x-icon" href="/packs/media/images/production/favicons/favicon-786db6a85c0dea068c1a7047338024d2.svg" /> <link rel="apple-touch-icon" type="image/png" href="/packs/media/images/production/favicons/apple-touch-icon-11491aa2351c88b3b48534d1576a2ff9.png" /> <link rel="shortcut icon" type="image/x-icon" href="/packs/media/images/production/favicons/favicon-81c62e5500c39bd10e99844e94455995.ico" /> <meta name="csrf-param" content="authenticity_token" /> <meta name="csrf-token" content="EDItC663MqxqAZn6W3VicyQmwl2G7wdlxWrcrMpHItN2vkwKQREFAZrdpdvIJXaFZDQ9ziLLvbsS2F8LRZ20Eg" /> <meta content='no-cache' name='turbolinks-cache-control'> <meta content='width=device-width, initial-scale=1' name='viewport'> <link rel="stylesheet" href="/packs/css/application-b44eb75784afb1e9f8ce.css" media="all" /> <script src="/packs/js/application-9f130b109122a7b55e22.js" data-turbolinks-track="reload"></script> <link href='https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i' rel='stylesheet'> </head> <body class='registries ruby_gems diffs' id='page-top'> <div id='wrapper'> <div class='d-flex flex-column' id='content-wrapper'> <div id='content'> <nav class='navbar navbar-expand navbar-light bg-white topbar mb-4 shadow'> <a class='sidebar-brand d-flex align-items-center justify-content-center' href='/'> <div class='sidebar-brand-text mx-3 d-none d-xxl-block d-xl-block'> <img alt="Diffend" src="/packs/media/images/production/logos/vertical-dark-5363ad390f9fcfd11bfecf89a3fb60f1.svg" /> </div> </a> <div class='container'> <ul class='navbar-nav'> <li class='nav-item'> <a class='nav-link' href='/gems'> <span class='mr-2 d-none d-lg-inline text-gray-600'> RubyGems </span> </a> </li> <li class='nav-item'> <a class='nav-link' href='/npm'> <span class='mr-2 d-none d-lg-inline text-gray-600'> npm </span> </a> </li> <div class='topbar-divider d-sm-block'></div> <li class='nav-item'> <a class='nav-link' href='/organizations'> <span class='mr-2 d-none d-lg-inline text-gray-600'> Organizations </span> </a> </li> </ul> <ul class='navbar-nav'> <div class='topbar-divider d-none d-sm-block'></div> <li class='nav-item'> <a class='nav-link' href='/users/sign_in'> <span class='mr-2 d-none d-lg-inline text-gray-600'> <i class='fas fa-key fa-fw mr-2'></i> Log in </span> </a> </li> <li class='nav-item'> <a class='nav-link' href='/users/sign_up'> <span class='mr-2 d-none d-lg-inline text-gray-600'> <i class='fas fa-user-plus fa-fw mr-2'></i> Sign up </span> </a> </li> </ul> </div> </nav> <div class='container'> <div class='row'> <div class='col mb-1'> <nav> <ol class='breadcrumb'> <li class='breadcrumb-item'> <a href="/gems">RubyGems</a> </li> <li class='breadcrumb-item'> <a href="/gems/mocha">mocha</a> </li> <li class='breadcrumb-item'> <a href="/gems/mocha">Versions diffs</a> </li> <li class='breadcrumb-item'> <a href="/gems/mocha/2.4.5/2.5.0">2.4.5 → 2.5.0</a> </li> </ol> </nav> </div> </div> <div class='row'> <div class='col'> <div class='text-right mb-4'> </div> </div> </div> <div class='row'> <div class='col align-items-center mb-4'> <div class='text-center'> <h2 class='text-gray-800'> mocha 2.4.5 → 2.5.0 </h2> </div> </div> </div> <div data-diff-id='b59a36ba-f321-4eb9-85ff-927b72f18a79' data-diff-state='finished' id='diff-id'> <div class='row'> <div class='col pt-2 text-black'> <div class='row'> <div class='col-lg-12 mb-4 mt-2'> <div class='card bg-info text-white shadow'> <div class='card-body'> <span class='icon text-white-100 mr-2'> <i class='fas fa-info-circle'></i> </span> Sign up to get <strong>free</strong> protection for your applications and to get access to all the features. </div> </div> </div> </div> <div id='diff'> <div class='mb-3'> <div class="d2h-file-list-wrapper"> <div class="d2h-file-list-header"> <span class="d2h-file-list-title">Files changed (9)</span> <a class="d2h-file-switch d2h-hide">hide</a> <a class="d2h-file-switch d2h-show">show</a> </div> <ol class="d2h-file-list"> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-683205" class="d2h-file-name">checksums.yaml</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+4</span> <span class="d2h-lines-deleted">-4</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-063738" class="d2h-file-name">data/Gemfile</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+2</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-027470" class="d2h-file-name">data/README.md</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-7</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-527805" class="d2h-file-name">data/RELEASE.md</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+77</span> <span class="d2h-lines-deleted">-0</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-849984" class="d2h-file-name">data/lib/mocha/mockery.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+5</span> <span class="d2h-lines-deleted">-5</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-786937" class="d2h-file-name">data/lib/mocha/ruby_version.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-0</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-931638" class="d2h-file-name">data/lib/mocha/version.rb</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+1</span> <span class="d2h-lines-deleted">-1</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-323343" class="d2h-file-name">data/mocha.gemspec</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+8</span> <span class="d2h-lines-deleted">-0</span> </span> </span> </li> <li class="d2h-file-list-line"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon d2h-changed" height="16" title="modified" version="1.1" viewBox="0 0 14 16" width="14"> <path d="M13 1H1C0.45 1 0 1.45 0 2v12c0 0.55 0.45 1 1 1h12c0.55 0 1-0.45 1-1V2c0-0.55-0.45-1-1-1z m0 13H1V2h12v12zM4 8c0-1.66 1.34-3 3-3s3 1.34 3 3-1.34 3-3 3-3-1.34-3-3z"></path> </svg> <a href="/gems/mocha/2.4.5/2.5.0/page/1#d2h-004177" class="d2h-file-name">metadata</a> <span class="d2h-file-stats"> <span class="d2h-lines-added">+9</span> <span class="d2h-lines-deleted">-3</span> </span> </span> </li> </ol> </div> </div> <div id="d2h-683205" class="d2h-file-wrapper" data-lang="yaml"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-683205">checksums.yaml</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,7 +1,7 @@</div> </td> </tr><tr> <td id="d2h-683205-23" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-683205-23"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">---</span> </div> </td> </tr><tr> <td id="d2h-683205-34" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-683205-34"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">SHA256:</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">3</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> metadata.gz: <del>ecd327fa9f38f70ce2c055060703fe7e946da3a435d858e3f7a4dfc84cf1869b</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">4</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> data.tar.gz: <del>aa3f71bdd6b8934e9a6f02361daad1b304f88b33362c77511c1f2810becf255e</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> metadata.gz: <ins>e6e1cd848b633850f0774eb601a31b7c574658eaa1be031443a235410e73ef83</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">4</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> data.tar.gz: <ins>67f6af8a50e7f0cbc294367eb04696e6f40a04d44c432b17cb9c534b006a6a65</ins></span> </div> </td> </tr><tr> <td id="d2h-683205-89" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-683205-89"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">SHA512:</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">6</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> metadata.gz: <del>ed7c31bf9f39294a89338718f7139c4ce23883b18b628aa02c8e1ea585a244ed77e6e322db1352431f6d3fd29b01de0f1e39acf2164209633ad62fd18f8d919c</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">7</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> data.tar.gz: <del>e1380ad00c76d152ca14865f02a9019f4c83e36ff8433182b164ae308b46319859e80a7583b7dd7f8c0269b4da4a36b5f5bd1af6a8404e8870df010bf0ea917a</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">6</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> metadata.gz: <ins>5508f0dce73db625638223279e9a51215fabbbaed47bd911c1a8359c81efad57aa32f7c3b672ad6b900e1848a4a31335102c3113319855f08a91997d85466264</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">7</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> data.tar.gz: <ins>37c2d7c0b5eaf2650a47a83b431e2c437f30f9b6bc0b902133b4d238e11b15daa3c005c738098bf326e3bb0a38ef82376923f8ef0e6f892e8a180c6b04038729</ins></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-063738" class="d2h-file-wrapper" data-lang=""> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-063738">data/Gemfile</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -22,7 +22,8 @@ if RUBY_VERSION >= '2.2.0'</div> </td> </tr><tr> <td id="d2h-063738-171" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-063738-171"> <div class="line-num1">22</div> <div class="line-num2">22</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> gem 'minitest'</span> </div> </td> </tr><tr> <td id="d2h-063738-182" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-063738-182"> <div class="line-num1">23</div> <div class="line-num2">23</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr><tr> <td id="d2h-063738-193" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-063738-193"> <div class="line-num1">24</div> <div class="line-num2">24</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">if RUBY_VERSION >= '2.2.0'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">25</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> gem '<del>rubocop</del>', '<del><=</del> <del>0</del>.<del>58</del>.<del>2</del>'</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">25</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> gem '<ins>jaro_winkler</ins>', '<ins>>=</ins> <ins>1</ins>.<ins>5</ins>.<ins>5</ins>'</span> </div> </td> </tr><tr> <td id="d2h-063738-226" class="d2h-code-linenumber d2h-ins"><a href="#d2h-063738-226"> <div class="line-num1"></div> <div class="line-num2">26</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> gem 'rubocop', '> 0.56', '<= 0.58.2'</span> </div> </td> </tr><tr> <td id="d2h-063738-237" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-063738-237"> <div class="line-num1">26</div> <div class="line-num2">27</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr><tr> <td id="d2h-063738-248" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-063738-248"> <div class="line-num1">27</div> <div class="line-num2">28</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">if ENV['MOCHA_GENERATE_DOCS']</span> </div> </td> </tr><tr> <td id="d2h-063738-259" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-063738-259"> <div class="line-num1">28</div> <div class="line-num2">29</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> gem 'redcarpet'</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-027470" class="d2h-file-wrapper" data-lang="md"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-027470">data/README.md</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -121,13 +121,7 @@ Follow the instructions for the relevant test framework in the [Bundler](#bundle</div> </td> </tr><tr> <td id="d2h-027470-297" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-297"> <div class="line-num1">121</div> <div class="line-num2">121</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-027470-308" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-308"> <div class="line-num1">122</div> <div class="line-num2">122</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">#### Known Issues</span> </div> </td> </tr><tr> <td id="d2h-027470-319" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-319"> <div class="line-num1">123</div> <div class="line-num2">123</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">124</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">* <del>In</del> <del>Mocha</del> v1.<del>10</del>.0 <del>an</del> <del>undocumented</del> <del>feature</del> <del>of</del> <del>`API#mock`,</del> <del>`API#stub`</del> <del>&</del> <del>`API#stub_everything`</del> <del>was</del> <del>changed.</del> <del>Previously</del> <del>when</del> <del>these</del> <del>methods</del> <del>were</del> <del>passed</del> <del>a</del> <del>single</del> <del>symbol,</del> <del>they returned </del>a <del>mock</del> <del>object </del>that <del>responded</del> to <del>the</del> <del>method identified by </del>the <del>symbol.</del> <del>Now</del> <del>Passing</del> <del>a</del> <del>single</del> <del>symbol is equivalent to passing a single string, i</del>.<del>e</del>. <del>it</del> <del>now</del> <del>defines</del> <del>the</del> <del>'name'</del> of <del>the</del> <del>mock object</del>.</span> </div> </td> </tr><tr> <td id="d2h-027470-341" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-341"> <div class="line-num1">125</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">* In Mocha v1.2.0 there is a scenario where stubbing a class method originally defined in a module hangs the Ruby interpreter due to [a bug in Ruby v2.3.1](https://bugs.ruby-lang.org/issues/12832). See #272. This was fixed in Mocha v1.2.1.</span> </div> </td> </tr><tr> <td id="d2h-027470-352" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-352"> <div class="line-num1">126</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">* Since v1.1.0 Mocha has used prepended modules internally for stubbing methods. There is [an obscure Ruby bug](https://bugs.ruby-lang.org/issues/12876) in many (but not all) versions of Ruby between v2.0 & v2.3 which under certain circumstances may cause your Ruby interpreter to hang. See the Ruby bug report for more details. The bug has been fixed in Ruby v2.3.3 & v2.4.0.</span> </div> </td> </tr><tr> <td id="d2h-027470-363" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-363"> <div class="line-num1">127</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">* Stubbing an aliased class method, where the original method is defined in a module that's used to `extend` the class doesn't work in Ruby 1.8.x. See stub_method_defined_on_module_and_aliased_test.rb for an example of this behaviour.</span> </div> </td> </tr><tr> <td id="d2h-027470-374" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-374"> <div class="line-num1">128</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">* 0.13.x versions cause a harmless, but annoying, deprecation warning when used with Rails 3.2.0-3.2.12, 3.1.0-3.1.10 & 3.0.0-3.0.19.</span> </div> </td> </tr><tr> <td id="d2h-027470-385" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-385"> <div class="line-num1">129</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">* 0.11.x versions don't work with Rails 3.2.13 (`TypeError: superclass mismatch for class ExpectationError`). See #115.</span> </div> </td> </tr><tr> <td id="d2h-027470-396" class="d2h-code-linenumber d2h-del"><a href="#d2h-027470-396"> <div class="line-num1">130</div> <div class="line-num2"></div> </a></td> <td class="d2h-del"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">* Versions 0.10.2, 0.10.3 & 0.11.0 of the Mocha gem were broken. Please do not use these versions.</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">124</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* <ins>Prior</ins> <ins>to</ins> v1.<ins>15</ins>.0 <ins>(when</ins> <ins>support</ins> <ins>for</ins> <ins>Ruby</ins> <ins>v1.8</ins> <ins>was</ins> <ins>dropped),</ins> <ins>stubbing</ins> <ins>an</ins> <ins>aliased</ins> <ins>class</ins> <ins>method</ins> <ins>where</ins> <ins>the</ins> <ins>original</ins> <ins>method</ins> <ins>is</ins> <ins>defined</ins> <ins>in</ins> a <ins>module</ins> that<ins>'s</ins> <ins>used</ins> to <ins>`extend`</ins> the <ins>class</ins> <ins>doesn't</ins> <ins>work</ins> <ins>in</ins> <ins>Ruby</ins> <ins>v1</ins>.<ins>8</ins>. <ins>See</ins> <ins>`test/acceptance/stub_method_defined_on_module_and_aliased_test.rb`</ins> <ins>for</ins> <ins>an</ins> <ins>example</ins> of <ins>this</ins> <ins>behaviour</ins>.</span> </div> </td> </tr><tr> <td id="d2h-027470-418" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-418"> <div class="line-num1">131</div> <div class="line-num2">125</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-027470-429" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-429"> <div class="line-num1">132</div> <div class="line-num2">126</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### Usage</span> </div> </td> </tr><tr> <td id="d2h-027470-440" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-027470-440"> <div class="line-num1">133</div> <div class="line-num2">127</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-527805" class="d2h-file-wrapper" data-lang="md"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-527805">data/RELEASE.md</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,5 +1,19 @@</div> </td> </tr><tr> <td id="d2h-527805-478" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-478"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"># Release Notes</span> </div> </td> </tr><tr> <td id="d2h-527805-489" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-489"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-500" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-500"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">## 2.5.0</span> </div> </td> </tr><tr> <td id="d2h-527805-511" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-511"> <div class="line-num1"></div> <div class="line-num2">4</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-522" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-522"> <div class="line-num1"></div> <div class="line-num2">5</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr><tr> <td id="d2h-527805-533" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-533"> <div class="line-num1"></div> <div class="line-num2">6</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-544" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-544"> <div class="line-num1"></div> <div class="line-num2">7</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Add metadata to gem specification, including `changelog_uri` (#608, eb1b8ea2) - thanks to @mattbrictson</span> </div> </td> </tr><tr> <td id="d2h-527805-555" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-555"> <div class="line-num1"></div> <div class="line-num2">8</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Fix warnings in Ruby v3.4 (#672, #669) - thanks to @radville for reporting</span> </div> </td> </tr><tr> <td id="d2h-527805-566" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-566"> <div class="line-num1"></div> <div class="line-num2">9</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Add warnings & notes about regressions, known issues, etc to release notes (#675, #676 & #677) - thanks to @davidstosik</span> </div> </td> </tr><tr> <td id="d2h-527805-577" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-577"> <div class="line-num1"></div> <div class="line-num2">10</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-588" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-588"> <div class="line-num1"></div> <div class="line-num2">11</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">### Internal changes</span> </div> </td> </tr><tr> <td id="d2h-527805-599" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-599"> <div class="line-num1"></div> <div class="line-num2">12</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-610" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-610"> <div class="line-num1"></div> <div class="line-num2">13</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Fix `jaro_winkler` compilation errors on MacOS (5c7d14cb)</span> </div> </td> </tr><tr> <td id="d2h-527805-621" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-621"> <div class="line-num1"></div> <div class="line-num2">14</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Fix typos in `IncludesTest` test names (6fb5a5a6)</span> </div> </td> </tr><tr> <td id="d2h-527805-632" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-632"> <div class="line-num1"></div> <div class="line-num2">15</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Fix `rubocop` version constraint for Ruby > v2.2.0 (d5c6b98a)</span> </div> </td> </tr><tr> <td id="d2h-527805-643" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-643"> <div class="line-num1"></div> <div class="line-num2">16</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-654" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-654"> <div class="line-num1">3</div> <div class="line-num2">17</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 2.4.5</span> </div> </td> </tr><tr> <td id="d2h-527805-665" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-665"> <div class="line-num1">4</div> <div class="line-num2">18</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-676" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-676"> <div class="line-num1">5</div> <div class="line-num2">19</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -12,18 +26,28 @@</div> </td> </tr><tr> <td id="d2h-527805-693" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-693"> <div class="line-num1">12</div> <div class="line-num2">26</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-704" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-704"> <div class="line-num1">13</div> <div class="line-num2">27</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix regression when method expecting `Hash` parameter or keyword arguments is invoked with no arguments (#662, #663) - thanks to @vlad-pisanov for reporting</span> </div> </td> </tr><tr> <td id="d2h-527805-715" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-715"> <div class="line-num1">14</div> <div class="line-num2">28</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-726" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-726"> <div class="line-num1"></div> <div class="line-num2">29</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release includes a regression:**</span> </div> </td> </tr><tr> <td id="d2h-527805-737" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-737"> <div class="line-num1"></div> <div class="line-num2">30</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* A `NoMethodError` was raised when a stubbed method was expecting a `Hash`, but was invoked with an instance of `ActionController::Parameters`. See #662 for the report and #664 for the fix which was released in v2.4.5.</span> </div> </td> </tr><tr> <td id="d2h-527805-748" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-748"> <div class="line-num1"></div> <div class="line-num2">31</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-759" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-759"> <div class="line-num1">15</div> <div class="line-num2">32</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 2.4.3</span> </div> </td> </tr><tr> <td id="d2h-527805-770" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-770"> <div class="line-num1">16</div> <div class="line-num2">33</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-781" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-781"> <div class="line-num1">17</div> <div class="line-num2">34</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr><tr> <td id="d2h-527805-792" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-792"> <div class="line-num1">18</div> <div class="line-num2">35</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-803" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-803"> <div class="line-num1">19</div> <div class="line-num2">36</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix regression when matching `Hash` parameter or keyword arguments (#657, #660) - thanks to @josesei for reporting and testing</span> </div> </td> </tr><tr> <td id="d2h-527805-814" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-814"> <div class="line-num1">20</div> <div class="line-num2">37</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-825" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-825"> <div class="line-num1"></div> <div class="line-num2">38</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently introduced a couple of regressions:**</span> </div> </td> </tr><tr> <td id="d2h-527805-836" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-836"> <div class="line-num1"></div> <div class="line-num2">39</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* A `NoMethodError` was raised when a stubbed method was expecting a `Hash`, but was invoked with no arguments, e.g. with `C.expects(:foo).with(bar: 42)` and invoking `C.expects(:foo)`. See #662 for the report and #663 for the fix which was released in v2.4.4.</span> </div> </td> </tr><tr> <td id="d2h-527805-847" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-847"> <div class="line-num1"></div> <div class="line-num2">40</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* A `NoMethodError` was raised when a stubbed method was expecting a `Hash`, but was invoked with an instance of `ActionController::Parameters`. See #662 for the report and #664 for the fix which was released in v2.4.5.</span> </div> </td> </tr><tr> <td id="d2h-527805-858" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-858"> <div class="line-num1"></div> <div class="line-num2">41</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-869" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-869"> <div class="line-num1">21</div> <div class="line-num2">42</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 2.4.2</span> </div> </td> </tr><tr> <td id="d2h-527805-880" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-880"> <div class="line-num1">22</div> <div class="line-num2">43</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-891" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-891"> <div class="line-num1">23</div> <div class="line-num2">44</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr><tr> <td id="d2h-527805-902" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-902"> <div class="line-num1">24</div> <div class="line-num2">45</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-913" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-913"> <div class="line-num1">25</div> <div class="line-num2">46</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Don't trust `Object#is_a?` in presence of mock objects (#656) - thanks to @casperisfine</span> </div> </td> </tr><tr> <td id="d2h-527805-924" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-924"> <div class="line-num1">26</div> <div class="line-num2">47</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-935" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-935"> <div class="line-num1"></div> <div class="line-num2">48</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release includes a regression:**</span> </div> </td> </tr><tr> <td id="d2h-527805-946" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-946"> <div class="line-num1"></div> <div class="line-num2">49</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Keyword argument and top-level `Hash` matching became more relaxed than intended, e.g. `mock.expects(:method).with(key: "value")` accepted `mock.method(key: "value", key2: "value")` when it should not have done. See #657 & #675 for the reports and #660 for the fix which was released in v2.4.3.</span> </div> </td> </tr><tr> <td id="d2h-527805-957" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-957"> <div class="line-num1"></div> <div class="line-num2">50</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-968" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-968"> <div class="line-num1">27</div> <div class="line-num2">51</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 2.4.1</span> </div> </td> </tr><tr> <td id="d2h-527805-979" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-979"> <div class="line-num1">28</div> <div class="line-num2">52</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-990" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-990"> <div class="line-num1">29</div> <div class="line-num2">53</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -35,6 +59,9 @@</div> </td> </tr><tr> <td id="d2h-527805-1007" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1007"> <div class="line-num1">35</div> <div class="line-num2">59</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Reduce duplication & consolidate `#to_matcher` method definitions (600ee2aa, e9de64e4, #655)</span> </div> </td> </tr><tr> <td id="d2h-527805-1018" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1018"> <div class="line-num1">36</div> <div class="line-num2">60</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Change `#to_matcher` method to use keyword arguments (3b60b7df, #655)</span> </div> </td> </tr><tr> <td id="d2h-527805-1029" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1029"> <div class="line-num1">37</div> <div class="line-num2">61</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1040" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1040"> <div class="line-num1"></div> <div class="line-num2">62</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release includes a regression:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1051" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1051"> <div class="line-num1"></div> <div class="line-num2">63</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Keyword argument and top-level `Hash` matching became more relaxed than intended, e.g. `mock.expects(:method).with(key: "value")` accepted `mock.method(key: "value", key2: "value")` when it should not have done. See #657 & #675 for the reports and #660 for the fix which was released in v2.4.3.</span> </div> </td> </tr><tr> <td id="d2h-527805-1062" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1062"> <div class="line-num1"></div> <div class="line-num2">64</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1073" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1073"> <div class="line-num1">38</div> <div class="line-num2">65</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 2.4.0</span> </div> </td> </tr><tr> <td id="d2h-527805-1084" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1084"> <div class="line-num1">39</div> <div class="line-num2">66</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1095" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1095"> <div class="line-num1">40</div> <div class="line-num2">67</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -43,6 +70,10 @@</div> </td> </tr><tr> <td id="d2h-527805-1112" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1112"> <div class="line-num1">43</div> <div class="line-num2">70</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1123" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1123"> <div class="line-num1">44</div> <div class="line-num2">71</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### Internal changes</span> </div> </td> </tr><tr> <td id="d2h-527805-1134" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1134"> <div class="line-num1">45</div> <div class="line-num2">72</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1145" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1145"> <div class="line-num1"></div> <div class="line-num2">73</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release includes a couple of regressions:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1156" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1156"> <div class="line-num1"></div> <div class="line-num2">74</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Nested parameter matching for keyword arguments became more relaxed than intended, e.g. `mock.expects(:method).with(has_entry(:k1, k2: 'v2'))` accepted `mock.method(k1: { k2: 'v2', k3: 'v3' })` when it should not have done. See #654 for the report and #655 for the fix which was released in v2.4.1.</span> </div> </td> </tr><tr> <td id="d2h-527805-1167" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1167"> <div class="line-num1"></div> <div class="line-num2">75</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Keyword argument and top-level `Hash` matching became more relaxed than intended, e.g. `mock.expects(:method).with(key: "value")` accepted `mock.method(key: "value", key2: "value")` when it should not have done. See #657 & #675 for the reports and #660 for the fix which was released in v2.4.3.</span> </div> </td> </tr><tr> <td id="d2h-527805-1178" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1178"> <div class="line-num1"></div> <div class="line-num2">76</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1189" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1189"> <div class="line-num1">46</div> <div class="line-num2">77</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Improvements to `#mocha_inspect` unit tests (#650)</span> </div> </td> </tr><tr> <td id="d2h-527805-1200" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1200"> <div class="line-num1">47</div> <div class="line-num2">78</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1211" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1211"> <div class="line-num1">48</div> <div class="line-num2">79</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 2.3.0</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -51,6 +82,10 @@</div> </td> </tr><tr> <td id="d2h-527805-1228" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1228"> <div class="line-num1">51</div> <div class="line-num2">82</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1239" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1239"> <div class="line-num1">52</div> <div class="line-num2">83</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix nested parameter matching for keyword arguments (f94e2504, #648) - thanks to @CodingAnarchy for reporting</span> </div> </td> </tr><tr> <td id="d2h-527805-1250" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1250"> <div class="line-num1">53</div> <div class="line-num2">84</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1261" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1261"> <div class="line-num1"></div> <div class="line-num2">85</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently introduced a couple of regressions:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1272" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1272"> <div class="line-num1"></div> <div class="line-num2">86</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Nested parameter matching for keyword arguments became more relaxed than intended, e.g. `mock.expects(:method).with(has_entry(:k1, k2: 'v2'))` accepted `mock.method(k1: { k2: 'v2', k3: 'v3' })` when it should not have done. See #654 for the report and #655 for the fix which was released in v2.4.1.</span> </div> </td> </tr><tr> <td id="d2h-527805-1283" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1283"> <div class="line-num1"></div> <div class="line-num2">87</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* Keyword argument and top-level `Hash` matching became more relaxed than intended, e.g. `mock.expects(:method).with(key: "value")` accepted `mock.method(key: "value", key2: "value")` when it should not have done. See #657 & #675 for the reports and #660 for the fix which was released in v2.4.3.</span> </div> </td> </tr><tr> <td id="d2h-527805-1294" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1294"> <div class="line-num1"></div> <div class="line-num2">88</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1305" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1305"> <div class="line-num1">54</div> <div class="line-num2">89</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 2.2.0</span> </div> </td> </tr><tr> <td id="d2h-527805-1316" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1316"> <div class="line-num1">55</div> <div class="line-num2">90</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1327" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1327"> <div class="line-num1">56</div> <div class="line-num2">91</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -322,6 +357,9 @@ from the Ruby v1.8 standard library are no longer supported (#540,969f4845)</div> </td> </tr><tr> <td id="d2h-527805-1344" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1344"> <div class="line-num1">322</div> <div class="line-num2">357</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Add documentation for Cucumber integration (13ab797b)</span> </div> </td> </tr><tr> <td id="d2h-527805-1355" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1355"> <div class="line-num1">323</div> <div class="line-num2">358</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Add documentation about an undocumented feature of `API#mock`, `API#stub` & `API#stub_everything` being changed (7ed2e4e7, d30c1717)</span> </div> </td> </tr><tr> <td id="d2h-527805-1366" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1366"> <div class="line-num1">324</div> <div class="line-num2">359</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1377" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1377"> <div class="line-num1"></div> <div class="line-num2">360</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently changed some undocumented behaviour:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1388" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1388"> <div class="line-num1"></div> <div class="line-num2">361</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* An undocumented feature of `API#mock`, `API#stub` & `API#stub_everything` was changed. Previously when these methods were passed a single symbol, they returned a mock object that responded to the method identified by the symbol. Now Passing a single symbol is equivalent to passing a single string, i.e. it now defines the 'name' of the mock object.</span> </div> </td> </tr><tr> <td id="d2h-527805-1399" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1399"> <div class="line-num1"></div> <div class="line-num2">362</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1410" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1410"> <div class="line-num1">325</div> <div class="line-num2">363</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 1.10.0.beta.1</span> </div> </td> </tr><tr> <td id="d2h-527805-1421" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1421"> <div class="line-num1">326</div> <div class="line-num2">364</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1432" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1432"> <div class="line-num1">327</div> <div class="line-num2">365</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Hide `ClassMethods#method_visibility` & `#method_exists?` methods to avoid clash with Rails (#428)</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -465,6 +503,9 @@ from the Ruby v1.8 standard library are no longer supported (#540,969f4845)</div> </td> </tr><tr> <td id="d2h-527805-1449" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1449"> <div class="line-num1">465</div> <div class="line-num2">503</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix typo in docs for equals - thanks to @alexcoco (#254)</span> </div> </td> </tr><tr> <td id="d2h-527805-1460" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1460"> <div class="line-num1">466</div> <div class="line-num2">504</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Add known issue for Ruby v1.8 to README - thanks to @chrisroos (2c642096)</span> </div> </td> </tr><tr> <td id="d2h-527805-1471" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1471"> <div class="line-num1">467</div> <div class="line-num2">505</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1482" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1482"> <div class="line-num1"></div> <div class="line-num2">506</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently introduced the possibility of causing the Ruby interpreter to hang:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1493" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1493"> <div class="line-num1"></div> <div class="line-num2">507</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* There is a scenario where stubbing a class method originally defined in a module hangs the Ruby interpreter due to [a bug in Ruby v2.3.1](https://bugs.ruby-lang.org/issues/12832). See #272. This was fixed in Mocha v1.2.1.</span> </div> </td> </tr><tr> <td id="d2h-527805-1504" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1504"> <div class="line-num1"></div> <div class="line-num2">508</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1515" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1515"> <div class="line-num1">468</div> <div class="line-num2">509</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 1.1.0</span> </div> </td> </tr><tr> <td id="d2h-527805-1526" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1526"> <div class="line-num1">469</div> <div class="line-num2">510</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1537" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1537"> <div class="line-num1">470</div> <div class="line-num2">511</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Set visibility of any instance stub method.</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -473,6 +514,9 @@ from the Ruby v1.8 standard library are no longer supported (#540,969f4845)</div> </td> </tr><tr> <td id="d2h-527805-1554" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1554"> <div class="line-num1">473</div> <div class="line-num2">514</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Use GitHub convention for instructions on contributing to Mocha.</span> </div> </td> </tr><tr> <td id="d2h-527805-1565" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1565"> <div class="line-num1">474</div> <div class="line-num2">515</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix typos in docs. Thanks to @10io</span> </div> </td> </tr><tr> <td id="d2h-527805-1576" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1576"> <div class="line-num1">475</div> <div class="line-num2">516</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1587" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1587"> <div class="line-num1"></div> <div class="line-num2">517</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently introduced the possibility of causing the Ruby interpreter to hang:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1598" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1598"> <div class="line-num1"></div> <div class="line-num2">518</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* From this release onwards, prepended modules have been used internally for stubbing methods. There is [an obscure Ruby bug](https://bugs.ruby-lang.org/issues/12876) in many (but not all) versions of Ruby between v2.0 & v2.3 which under certain circumstances may cause your Ruby interpreter to hang. See the Ruby bug report for more details. The bug has been fixed in Ruby v2.3.3 & v2.4.0.</span> </div> </td> </tr><tr> <td id="d2h-527805-1609" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1609"> <div class="line-num1"></div> <div class="line-num2">519</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1620" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1620"> <div class="line-num1">476</div> <div class="line-num2">520</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 1.0.0</span> </div> </td> </tr><tr> <td id="d2h-527805-1631" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1631"> <div class="line-num1">477</div> <div class="line-num2">521</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1642" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1642"> <div class="line-num1">478</div> <div class="line-num2">522</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">### External changes</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -535,6 +579,9 @@ relevant patch version.</div> </td> </tr><tr> <td id="d2h-527805-1659" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1659"> <div class="line-num1">535</div> <div class="line-num2">579</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Adapt Mocha acceptance tests to cope with changes in output from latest (v4.6.2) of MiniTest.</span> </div> </td> </tr><tr> <td id="d2h-527805-1670" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1670"> <div class="line-num1">536</div> <div class="line-num2">580</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Updates to README about Rails compatibility.</span> </div> </td> </tr><tr> <td id="d2h-527805-1681" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1681"> <div class="line-num1">537</div> <div class="line-num2">581</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1692" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1692"> <div class="line-num1"></div> <div class="line-num2">582</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**NOTE: This release inadvertently caused deprecation warnings in some contexts:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1703" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1703"> <div class="line-num1"></div> <div class="line-num2">583</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* When used with Rails v3.2.0-v3.2.12, v3.1.0-v3.1.10 & v3.0.0-v3.0.19.</span> </div> </td> </tr><tr> <td id="d2h-527805-1714" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1714"> <div class="line-num1"></div> <div class="line-num2">584</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1725" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1725"> <div class="line-num1">538</div> <div class="line-num2">585</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.13.2</span> </div> </td> </tr><tr> <td id="d2h-527805-1736" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1736"> <div class="line-num1">539</div> <div class="line-num2">586</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Stubbing of methods re-declared with different visibilty. Fixes #109.</span> </div> </td> </tr><tr> <td id="d2h-527805-1747" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1747"> <div class="line-num1">540</div> <div class="line-num2">587</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Add `Mock#responds_like_instance_of`. Fixes #119.</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -544,10 +591,16 @@ relevant patch version.</div> </td> </tr><tr> <td id="d2h-527805-1764" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1764"> <div class="line-num1">544</div> <div class="line-num2">591</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Add a Gem Badge to provide a link to Mocha on Rubygems.</span> </div> </td> </tr><tr> <td id="d2h-527805-1775" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1775"> <div class="line-num1">545</div> <div class="line-num2">592</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Make documentation example consistent with other examples.</span> </div> </td> </tr><tr> <td id="d2h-527805-1786" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1786"> <div class="line-num1">546</div> <div class="line-num2">593</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1797" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1797"> <div class="line-num1"></div> <div class="line-num2">594</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**NOTE: This release inadvertently caused deprecation warnings in some contexts:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1808" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1808"> <div class="line-num1"></div> <div class="line-num2">595</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* When used with Rails v3.2.0-v3.2.12, v3.1.0-v3.1.10 & v3.0.0-v3.0.19.</span> </div> </td> </tr><tr> <td id="d2h-527805-1819" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1819"> <div class="line-num1"></div> <div class="line-num2">596</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1830" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1830"> <div class="line-num1">547</div> <div class="line-num2">597</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.13.1</span> </div> </td> </tr><tr> <td id="d2h-527805-1841" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1841"> <div class="line-num1">548</div> <div class="line-num2">598</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix #97 - `Mocha::ParameterMatchers#has_entry` does not work with an Array as the entry's value. Thanks to @ngokli.</span> </div> </td> </tr><tr> <td id="d2h-527805-1852" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1852"> <div class="line-num1">549</div> <div class="line-num2">599</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Allow deprecation `:debug` mode to be switched on from `MOCHA_OPTIONS` environment variable.</span> </div> </td> </tr><tr> <td id="d2h-527805-1863" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1863"> <div class="line-num1">550</div> <div class="line-num2">600</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1874" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1874"> <div class="line-num1"></div> <div class="line-num2">601</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**NOTE: This release inadvertently caused deprecation warnings in some contexts:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1885" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1885"> <div class="line-num1"></div> <div class="line-num2">602</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* When used with Rails v3.2.0-v3.2.12, v3.1.0-v3.1.10 & v3.0.0-v3.0.19.</span> </div> </td> </tr><tr> <td id="d2h-527805-1896" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1896"> <div class="line-num1"></div> <div class="line-num2">603</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1907" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1907"> <div class="line-num1">551</div> <div class="line-num2">604</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.13.0</span> </div> </td> </tr><tr> <td id="d2h-527805-1918" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1918"> <div class="line-num1">552</div> <div class="line-num2">605</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Major overhaul of MiniTest & Test::Unit integration. Mocha now integrates with later versions of the two test libraries using documented hooks rather than monkey-patching. This should mean that Mocha will integrate with new versions of either library without the need to release a new version of Mocha each time, which was clearly bad and unsustainable. Many thanks to @tenderlove, @zenspider & @kou for their help, suggestions & patience.</span> </div> </td> </tr><tr> <td id="d2h-527805-1929" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1929"> <div class="line-num1">553</div> <div class="line-num2">606</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Temporarily deprecated `require 'mocha'`. Use `require 'mocha/setup'` instead. The plan is that eventually `require 'mocha'` will *not* automatically integrate with either of the two test libraries as it does at the moment, and you'll need to explicitly & separately trigger the integration. I think this will provide a lot more flexibility and will hopefully do away with the need for the `require: false` option in the `Gemfile` which has always confused people.</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -560,6 +613,9 @@ relevant patch version.</div> </td> </tr><tr> <td id="d2h-527805-1946" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1946"> <div class="line-num1">560</div> <div class="line-num2">613</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Various improvements to automated testing of integration with test libraries.</span> </div> </td> </tr><tr> <td id="d2h-527805-1957" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1957"> <div class="line-num1">561</div> <div class="line-num2">614</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Make deprecation warnings more prominent.</span> </div> </td> </tr><tr> <td id="d2h-527805-1968" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-1968"> <div class="line-num1">562</div> <div class="line-num2">615</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-1979" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1979"> <div class="line-num1"></div> <div class="line-num2">616</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**NOTE: This release inadvertently caused deprecation warnings in some contexts:**</span> </div> </td> </tr><tr> <td id="d2h-527805-1990" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-1990"> <div class="line-num1"></div> <div class="line-num2">617</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* When used with Rails v3.2.0-v3.2.12, v3.1.0-v3.1.10 & v3.0.0-v3.0.19.</span> </div> </td> </tr><tr> <td id="d2h-527805-2001" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2001"> <div class="line-num1"></div> <div class="line-num2">618</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2012" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2012"> <div class="line-num1">563</div> <div class="line-num2">619</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.12.7</span> </div> </td> </tr><tr> <td id="d2h-527805-2023" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2023"> <div class="line-num1">564</div> <div class="line-num2">620</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Officially support minitest v4.1.0 (still monkey-patching).</span> </div> </td> </tr><tr> <td id="d2h-527805-2034" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2034"> <div class="line-num1">565</div> <div class="line-num2">621</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -596,15 +652,27 @@ relevant patch version.</div> </td> </tr><tr> <td id="d2h-527805-2051" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2051"> <div class="line-num1">596</div> <div class="line-num2">652</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.11.4</span> </div> </td> </tr><tr> <td id="d2h-527805-2062" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2062"> <div class="line-num1">597</div> <div class="line-num2">653</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Homepage has moved to http://gofreerange.com/mocha/docs.</span> </div> </td> </tr><tr> <td id="d2h-527805-2073" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2073"> <div class="line-num1">598</div> <div class="line-num2">654</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2084" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2084"> <div class="line-num1"></div> <div class="line-num2">655</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently included a Rails compatibility issue:**</span> </div> </td> </tr><tr> <td id="d2h-527805-2095" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2095"> <div class="line-num1"></div> <div class="line-num2">656</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* `TypeError: superclass mismatch for class ExpectationError` raised when using Rails v3.2.13. See #115.</span> </div> </td> </tr><tr> <td id="d2h-527805-2106" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2106"> <div class="line-num1"></div> <div class="line-num2">657</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2117" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2117"> <div class="line-num1">599</div> <div class="line-num2">658</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.11.3</span> </div> </td> </tr><tr> <td id="d2h-527805-2128" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2128"> <div class="line-num1">600</div> <div class="line-num2">659</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix for #78 i.e. alias Object#method as Object#_method, not Object#__method__ which already exists as another Ruby method.</span> </div> </td> </tr><tr> <td id="d2h-527805-2139" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2139"> <div class="line-num1">601</div> <div class="line-num2">660</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2150" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2150"> <div class="line-num1"></div> <div class="line-num2">661</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently included a Rails compatibility issue:**</span> </div> </td> </tr><tr> <td id="d2h-527805-2161" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2161"> <div class="line-num1"></div> <div class="line-num2">662</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* `TypeError: superclass mismatch for class ExpectationError` raised when using Rails v3.2.13. See #115.</span> </div> </td> </tr><tr> <td id="d2h-527805-2172" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2172"> <div class="line-num1"></div> <div class="line-num2">663</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2183" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2183"> <div class="line-num1">602</div> <div class="line-num2">664</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.11.2</span> </div> </td> </tr><tr> <td id="d2h-527805-2194" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2194"> <div class="line-num1">603</div> <div class="line-num2">665</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Rails has a Request class which defines its own #method method. This broke the new mechanism for stubbing a method. This release includes a slightly modified version of fix #77 provided by @sikachu. See https://github.com/rails/rails/pull/5907 for further info.</span> </div> </td> </tr><tr> <td id="d2h-527805-2205" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2205"> <div class="line-num1">604</div> <div class="line-num2">666</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2216" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2216"> <div class="line-num1"></div> <div class="line-num2">667</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently included a Rails compatibility issue:**</span> </div> </td> </tr><tr> <td id="d2h-527805-2227" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2227"> <div class="line-num1"></div> <div class="line-num2">668</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* `TypeError: superclass mismatch for class ExpectationError` raised when using Rails v3.2.13. See #115.</span> </div> </td> </tr><tr> <td id="d2h-527805-2238" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2238"> <div class="line-num1"></div> <div class="line-num2">669</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2249" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2249"> <div class="line-num1">605</div> <div class="line-num2">670</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.11.1</span> </div> </td> </tr><tr> <td id="d2h-527805-2260" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2260"> <div class="line-num1">606</div> <div class="line-num2">671</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* In Ruby 1.8.7 methods accepting a block parameter were incorrectly restored without the block parameter after being stubbed. Fix for #76.</span> </div> </td> </tr><tr> <td id="d2h-527805-2271" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2271"> <div class="line-num1">607</div> <div class="line-num2">672</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2282" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2282"> <div class="line-num1"></div> <div class="line-num2">673</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently included a Rails compatibility issue:**</span> </div> </td> </tr><tr> <td id="d2h-527805-2293" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2293"> <div class="line-num1"></div> <div class="line-num2">674</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* `TypeError: superclass mismatch for class ExpectationError` raised when using Rails v3.2.13. See #115.</span> </div> </td> </tr><tr> <td id="d2h-527805-2304" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2304"> <div class="line-num1"></div> <div class="line-num2">675</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2315" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2315"> <div class="line-num1">608</div> <div class="line-num2">676</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.11.0</span> </div> </td> </tr><tr> <td id="d2h-527805-2326" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2326"> <div class="line-num1">609</div> <div class="line-num2">677</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Store original method when stubbing rather than using alias_method. This fixes #41, #47, #74 and all tests now pass on both Ruby 1.8.7 and 1.9.3.</span> </div> </td> </tr><tr> <td id="d2h-527805-2337" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2337"> <div class="line-num1">610</div> <div class="line-num2">678</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Attempting to stub a method on a frozen object should fail fast. See #68.</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -617,6 +685,11 @@ relevant patch version.</div> </td> </tr><tr> <td id="d2h-527805-2354" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2354"> <div class="line-num1">617</div> <div class="line-num2">685</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Improve documentation for ObjectMethods.</span> </div> </td> </tr><tr> <td id="d2h-527805-2365" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2365"> <div class="line-num1">618</div> <div class="line-num2">686</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Provide a way to run multiple tests within a single acceptance test method.</span> </div> </td> </tr><tr> <td id="d2h-527805-2376" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2376"> <div class="line-num1">619</div> <div class="line-num2">687</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2387" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2387"> <div class="line-num1"></div> <div class="line-num2">688</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently included a significant bug - please do not use it!**</span> </div> </td> </tr><tr> <td id="d2h-527805-2398" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2398"> <div class="line-num1"></div> <div class="line-num2">689</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2409" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2409"> <div class="line-num1"></div> <div class="line-num2">690</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently introduced a Rails compatibility issue:**</span> </div> </td> </tr><tr> <td id="d2h-527805-2420" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2420"> <div class="line-num1"></div> <div class="line-num2">691</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">* `TypeError: superclass mismatch for class ExpectationError` raised when using Rails v3.2.13. See #115.</span> </div> </td> </tr><tr> <td id="d2h-527805-2431" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2431"> <div class="line-num1"></div> <div class="line-num2">692</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2442" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2442"> <div class="line-num1">620</div> <div class="line-num2">693</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.10.5</span> </div> </td> </tr><tr> <td id="d2h-527805-2453" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2453"> <div class="line-num1">621</div> <div class="line-num2">694</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix for issue #66 (hopefully without regressing on issue #63) - Mocha::Mock has Mocha::Mockery as a dependency. Stop trying to pretend otherwise. Thanks to @kennyj for reporting.</span> </div> </td> </tr><tr> <td id="d2h-527805-2464" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2464"> <div class="line-num1">622</div> <div class="line-num2">695</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix a bunch of warnings in Ruby 1.9. There are still the 6 test failures mentioned in issue #41 which I suspect are due to the introspection gem not being Ruby 1.9-compatible.</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -635,9 +708,13 @@ Hash with wrong number of entries.</div> </td> </tr><tr> <td id="d2h-527805-2481" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2481"> <div class="line-num1">635</div> <div class="line-num2">708</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.10.3</span> </div> </td> </tr><tr> <td id="d2h-527805-2492" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2492"> <div class="line-num1">636</div> <div class="line-num2">709</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fix for issue #57. Gem::Requirement#=~ was only added in rubygems v1.8.0, but Object#=~ means the result of various monkey-patching checks is always false/nil for earlier versions of rubygems. However, the method it aliases #satisfied_by? has existed since Gem::Dependency was extracted from Gem::Version in rubygems v0.9.4.4, so it's much safer to use that. Thanks to fguillen for reporting and helping with diagnosis.</span> </div> </td> </tr><tr> <td id="d2h-527805-2503" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2503"> <div class="line-num1">637</div> <div class="line-num2">710</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2514" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2514"> <div class="line-num1"></div> <div class="line-num2">711</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently included a significant bug - please do not use it!**</span> </div> </td> </tr><tr> <td id="d2h-527805-2525" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2525"> <div class="line-num1"></div> <div class="line-num2">712</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2536" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2536"> <div class="line-num1">638</div> <div class="line-num2">713</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.10.2</span> </div> </td> </tr><tr> <td id="d2h-527805-2547" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2547"> <div class="line-num1">639</div> <div class="line-num2">714</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Merge pull request #53. Unstubbing a method should not remove expectations for other stubbed methods. Fixes #52. Thanks to saikat.</span> </div> </td> </tr><tr> <td id="d2h-527805-2558" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2558"> <div class="line-num1">640</div> <div class="line-num2">715</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2569" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2569"> <div class="line-num1"></div> <div class="line-num2">716</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">**WARNING: This release inadvertently included a significant bug - please do not use it!**</span> </div> </td> </tr><tr> <td id="d2h-527805-2580" class="d2h-code-linenumber d2h-ins"><a href="#d2h-527805-2580"> <div class="line-num1"></div> <div class="line-num2">717</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-527805-2591" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2591"> <div class="line-num1">641</div> <div class="line-num2">718</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">## 0.10.1</span> </div> </td> </tr><tr> <td id="d2h-527805-2602" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2602"> <div class="line-num1">642</div> <div class="line-num2">719</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Merge pull request #51. Use Gem::Requirement & Gem::Version for version comparison. Fixes issue #50. Thanks to meineerde.</span> </div> </td> </tr><tr> <td id="d2h-527805-2613" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-527805-2613"> <div class="line-num1">643</div> <div class="line-num2">720</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">* Fixed typo in rdoc for Mocha::ObjectMethods.</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-849984" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-849984">data/lib/mocha/mockery.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -114,11 +114,11 @@ module Mocha</div> </td> </tr><tr> <td id="d2h-849984-2651" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-849984-2651"> <div class="line-num1">114</div> <div class="line-num2">114</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-849984-2662" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-849984-2662"> <div class="line-num1">115</div> <div class="line-num2">115</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-849984-2673" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-849984-2673"> <div class="line-num1">116</div> <div class="line-num2">116</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def mocha_inspect</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">117</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> <del>message</del> = <del>''</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">118</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> <del>message</del> << "unsatisfied expectations:\n- #{unsatisfied_expectations.map(&:mocha_inspect).join("\n- ")}\n" if unsatisfied_expectations.any?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">119</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> <del>message</del> << "satisfied expectations:\n- #{satisfied_expectations.map(&:mocha_inspect).join("\n- ")}\n" if satisfied_expectations.any?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">120</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> <del>message</del> << "states:\n- #{state_machines.map(&:mocha_inspect).join("\n- ")}\n" if state_machines.any?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">121</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> <del>message</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">117</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> <ins>lines</ins> = <ins>[]</ins></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">118</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> <ins>lines</ins> << "unsatisfied expectations:\n- #{unsatisfied_expectations.map(&:mocha_inspect).join("\n- ")}\n" if unsatisfied_expectations.any?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">119</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> <ins>lines</ins> << "satisfied expectations:\n- #{satisfied_expectations.map(&:mocha_inspect).join("\n- ")}\n" if satisfied_expectations.any?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">120</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> <ins>lines</ins> << "states:\n- #{state_machines.map(&:mocha_inspect).join("\n- ")}\n" if state_machines.any?</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">121</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> <ins>lines.join</ins></span> </div> </td> </tr><tr> <td id="d2h-849984-2794" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-849984-2794"> <div class="line-num1">122</div> <div class="line-num2">122</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> end</span> </div> </td> </tr><tr> <td id="d2h-849984-2805" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-849984-2805"> <div class="line-num1">123</div> <div class="line-num2">123</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-849984-2816" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-849984-2816"> <div class="line-num1">124</div> <div class="line-num2">124</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> def on_stubbing(object, method)</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-786937" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-786937">data/lib/mocha/ruby_version.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,3 +1,4 @@</div> </td> </tr><tr> <td id="d2h-786937-2854" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-786937-2854"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">module Mocha</span> </div> </td> </tr><tr> <td id="d2h-786937-2865" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-786937-2865"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> RUBY_V27_PLUS = Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.7')</span> </div> </td> </tr><tr> <td id="d2h-786937-2876" class="d2h-code-linenumber d2h-ins"><a href="#d2h-786937-2876"> <div class="line-num1"></div> <div class="line-num2">3</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> RUBY_V34_PLUS = Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('3.4')</span> </div> </td> </tr><tr> <td id="d2h-786937-2887" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-786937-2887"> <div class="line-num1">3</div> <div class="line-num2">4</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-931638" class="d2h-file-wrapper" data-lang="rb"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-931638">data/lib/mocha/version.rb</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,3 +1,3 @@</div> </td> </tr><tr> <td id="d2h-931638-2925" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-931638-2925"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">module Mocha</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">2</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> VERSION = '2.<del>4</del>.<del>5</del>'.freeze</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">2</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> VERSION = '2.<ins>5</ins>.<ins>0</ins>'.freeze</span> </div> </td> </tr><tr> <td id="d2h-931638-2958" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-931638-2958"> <div class="line-num1">3</div> <div class="line-num2">3</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-323343" class="d2h-file-wrapper" data-lang="gemspec"> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-323343">data/mocha.gemspec</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -21,6 +21,14 @@ Gem::Specification.new do |s|</div> </td> </tr><tr> <td id="d2h-323343-2996" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-323343-2996"> <div class="line-num1">21</div> <div class="line-num2">21</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> s.homepage = 'https://mocha.jamesmead.org'</span> </div> </td> </tr><tr> <td id="d2h-323343-3007" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-323343-3007"> <div class="line-num1">22</div> <div class="line-num2">22</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> s.require_paths = ['lib']</span> </div> </td> </tr><tr> <td id="d2h-323343-3018" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-323343-3018"> <div class="line-num1">23</div> <div class="line-num2">23</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> s.summary = 'Mocking and stubbing library'</span> </div> </td> </tr><tr> <td id="d2h-323343-3029" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3029"> <div class="line-num1"></div> <div class="line-num2">24</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> s.metadata = {</span> </div> </td> </tr><tr> <td id="d2h-323343-3040" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3040"> <div class="line-num1"></div> <div class="line-num2">25</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> 'bug_tracker_uri' => 'https://github.com/freerange/mocha/issues',</span> </div> </td> </tr><tr> <td id="d2h-323343-3051" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3051"> <div class="line-num1"></div> <div class="line-num2">26</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> 'changelog_uri' => 'https://github.com/freerange/mocha/blob/main/RELEASE.md',</span> </div> </td> </tr><tr> <td id="d2h-323343-3062" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3062"> <div class="line-num1"></div> <div class="line-num2">27</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> 'documentation_uri' => 'https://mocha.jamesmead.org/',</span> </div> </td> </tr><tr> <td id="d2h-323343-3073" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3073"> <div class="line-num1"></div> <div class="line-num2">28</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> 'funding_uri' => 'https://github.com/sponsors/floehopper',</span> </div> </td> </tr><tr> <td id="d2h-323343-3084" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3084"> <div class="line-num1"></div> <div class="line-num2">29</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> 'homepage_uri' => s.homepage,</span> </div> </td> </tr><tr> <td id="d2h-323343-3095" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3095"> <div class="line-num1"></div> <div class="line-num2">30</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> 'source_code_uri' => 'https://github.com/freerange/mocha'</span> </div> </td> </tr><tr> <td id="d2h-323343-3106" class="d2h-code-linenumber d2h-ins"><a href="#d2h-323343-3106"> <div class="line-num1"></div> <div class="line-num2">31</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> }</span> </div> </td> </tr><tr> <td id="d2h-323343-3117" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-323343-3117"> <div class="line-num1">24</div> <div class="line-num2">32</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"><br></span> </div> </td> </tr><tr> <td id="d2h-323343-3128" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-323343-3128"> <div class="line-num1">25</div> <div class="line-num2">33</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> s.add_runtime_dependency 'ruby2_keywords', '>= 0.0.5'</span> </div> </td> </tr><tr> <td id="d2h-323343-3139" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-323343-3139"> <div class="line-num1">26</div> <div class="line-num2">34</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">end</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> <div id="d2h-004177" class="d2h-file-wrapper" data-lang=""> <div class="d2h-file-header"> <span class="d2h-file-name-wrapper"> <svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12"> <path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path> </svg> <span class="d2h-file-name"><a href="#d2h-004177">metadata</a></span> <span class="d2h-tag d2h-changed d2h-changed-tag">CHANGED</span></span> <label class="d2h-file-collapse"> <input class="d2h-file-collapse-input" type="checkbox" name="viewed" value="viewed"> Viewed </label> </div> <div class="d2h-file-diff"> <div class="d2h-code-wrapper"> <table class="d2h-diff-table"> <tbody class="d2h-diff-tbody"> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -1,14 +1,14 @@</div> </td> </tr><tr> <td id="d2h-004177-3177" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3177"> <div class="line-num1">1</div> <div class="line-num2">1</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">--- !ruby/object:Gem::Specification</span> </div> </td> </tr><tr> <td id="d2h-004177-3188" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3188"> <div class="line-num1">2</div> <div class="line-num2">2</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">name: mocha</span> </div> </td> </tr><tr> <td id="d2h-004177-3199" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3199"> <div class="line-num1">3</div> <div class="line-num2">3</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">version: !ruby/object:Gem::Version</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">4</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn"> version: 2.<del>4</del>.<del>5</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">4</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> version: 2.<ins>5</ins>.<ins>0</ins></span> </div> </td> </tr><tr> <td id="d2h-004177-3232" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3232"> <div class="line-num1">5</div> <div class="line-num2">5</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">platform: ruby</span> </div> </td> </tr><tr> <td id="d2h-004177-3243" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3243"> <div class="line-num1">6</div> <div class="line-num2">6</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">authors:</span> </div> </td> </tr><tr> <td id="d2h-004177-3254" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3254"> <div class="line-num1">7</div> <div class="line-num2">7</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- James Mead</span> </div> </td> </tr><tr> <td id="d2h-004177-3265" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3265"> <div class="line-num1">8</div> <div class="line-num2">8</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">autorequire:</span> </div> </td> </tr><tr> <td id="d2h-004177-3276" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3276"> <div class="line-num1">9</div> <div class="line-num2">9</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">bindir: bin</span> </div> </td> </tr><tr> <td id="d2h-004177-3287" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3287"> <div class="line-num1">10</div> <div class="line-num2">10</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">cert_chain: []</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">11</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">date: 2024-<del>07</del>-<del>24</del> 00:00:00.000000000 Z</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">11</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">date: 2024-<ins>10</ins>-<ins>23</ins> 00:00:00.000000000 Z</span> </div> </td> </tr><tr> <td id="d2h-004177-3320" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3320"> <div class="line-num1">12</div> <div class="line-num2">12</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">dependencies:</span> </div> </td> </tr><tr> <td id="d2h-004177-3331" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3331"> <div class="line-num1">13</div> <div class="line-num2">13</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- !ruby/object:Gem::Dependency</span> </div> </td> </tr><tr> <td id="d2h-004177-3342" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3342"> <div class="line-num1">14</div> <div class="line-num2">14</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn"> name: ruby2_keywords</span> </div> </td> </tr> <tr> <td class="d2h-code-linenumber d2h-info"></td> <td class="d2h-info"> <div class="d2h-code-line">@@ -132,7 +132,13 @@ homepage: https://mocha.jamesmead.org</div> </td> </tr><tr> <td id="d2h-004177-3359" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3359"> <div class="line-num1">132</div> <div class="line-num2">132</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">licenses:</span> </div> </td> </tr><tr> <td id="d2h-004177-3370" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3370"> <div class="line-num1">133</div> <div class="line-num2">133</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- MIT</span> </div> </td> </tr><tr> <td id="d2h-004177-3381" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3381"> <div class="line-num1">134</div> <div class="line-num2">134</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">- BSD-2-Clause</span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-del d2h-change"> <div class="line-num1">135</div> <div class="line-num2"></div> </a></td> <td class="d2h-del d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">-</span> <span class="d2h-code-line-ctn">metadata:<del> {}</del></span> </div> </td> </tr><tr> <td class="d2h-code-linenumber d2h-ins d2h-change"> <div class="line-num1"></div> <div class="line-num2">135</div> </a></td> <td class="d2h-ins d2h-change"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn">metadata:</span> </div> </td> </tr><tr> <td id="d2h-004177-3414" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-3414"> <div class="line-num1"></div> <div class="line-num2">136</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> bug_tracker_uri: https://github.com/freerange/mocha/issues</span> </div> </td> </tr><tr> <td id="d2h-004177-3425" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-3425"> <div class="line-num1"></div> <div class="line-num2">137</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> changelog_uri: https://github.com/freerange/mocha/blob/main/RELEASE.md</span> </div> </td> </tr><tr> <td id="d2h-004177-3436" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-3436"> <div class="line-num1"></div> <div class="line-num2">138</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> documentation_uri: https://mocha.jamesmead.org/</span> </div> </td> </tr><tr> <td id="d2h-004177-3447" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-3447"> <div class="line-num1"></div> <div class="line-num2">139</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> funding_uri: https://github.com/sponsors/floehopper</span> </div> </td> </tr><tr> <td id="d2h-004177-3458" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-3458"> <div class="line-num1"></div> <div class="line-num2">140</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> homepage_uri: https://mocha.jamesmead.org</span> </div> </td> </tr><tr> <td id="d2h-004177-3469" class="d2h-code-linenumber d2h-ins"><a href="#d2h-004177-3469"> <div class="line-num1"></div> <div class="line-num2">141</div> </a></td> <td class="d2h-ins"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix">+</span> <span class="d2h-code-line-ctn"> source_code_uri: https://github.com/freerange/mocha</span> </div> </td> </tr><tr> <td id="d2h-004177-3480" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3480"> <div class="line-num1">136</div> <div class="line-num2">142</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">post_install_message:</span> </div> </td> </tr><tr> <td id="d2h-004177-3491" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3491"> <div class="line-num1">137</div> <div class="line-num2">143</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">rdoc_options: []</span> </div> </td> </tr><tr> <td id="d2h-004177-3502" class="d2h-code-linenumber d2h-cntx"><a href="#d2h-004177-3502"> <div class="line-num1">138</div> <div class="line-num2">144</div> </a></td> <td class="d2h-cntx"> <div class="d2h-code-line"> <span class="d2h-code-line-prefix"> </span> <span class="d2h-code-line-ctn">require_paths:</span> </div> </td> </tr> </tbody> </table> </div> </div> </div> </div> </div> </div> </div> </div> <footer class='sticky-footer mt-3'> <div class='container text-center mb-3 copyright'> <a class='mr-4 text-gray-600' href='mailto:diffend@whitesourcesoftware.com'> Contact Us </a> <a class='mr-4 text-gray-600' href='https://www.whitesourcesoftware.com/terms-of-service/'> Terms of Service </a> <a class='mr-4 text-gray-600' href='https://www.whitesourcesoftware.com/privacy-policy/'> Privacy Policy </a> <a class='mr-4 text-gray-600' href='https://diffend.io/docs'> Docs </a> </div> <div class='container mt-4'> <div class='copyright text-center'> Copyright © 2024 Mend Software </div> </div> </footer> </div> </div> </div> </body> </html>