18 Commits

Author SHA1 Message Date
ef860a8eee internally convert nargs to a range if it was a Fixnum for processing 2013-01-21 21:44:16 -05:00
21d64600dc add test for strings as keys for option configuration 2013-01-21 21:21:51 -05:00
bf60247b50 add test for an option passed in twice 2013-01-21 21:19:36 -05:00
91846e741e refactor using _gather() 2013-01-21 16:45:00 -05:00
1a5de331d9 test --opt=val syntax for nargs > 1 2013-01-21 16:15:17 -05:00
704ed971ac test --opt=val syntax 2013-01-21 16:13:55 -05:00
c7c21ca97e test exception on not enough arguments to option 2013-01-21 16:12:34 -05:00
fc90798459 test option with nargs = 2 2013-01-21 16:11:29 -05:00
4a693ba1ea return argument value when nargs = 1 2013-01-21 16:10:07 -05:00
056257b8f5 return boolean options set 2013-01-20 22:54:06 -05:00
56e644e16e raise exception on unknown option 2013-01-20 22:28:36 -05:00
b2b0d90c4d update README to remove direct subcommand support 2013-01-20 22:08:12 -05:00
1a1b18b62e reformat spec to test parse() results separately 2013-01-20 20:35:34 -05:00
67e9ec2c64 start working on parse() 2013-01-20 20:34:29 -05:00
1b192e422d colorize rspec 2013-01-20 20:34:14 -05:00
c00ca806a5 set up rspec 2013-01-20 20:12:17 -05:00
2ef0aa05e1 add description information 2013-01-20 19:50:17 -05:00
a8dfa3ed8a initial bundle gem contents 2013-01-20 19:28:49 -05:00