Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip alias versions by default, add --aliases. #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 29, 2016

  1. Skip alias versions, add --with-aliases option.

    By default, skip ruby versions that are aliases. I'm having a hard time
    thinking of any reason you would want to run the command on the same
    ruby version multiple times by default.
    
    Also tweak the option parsing and usage messages in support of this
    change.
    
    With versions `2.1 => 2.1.7`, `2.1.6`, and `2.1.7`:
    
        $ rbenv each ruby --version
        ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
        ruby 2.1.7p400 (2015-08-18 revision 51632) [x86_64-linux]
    
        $ rbenv each --with-aliases ruby --version
        ruby 2.1.7p400 (2015-08-18 revision 51632) [x86_64-linux]
        ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
        ruby 2.1.7p400 (2015-08-18 revision 51632) [x86_64-linux]
    ab committed Mar 29, 2016
    Configuration menu
    Copy the full SHA
    50e91f2 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2016

  1. Configuration menu
    Copy the full SHA
    27ee84d View commit details
    Browse the repository at this point in the history