From bc214470953a77cd53411fd8688a45ed9cc664f2 Mon Sep 17 00:00:00 2001 From: Mark Lussier Date: Thu, 8 Mar 2012 14:38:41 -0800 Subject: [PATCH] 0.0.1 release --- README.md | 6 +++--- package.json | 12 ++++++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 31b3edb..b2f463a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ #About -[restify-plugins](https://github.com/intabulas/restify-plugins) is a set of experimental plugins for [restify](http://mcavage.github.com/node-restify) that places our opinions ontop of restify's in the areas we disagree on +[restful-versioning](https://github.com/intabulas/restful-versioning) is a set of experimental plugins for [restify](http://mcavage.github.com/node-restify) that places our opinions ontop of restify's in the areas we disagree on Currently there is not much here, and in fact all that is here now is a test to extract an API version from a **Accept** header param for our custom mime-type. It simply extracts it and sets **X-API-Version** accordingly. We have some others comming like an alternate accept parsers that will support custom content types (ie: application/vnd. etc) @@ -8,7 +8,7 @@ Currently there is not much here, and in fact all that is here now is a test to since we havent put this into the npm registry yet, you can add it to your package.json as a depedency using the http git url - "restify-plugins": "git://github.com/intabulas/restify-plugins.git" + $ npm install restful-versioning ## License @@ -35,4 +35,4 @@ SOFTWARE. ## Bugs -See . +See . diff --git a/package.json b/package.json index 7fbb7dd..d0000ae 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,18 @@ { "name" : "restful-versioning", "version" : "0.0.1", - "description" : "Restify middleware that will extract the API version from the Accept header", + "description" : "restify middleware that will extract the API version from the Accept header", "main": "lib/index.js", "directories": { "lib": "./lib" }, - "repository" : "git://github.com/intabulas/restify-plugins.git" + "repository" : { + "type": "git", + "url": "git://github.com/intabulas/restful-versioning.git" + }, + "license": "MIT", + "engine": { + "node": ">= 0.4" + } + } \ No newline at end of file