Skip to content

Commit

Permalink
Depend on passport-oauth2, remove pkginfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Aug 24, 2015
1 parent 991574d commit 132dc85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ var Strategy = require('./strategy');


/**
* Framework version.
* Expose `Strategy` directly from package.
*/
require('pkginfo')(module, 'version');
exports = module.exports = Strategy;

/**
* Expose constructors.
Expand Down
4 changes: 2 additions & 2 deletions lib/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* Module dependencies.
*/
var util = require('util')
, OAuth2Strategy = require('passport-oauth').OAuth2Strategy
, InternalOAuthError = require('passport-oauth').InternalOAuthError;
, OAuth2Strategy = require('passport-oauth2')
, InternalOAuthError = require('passport-oauth2').InternalOAuthError;


/**
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
} ],
"main": "./lib",
"dependencies": {
"pkginfo": "0.2.x",
"passport-oauth": "~0.1.2"
"passport-oauth2": "1.x.x"
},
"devDependencies": {
"vows": "0.8.x"
Expand Down
3 changes: 0 additions & 3 deletions test/index-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ var dwolla = require('..');
vows.describe('passport-dwolla').addBatch({

'module': {
'should report a version': function (x) {
assert.isString(dwolla.version);
},
},

}).export(module);

0 comments on commit 132dc85

Please sign in to comment.