Skip to content
Browse files

Update package metadata.

  • Loading branch information...
1 parent 58bde95 commit 1d59545381bed34f174af804dabd9d1ca8518fd4 @jaredhanson committed Mar 4, 2012
Showing with 33 additions and 8 deletions.
  1. +4 −0 .travis.yml
  2. +1 −1 Makefile
  3. +11 −4 README.md
  4. +17 −3 package.json
View
4 .travis.yml
@@ -0,0 +1,4 @@
+language: "node_js"
+node_js:
+ - 0.4
+ - 0.6
View
2 Makefile
@@ -1,5 +1,5 @@
NODE = node
-TEST = vows
+TEST = ./node_modules/.bin/vows
TESTS ?= test/*-test.js
test:
View
15 README.md
@@ -40,10 +40,6 @@ application:
res.json(req.user);
});
-#### Examples
-
-For a complete, working example, refer to the [Bearer example](https://github.com/jaredhanson/passport-http-bearer/tree/master/examples/bearer).
-
## Implementation
This module is implemented based on [The OAuth 2.0 Authorization Protocol: Bearer Tokens](http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-12),
@@ -52,6 +48,17 @@ specification and update update their implementations as necessary.
Furthermore, the implications of relying on a non-final draft specification
should be understood prior to deployment.
+## Examples
+
+For a complete, working example, refer to the [Bearer example](https://github.com/jaredhanson/passport-http-bearer/tree/master/examples/bearer).
+
+## Tests
+
+ $ npm install --dev
+ $ make test
+
+[![Build Status](https://secure.travis-ci.org/jaredhanson/passport-http-bearer.png)](http://travis-ci.org/jaredhanson/passport-http-bearer)
+
## Credits
- [Jared Hanson](http://github.com/jaredhanson)
View
20 package.json
@@ -2,15 +2,29 @@
"name": "passport-http-bearer",
"version": "0.1.0",
"description": "HTTP Bearer authentication strategy for Passport.",
- "author": "Jared Hanson <jaredhanson@gmail.com> (http://www.jaredhanson.net/)",
+ "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" },
"repository": {
"type": "git",
- "url": "http://github.com/jaredhanson/passport-http-bearer.git"
+ "url": "git://github.com/jaredhanson/passport-http-bearer.git"
+ },
+ "bugs": {
+ "url": "http://github.com/jaredhanson/passport-http-bearer/issues"
},
"main": "./lib/passport-http-bearer",
"dependencies": {
- "passport": ">= 0.1.3"
+ "pkginfo": "0.2.x",
+ "passport": "~0.1.3"
+ },
+ "devDependencies": {
+ "vows": "0.6.x"
+ },
+ "scripts": {
+ "test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js"
},
"engines": { "node": ">= 0.4.0" },
+ "licenses": [ {
+ "type": "MIT",
+ "url": "http://www.opensource.org/licenses/MIT"
+ } ],
"keywords": ["passport", "http", "bearer", "oauth", "authn", "authentication"]
}

0 comments on commit 1d59545

Please sign in to comment.
Something went wrong with that request. Please try again.