summaryrefslogtreecommitdiff
path: root/test
Commit message (Expand)AuthorAgeFilesLines
...
* Handle default valuesLee Jarvis2014-11-191-0/+6
* Add more option typesLee Jarvis2014-11-191-0/+54
* Store executed count on optionsLee Jarvis2014-11-191-0/+7
* Ignore everything after -- and reset the parserLee Jarvis2014-11-191-0/+5
* Expose used/unused options in parserLee Jarvis2014-11-191-0/+24
* Add public "get" methods to ResultLee Jarvis2014-11-191-4/+27
* Add Result#to_hashLee Jarvis2014-11-192-0/+28
* Add Options#to_s help stringLee Jarvis2014-11-192-0/+32
* Start of rewriteLee Jarvis2014-11-186-260/+62
* Added Command#processLee Jarvis2013-08-291-0/+12
* Beginning of Slop 4.0 rewriteLee Jarvis2013-08-293-569/+179
* Slop is no longer enumerable, you should use Slop#optionsLee Jarvis2013-08-131-8/+0
* Slop::Error now has a slop attribute and a help methodLee Jarvis2013-08-131-0/+10
* Slop is now strict by default, and adds --help by defaultLee Jarvis2013-08-132-8/+8
* remove Slop::Commands as it was originallyLee Jarvis2013-08-131-26/+0
* remove deprecated Slop.optspecLee Jarvis2013-08-131-18/+0
* Only raise InvalidOptionError if in strict modeLee Jarvis2013-07-251-0/+5
* Ensure unknown options are reported for multiple switchesLee Jarvis2013-07-251-0/+6
* Ensure grouping multiple options still consumes trailing argumentLee Jarvis2013-05-141-0/+6
* rename MiniTest::Unit::TestCase to new Minitest::TestLee Jarvis2013-05-131-1/+1
* Allow specifying long options starting with numbersPeter Zotov2013-04-201-0/+1
* Add assert_raises(SystemExit) to prevent test suite from dying when testing -...Peter Zotov2013-04-201-4/+10
* dont push lib into load path in test helperLee Jarvis2013-03-221-4/+1
* ensure default help exit test does not print to stdoutLee Jarvis2013-03-221-3/+5
* Adding a test for the behavior added by ce2b17e and 258a21d.Autumn Perrault2013-03-101-0/+7
* avoid 1.9+ syntax in testsLee Jarvis2013-03-051-1/+1
* disable run callback when help option is usedLee Jarvis2013-03-051-0/+15
* ensure parse! removes the command and its optionsLee Jarvis2013-01-141-0/+20
* remove old command tests and comment out optspec testLee Jarvis2013-01-142-149/+17
* use temp_stdout instead of temp_stderr for redirecting help outputLee Jarvis2013-01-141-6/+6
* ensure any new options replace old ones so no duplicates existLee Jarvis2013-01-131-0/+9
* avoid 1.9 specific syntax for testsLee Jarvis2013-01-081-1/+1
* added default usage string to help outputLee Jarvis2013-01-081-2/+8
* clean up unused variables in runner testLee Jarvis2013-01-061-5/+2
* implement Slop#run methodLee Jarvis2013-01-061-0/+14
* Don't always append global/default headersKyrylo Silin2012-12-231-0/+14
* simplify testsLee Jarvis2012-10-221-6/+1
* Merge branch 'master' of github.com:injekt/slopLee Jarvis2012-10-221-0/+18
|\
| * Merge pull request #92 from kachick/fix/accept_second_argument_in_Slop#repond_toLee Jarvis2012-10-221-0/+18
| |\
| | * add test-suite for arity checker of Slop#respond_to?Kenichi Kamiya2012-10-201-0/+18
* | | Merge branch 'fix/visibility_of_Slop#method_missing' of https://github.com/ka...Lee Jarvis2012-10-221-0/+4
|\ \ \ | |/ / |/| |
| * | add test-suite for specify visibility of Slop#method_missingKenichi Kamiya2012-10-201-0/+4
| |/
* | Add test suite for to specify the interface of Commands.newKenichi Kamiya2012-10-201-0/+22
|/
* Add test suite for to specify the interface of constructorsKenichi Kamiya2012-10-151-0/+41
* Revert "fix block-scope of "Slop.new" and other constructors(e.g: Slop.parse)...Lee Jarvis2012-10-152-39/+0
* ensure 'no-foo' options are not inverted when parsing '--no-foo'Lee Jarvis2012-10-111-1/+11
* add test-case for fix Slop#to_s, that brake config-bannerKenichi Kamiya2012-10-111-0/+10
* Merge branch 'master' of github.com:injekt/slopLee Jarvis2012-09-191-0/+26
|\
| * fix block-scope of "Slop.new" and other constructors(e.g: Slop.parse), these ...Kenichi Kamiya2012-09-171-0/+26
* | support opts.foo_bar? check falling back on 'foo-bar' optionLee Jarvis2012-09-191-0/+8
|/