58 Commits
Author SHA1 Message Date
josh abbc14e965 v1.3.0 2017-09-08 14:01:07 -04:00
josh 3518141baa Use Integer instead of Fixnum 2017-09-08 14:00:25 -04:00
josh 33c000a6ca update several gems 2017-09-08 13:57:56 -04:00
josh dfb7ff75cb v1.2.0 2016-04-19 08:55:01 -04:00
josh d011cdc374 add v1.2.0 release notes 2016-04-19 08:54:48 -04:00
josh 3709cc7fef Close #1 - Always return non-frozen strings 2016-04-19 08:52:02 -04:00
josh e852d2755c clean up class method declaration slightly using class << self syntax 2016-04-19 08:37:39 -04:00
josh 6cf70753f4 update gems; robustify usage of raise_error rspec matcher 2016-04-19 08:33:30 -04:00
josh 80b2f7b63c v1.1.0 2014-06-25 15:33:31 -04:00
josh 72834425c3 add release notes to README.md 2014-06-25 15:31:40 -04:00
josh 1b49c06a85 require spec_helper from .rspec 2014-06-25 15:30:11 -04:00
josh 4c6f8c0250 update README 2014-06-25 15:28:20 -04:00
josh 8842a855d8 add gem badge 2014-06-25 15:24:03 -04:00
josh b79acd049f allow nil and :boolean to be option configuration values 2014-06-25 15:22:39 -04:00
josh 0eb754814e document :boolean option flag 2014-06-25 15:15:09 -04:00
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 f74253844b use .is_a?() instead of .class == 2014-06-25 14:53:22 -04:00
josh 4e18e729c3 switch to YARD for documentation 2014-06-25 14:52:39 -04:00
josh 2099aaa6e0 update to RSpec 3.0 2014-06-25 14:11:39 -04:00
josh 31c63790f9 rename Rakefile -> Rakefile.rb 2014-06-25 14:06:24 -04:00
josh 5b07b4da96 version Gemfile.lock; call Bundler.setup() in Rakefile 2014-06-25 14:06:13 -04:00
josh c5ea73acfd remove some unnecessary stuff from spec_helper.rb 2013-05-06 13:39:28 -04:00
josh 34ee9a1b09 close parentheses 2013-05-02 11:16:05 -04:00
josh 5eca5e7657 fix example options in README 2013-05-02 11:12:21 -04:00
josh 64e084b0d4 add Yawpa.parse() documentation to README.md 2013-05-02 11:11:00 -04:00
josh ecf5e5e891 v1.0.0 2013-05-02 10:52:43 -04:00
josh e7164589ab document that an exception might be raised on parse() 2013-05-02 10:45:02 -04:00
josh 0b2193b3d4 use one exception class for all argument parsing errors 2013-05-02 10:43:54 -04:00
josh f55fb38e05 expand documentation a bit more 2013-05-02 10:38:45 -04:00
josh 9b19afea20 expand documentation 2013-05-02 10:14:09 -04:00
josh 543ce97e10 add rdoc task 2013-05-02 09:56:05 -04:00
josh 55389866ee add second example usage to README 2013-01-23 21:56:26 -05:00
josh 96277b62d0 update usage information / example configuration 2013-01-23 21:51:03 -05:00
josh 6ae8e62f7b implement posix_order flag 2013-01-22 18:09:44 -05:00
josh dd4148a3d6 refactor more common processing into _gather() 2013-01-22 14:43:26 -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 40ecadd056 add _massage_options() to simplify parse() 2013-01-21 22:11:57 -05:00
josh ef860a8eee internally convert nargs to a range if it was a Fixnum for processing 2013-01-21 21:44:16 -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 91846e741e refactor using _gather() 2013-01-21 16:45:00 -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 b2b0d90c4d update README to remove direct subcommand support 2013-01-20 22:08:12 -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 1b192e422d colorize rspec 2013-01-20 20:34:14 -05:00
josh c00ca806a5 set up rspec 2013-01-20 20:12:17 -05:00
josh 2ef0aa05e1 add description information 2013-01-20 19:50:17 -05:00
josh a8dfa3ed8a initial bundle gem contents 2013-01-20 19:28:49 -05:00