Permalink
Browse files

Updated history and docs

  • Loading branch information...
1 parent da39d0f commit e2bec9f5ae946478545adbf229cae982cdc64f8f Loren West committed Nov 7, 2012
View
@@ -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
===================
@@ -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">
@@ -418,7 +418,7 @@
<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">
View
@@ -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">
@@ -314,7 +314,7 @@
<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">
View
@@ -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">
@@ -1358,7 +1358,7 @@ <h3 id="methods">Methods</h3>
<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">
View
@@ -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">
@@ -120,7 +120,7 @@
<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">
View
@@ -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">
@@ -120,7 +120,7 @@
<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">
View
@@ -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">
@@ -626,10 +626,14 @@
<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>
@@ -1175,7 +1179,7 @@
<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">
View
@@ -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">
@@ -98,7 +98,7 @@
<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">
View
@@ -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">
@@ -290,7 +290,7 @@
<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">
View
@@ -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">
@@ -141,7 +141,7 @@
<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">
View
@@ -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">
@@ -113,7 +113,7 @@
<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">
View

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit e2bec9f

Please sign in to comment.