Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: minitest/minitest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.16.0
Choose a base ref
...
head repository: minitest/minitest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.16.1
Choose a head ref
  • 4 commits
  • 5 files changed
  • 1 contributor

Commits on Jun 15, 2022

  1. ! Dropping ruby 2.2 - 2.5. 2.6 is DTM soon too.

    [git-p4: depot-paths = "//src/minitest/dev/": change = 13440]
    zenspider committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    45990b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2022

  1. - Apparently adding real kwarg support to mocks/stubs broke some code…

    …. Fixed.
    
    Short version: kludgy "last arg is a hash == kwargs" is kludgy and prevents the last arg from really being a hash... Real kwarg support is going to require you to be explicit about kwargs vs hashes.
    
    In the meantime, an environment variable `MT_KWARGS_HACK=1` will allow the old behavior to _mostly_ behave the same. If that variable is set, AND you don't pass any use of kwargs to `expect`, AND the last arg is a Hash, then it'll use those as kwargs. If you have the ENV set and explicitly declare kwargs and then it'll warn once about having a hash as the last arg.
    
    [git-p4: depot-paths = "//src/minitest/dev/": change = 13443]
    zenspider committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    61345d7 View commit details
    Browse the repository at this point in the history
  2. - Clarified some doco wrt the block on #stub.

    [git-p4: depot-paths = "//src/minitest/dev/": change = 13444]
    zenspider committed Jun 19, 2022
    Configuration menu
    Copy the full SHA
    c748ce9 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2022

  1. prepped for release

    [git-p4: depot-paths = "//src/minitest/dev/": change = 13445]
    zenspider committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    0b4c429 View commit details
    Browse the repository at this point in the history
Loading