Skip to content

Commit

Permalink
Updated history and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Loren West committed Nov 7, 2012
1 parent da39d0f commit e2bec9f
Show file tree
Hide file tree
Showing 12 changed files with 59 additions and 54 deletions.
1 change: 1 addition & 0 deletions History.md
Expand Up @@ -4,6 +4,7 @@
* Moved coffee-script and js-yaml from optionalDependencies back to
devDependencies to trim the install size for those not needing
these packages.
* Promoted $HOSTNAME and $HOST above OS.hostname()

0.4.17 / 2012-09-26
===================
Expand Down
10 changes: 5 additions & 5 deletions doc/1-protected-test.js.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test 1-protected-test.js </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.79" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.79" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.79"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.79"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -418,7 +418,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/2-config-test.js.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test 2-config-test.js </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.79" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.79" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.79"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.79"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -314,7 +314,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/Config.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>config Config </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.48" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.48" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.81" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.81" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.48"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.48"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.81"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.81"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -1358,7 +1358,7 @@ <h4>Methods</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/ConfigTest.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test ConfigTest </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.79" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.79" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.79"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.79"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -120,7 +120,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/ProtectedTest.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test ProtectedTest </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.79" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.79" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.79"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.79"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -120,7 +120,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
20 changes: 12 additions & 8 deletions doc/config.js.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>config config.js </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.48" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.48" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.81" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.81" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.48"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.48"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.81"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.81"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -626,10 +626,14 @@ <h1><a href="https://github.com/lorenwest/node-config" title="Node.js Configurat
<span class="c1">// Determine the host name from the OS module, $HOST, or $HOSTNAME</span>
<span class="c1">// Remove any . appendages, and default to null if not set</span>
<span class="k">try</span> <span class="p">{</span>
<span class="kd">var</span> <span class="nx">OS</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;os&#39;</span><span class="p">);</span>
<span class="kd">var</span> <span class="nx">hostName</span> <span class="o">=</span> <span class="nx">OS</span><span class="p">.</span><span class="nx">hostname</span><span class="p">();</span>
<span class="kd">var</span> <span class="nx">hostName</span> <span class="o">=</span> <span class="nx">process</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">HOST</span> <span class="o">||</span> <span class="nx">process</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">HOSTNAME</span><span class="p">;</span>

<span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="nx">hostName</span><span class="p">)</span> <span class="p">{</span>
<span class="kd">var</span> <span class="nx">OS</span> <span class="o">=</span> <span class="nx">require</span><span class="p">(</span><span class="s1">&#39;os&#39;</span><span class="p">);</span>
<span class="nx">hostName</span> <span class="o">=</span> <span class="nx">OS</span><span class="p">.</span><span class="nx">hostname</span><span class="p">();</span>
<span class="p">}</span>
<span class="p">}</span> <span class="k">catch</span> <span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
<span class="nx">hostName</span> <span class="o">=</span> <span class="nx">process</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">HOST</span> <span class="o">||</span> <span class="nx">process</span><span class="p">.</span><span class="nx">env</span><span class="p">.</span><span class="nx">HOSTNAME</span><span class="p">;</span>
<span class="nx">hostName</span> <span class="o">=</span> <span class="s1">&#39;&#39;</span><span class="p">;</span>
<span class="p">}</span>
<span class="nx">hostName</span> <span class="o">=</span> <span class="nx">hostName</span> <span class="o">?</span> <span class="nx">hostName</span><span class="p">.</span><span class="nx">split</span><span class="p">(</span><span class="s1">&#39;.&#39;</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span> <span class="o">:</span> <span class="kc">null</span><span class="p">;</span>

Expand Down Expand Up @@ -1175,7 +1179,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/default.js.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test default.js </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.79" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.79" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.79"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.79"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -98,7 +98,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/index.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title> </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.51" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.51" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.84" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.84" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.51"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.51"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.84"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.84"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -290,7 +290,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/module_config.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>config </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.48" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.48" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.81" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.81" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.48"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.48"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.81"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.81"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -141,7 +141,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
10 changes: 5 additions & 5 deletions doc/module_test.html
Expand Up @@ -4,11 +4,11 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>test </title>

<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1348692006.46" />
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css?stamp=1352250494.79" />
<link rel="stylesheet" type="text/css" href="assets/api.css?stamp=1352250494.79" />

<script type="text/javascript" src="assets/api-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1348692006.46"></script>
<script type="text/javascript" src="assets/api-js?stamp=1352250494.79"></script>
<script type="text/javascript" src="assets/ac-js?stamp=1352250494.79"></script>
</head>

<body id="node-monitor">
Expand Down Expand Up @@ -113,7 +113,7 @@ <h4>Files</h4>
<div id="ft">
<hr />
Released on <a href="https://github.com/lorenwest/node-config">github</a> under the <a href="https://github.com/lorenwest/node-config/blob/master/LICENSE">Apache License 2.0</a>
<span class="subtitle">version 0.4.17</span>
<span class="subtitle">version 0.4.18</span>
</div>
</div>
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion doc/raw.json

Large diffs are not rendered by default.

0 comments on commit e2bec9f

Please sign in to comment.