<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> File: CHANGELOG — Documentation by YARD 0.9.16 </title> <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" /> <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> pathId = "CHANGELOG"; relpath = ''; </script> <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script> <script type="text/javascript" charset="utf-8" src="js/app.js"></script> </head> <body> <div class="nav_wrap"> <iframe id="nav" src="file_list.html?1"></iframe> <div id="resizer"></div> </div> <div id="main" tabindex="-1"> <div id="header"> <div id="menu"> <a href="_index.html">Index</a> » <span class="title">File: CHANGELOG</span> </div> <div id="search"> <a class="full_list_link" id="class_list_link" href="class_list.html"> <svg width="24" height="24"> <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> </svg> </a> </div> <div class="clear"></div> </div> <div id="content"><div id='filecontents'> <h1 id="label-Version+history">Version history</h1> <dl class="rdoc-list label-list"><dt>0.2.4 <dd> <p>Bugfix for apply method. Wrong return type for some option types.</p> </dd><dt>0.2.3 <dd> <p>Added “:comp” as new option type. It allows specifying a</p> <pre class="code ruby"><code class="ruby">single argument option multiple times. </code></pre> </dd><dt>0.2.2 <dd> <p>Must have “-h” with mutex prim to prevent subcmd error.</p> </dd><dt>0.2.1 <dd> <p>Handle unknown subcmd/no-default case gracefully.</p> </dd><dt>0.2.0 <dd> <p>Support for option type definition through primitives. Almost fully backwards compatible with previous versions.</p> </dd><dt>0.1.7 <dd> <p>Added to_hopt method to Opt.</p> </dd><dt>0.1.6 <dd> <p>Added to_hash method to Opt.</p> </dd><dt>0.1.5 <dd> <p>Moved evalCheck from private methods to public methods. Opt.error/fatal/warn API methods.</p> </dd><dt>0.1.4 <dd> <p>Documentation improvements (links to methods). Fix to Opt#apply return value when type is :switch. Opt#fatal added for user error reporting towards command line user. Non-existing options for option with multiple values defaults</p> <pre class="code ruby"><code class="ruby">to an empty array. </code></pre> <p>Possibility to separate option definition and execution.</p> </dd><dt>0.1.3 <dd> <p>Customization through COMO env variable and hooks. Version information returned programmatically with Como.version. “command” is aliased to “subcmd” to enable highlighting of the main command. Aliases for “Spec.checkRule” and “Spec#checkRule”.</p> </dd><dt>0.1.2 <dd> <p>“:check_invalid” applied correctly. Header and footer configs has to include all newlines explicitly. “:error_exit” config removed (always exit with error). Exclusive option type can have zero to many arguments. Switch-options have no values only “given” should be checked. Small changes in generated usage info display. Errors are output to stderr (not stdout).</p> </dd><dt>0.1.1 <dd> <p>Testcases use relative require to local dir. Rulecheck fixes: incr and follow.</p> </dd><dt>0.1.0 <dd> <p>Subcommand feature added along with major refactoring in class' content. Many small changes to usage model, but backwards compatible.</p> </dd><dt>0.0.3 <dd> <p>Self-value operator “~” added. Parser for options including parameter settings, i.e. the Opt#params method added.</p> </dd><dt>0.0.2 <dd> <p>Opt#given is allowed an optinal block argument.</p> </dd><dt>0.0.1 <dd> <p>Initial version.</p> </dd></dl> </div></div> <div id="footer"> Generated on Sun Oct 21 19:10:52 2018 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> 0.9.16 (ruby-2.5.1). </div> </div> </body> </html>