Commit Graph
20 Commits
Author SHA1 Message Date
josh d33d082272 turn on simplecov 2014-06-25 15:06:33 -04:00
josh a78ee7275e implement :boolean option flag 2014-06-25 15:05:19 -04:00
josh 2099aaa6e0 update to RSpec 3.0 2014-06-25 14:11:39 -04:00
josh c5ea73acfd remove some unnecessary stuff from spec_helper.rb 2013-05-06 13:39:28 -04:00
josh 6ae8e62f7b implement posix_order flag 2013-01-22 18:09:44 -05:00
josh e5d93df4ae add more test cases for short options 2013-01-22 14:13:19 -05:00
josh 90d2a938d5 return option value for short option also 2013-01-22 14:03:27 -05:00
josh cf049aed2f process configured short options 2013-01-22 13:54:22 -05:00
josh 21d64600dc add test for strings as keys for option configuration 2013-01-21 21:21:51 -05:00
josh bf60247b50 add test for an option passed in twice 2013-01-21 21:19:36 -05:00
josh 1a5de331d9 test --opt=val syntax for nargs > 1 2013-01-21 16:15:17 -05:00
josh 704ed971ac test --opt=val syntax 2013-01-21 16:13:55 -05:00
josh c7c21ca97e test exception on not enough arguments to option 2013-01-21 16:12:34 -05:00
josh fc90798459 test option with nargs = 2 2013-01-21 16:11:29 -05:00
josh 4a693ba1ea return argument value when nargs = 1 2013-01-21 16:10:07 -05:00
josh 056257b8f5 return boolean options set 2013-01-20 22:54:06 -05:00
josh 56e644e16e raise exception on unknown option 2013-01-20 22:28:36 -05:00
josh 1a1b18b62e reformat spec to test parse() results separately 2013-01-20 20:35:34 -05:00
josh 67e9ec2c64 start working on parse() 2013-01-20 20:34:29 -05:00
josh c00ca806a5 set up rspec 2013-01-20 20:12:17 -05:00