[Pkg-javascript-commits] [node-static] 111/151: Bumped version number to 6.0.8

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Tue Jan 7 23:18:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository node-static.

commit 5a1a08ded1b7fa11cc073572502d4ee26f177662
Author: Pablo Cantero <pablo at pablocantero.com>
Date:   Mon Apr 1 21:47:59 2013 -0300

    Bumped version number to 6.0.8
---
 lib/node-static.js | 12 ++++++------
 package.json       | 54 +++++++++++++++++++++++++++---------------------------
 2 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/lib/node-static.js b/lib/node-static.js
index 098d87f..33aac7f 100644
--- a/lib/node-static.js
+++ b/lib/node-static.js
@@ -8,7 +8,7 @@ var fs     = require('fs')
   , util   = require('./node-static/util');
 
 // Current version
-var version = [0, 6, 7];
+var version = [0, 6, 8];
 
 // In-memory file store
 var store      = {};
@@ -23,7 +23,7 @@ Server = function (root, options) {
 
     this.defaultHeaders  = {};
     this.options.headers = this.options.headers || {};
-    
+
     if ('cache' in this.options) {
         if (typeof(this.options.cache) === 'number') {
             this.cache = this.options.cache;
@@ -43,7 +43,7 @@ Server = function (root, options) {
     if (this.cache !== false) {
         this.defaultHeaders['cache-control'] = 'max-age=' + this.cache;
     }
-    
+
     for (var k in this.defaultHeaders) {
         this.options.headers[k] = this.options.headers[k] ||
                                   this.defaultHeaders[k];
@@ -82,7 +82,7 @@ Server.prototype.serveDir = function (pathname, req, res, finish) {
 Server.prototype.serveFile = function (pathname, status, headers, req, res) {
     var that = this;
     var promise = new(events.EventEmitter);
-    
+
     pathname = this.resolve(pathname);
 
     fs.stat(pathname, function (e, stat) {
@@ -170,11 +170,11 @@ Server.prototype.serve = function (req, res, callback) {
     var that    = this,
         promise = new(events.EventEmitter),
         pathname;
-    
+
     var finish = function (status, headers) {
         that.finish(status, headers, req, res, promise, callback);
     };
-  
+
     try {
         pathname = decodeURI(url.parse(req.url).pathname);
     }
diff --git a/package.json b/package.json
index 5a92e26..525129c 100644
--- a/package.json
+++ b/package.json
@@ -5,33 +5,33 @@
   "keywords" : ["http", "static", "file", "server"],
   "author" : "Alexis Sellier <self at cloudhead.net>",
   "contributors" : [
-    {
-      "name": "Pablo Cantero",
-      "email": "pablo at pablocantero.com"
-    }
+  {
+    "name": "Pablo Cantero",
+    "email": "pablo at pablocantero.com"
+  }
   ],
-  "repository": {
-    "type": "git",
-    "url": "http://github.com/cloudhead/node-static"
-  },
-  "main" : "./lib/node-static",
-  "scripts": {
-    "test": "vows --spec --isolate"
-  },
-  "bin": {
-    "static": "bin/cli.js"
-  },
-  "license" : "MIT",
-  "dependencies" : {
-    "optimist": ">=0.3.4",
-    "colors": ">=0.6.0",
-    "mime": ">=1.2.9"
-  },
-  "devDependencies" : {
-    "request": "latest",
-    "vows": "latest"
-  },
-  "version" : "0.6.7",
-  "engines" : { "node": ">= 0.4.1" }
+    "repository": {
+      "type": "git",
+      "url": "http://github.com/cloudhead/node-static"
+    },
+    "main" : "./lib/node-static",
+    "scripts": {
+      "test": "vows --spec --isolate"
+    },
+    "bin": {
+      "static": "bin/cli.js"
+    },
+    "license" : "MIT",
+    "dependencies" : {
+      "optimist": ">=0.3.4",
+      "colors": ">=0.6.0",
+      "mime": ">=1.2.9"
+    },
+    "devDependencies" : {
+      "request": "latest",
+      "vows": "latest"
+    },
+    "version" : "0.6.8",
+    "engines" : { "node": ">= 0.4.1" }
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-static.git



More information about the Pkg-javascript-commits mailing list