Commits on Mar 26, 2013
  1. Prepare for version 0.18.0

    sferik committed Mar 26, 2013
Commits on Mar 19, 2013
Commits on Mar 13, 2013
  1. Merge pull request #312 from JoshCheek/master

    Make error messages more helpful
    sferik committed Mar 13, 2013
Commits on Mar 5, 2013
  1. Merge pull request #313 from elgalu/option_exclude_pattern

    New feature: Add directory() config[:exclude_pattern]
    sferik committed Mar 5, 2013
  2. Merge pull request #314 from cynicaljoy/master

    Updated the
    sferik committed Mar 5, 2013
Commits on Mar 4, 2013
Commits on Mar 1, 2013
  1. Error message wording

    Implements changes suggested by sferik in #312
    In the error messages for handling incorrect number of arguments
    * Remove branch from if statement that will never be hit.
    * Put error message on two lines
    * Use "arguments" instead of "args"
    JoshCheek committed Mar 1, 2013
  2. Make error messages more helpful

    When passing the wrong number of args to a command, it will now tell you
    what args were passed.
    This is useful in cases where it is unclear what the arguments are. For
    example, we were invoking the binary from a script which was not
    properly escaping the arguments that it was forwarding. This caused the
    invocation `--option="1 2"` to be passed as `--option=1 2` and `2` became
    an argument to the command, which took about half an hour to figure out
    (plus, the hour my QA spent trying to figure it out herself before I
    could look at it with her). If it had told me that it was receiving the
    argument `2`, it would have been pretty clear that it was an escaping
    I removed the arity from the message because in the case of optional
    arguments, it would output a negative number, which is confusing for
    I didn't include the signature, because 1.8.7 was listed in the
    .travis.yml, and it does not have the ability to reflect on parameters.
    Plus, again, if the end-user is not a rubyist, then that kind of error
    message would probably be too technical. So instead, just print the
    JoshCheek committed Mar 1, 2013
Commits on Feb 28, 2013
  1. Add directory() config[:exclude_pattern] to prevent copying files tha…

    …t match certain regexp
    elgalu committed Feb 28, 2013
Commits on Feb 27, 2013
  1. Revert "Slightly more sensible error when no args required"

    No longer really needed as of dbbfea8.
    This reverts commit 8e0c8c9.
    eventualbuddha committed Feb 27, 2013
  2. Merge pull request #310 from lemurheavy/master

    Updated coveralls gem to 0.5.7 to fix Travis crash
    sferik committed Feb 27, 2013
Commits on Feb 26, 2013
  1. Fix indentation [ci skip]

    sferik committed Feb 26, 2013
  2. Merge pull request #309 from eval/attr-methods-respect-visibility

    attr_* yields public methods
    sferik committed Feb 26, 2013
Commits on Feb 25, 2013
  1. Consider methods added via attr_* no commands

    Remove attr_* methods as this resulted in attributes being added as
    public_instance_methhods, no matter the visibility.
    eval committed Feb 25, 2013
  2. Spec unwanted behavior attr_*

    eval committed Feb 25, 2013
  3. Enhance performance

    Instead of calling Module#public_instance_methods (twice), and iterating
    over the instantiated array (twice), simply call Module#public_method_defined?.
    sferik committed Feb 25, 2013
  4. Merge pull request #308 from wycats/rename_task

    Rename task -> command
    wycats committed Feb 25, 2013
Commits on Feb 24, 2013
  1. Rename task -> command

    Add aliases to old names for backward compatibility.
    sferik committed Feb 24, 2013
  2. Tests multiple aliases

    wycats committed Feb 24, 2013
Commits on Feb 23, 2013
  1. Pass parent_options to subcommands 🤘

    Closes #284.
    sferik committed Feb 23, 2013
  2. Just require it

    Welcome to 2013. Don't do crazy File.expland_path. While we're at it,
    rename spec_helper.rb to helper.rb.
    sferik committed Feb 23, 2013
  3. Merge pull request #298 from mpasternacki/bugfix/double-dash-with-sto…

    Prevent `stop_on_unknown_option!` from eating `--`
    wycats committed Feb 23, 2013
  4. Merge pull request #304 from aspiers/master

    fix warnings from 'hidden' test (issue #265)
    sferik committed Feb 23, 2013
Commits on Feb 16, 2013
  1. fix warnings from 'hidden' test (issue #265)

    The warning from the 'hidden' test was caused by invoking
    the `hidden` command with no arguments when it was defined
    as requiring one argument.  Calling with the correct number
    of arguments silences the warning.
    Adam Spiers committed Feb 16, 2013
Commits on Feb 14, 2013