Skip to content

Commit

Permalink
Merge branch 'v0.6'
Browse files Browse the repository at this point in the history
Conflicts:
	package.json
  • Loading branch information
mde committed Nov 20, 2012
2 parents 142c02e + e31eb8b commit f5964aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
15 changes: 2 additions & 13 deletions lib/cluster/worker.js
Expand Up @@ -91,23 +91,12 @@ Worker.prototype = new (function () {
, ssl = this.config.ssl ? ' (SSL)' : ''
, spdy = this.config.spdy ? '(SPDY)' : '';

utils.network.isPortOpen(port, hostname, function (err, isOpen) {
if (err) {
self.log.error(err);
}
else if (isOpen) {
self.log.error("The port " + port + " is already in use.");
}
else {
self.server.listen(port, hostname, function () {

this.server.listen(port, hostname, function () {
self.log.info('Server worker running in ' + self.config.environment +
' on port ' + self.config.port + ssl + spdy + ' with a PID of: ' + process.pid);
' on port ' + self.config.port + ssl + spdy + ' with a PID of: ' + process.pid);
self.log.debug('LOGGING STARTED ============================================');
self.log.debug('============================================================');
});
}
});
}
else {
this.log.error('Cannot start server without config.');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"MVC",
"realtime"
],
"version": "0.6.2",
"version": "0.6.13",
"author": "Matthew Eernisse <mde@fleegix.org> (http://fleegix.org)",
"dependencies": {
"jake": "0.5.x",
Expand Down
4 changes: 3 additions & 1 deletion templates/Jakefile
Expand Up @@ -767,7 +767,7 @@ namespace('auth', function () {
var go = false
// FIXME: Pull these version numbers out of geddy-passport's package.json
, packages = 'geddy-passport@0.0.x passport@0.1.x passport-local@0.1.x ' +
'passport-facebook@0.1.x passport-twitter@0.1.x'
'passport-facebook@0.1.x passport-twitter@0.1.x passport-yammer@0.1.x'
, readline = require('readline')
, rl = readline.createInterface({
input: process.stdin
Expand Down Expand Up @@ -818,6 +818,8 @@ namespace('auth', function () {
"router.get('/auth/twitter/callback').to('Auth.twitterCallback');\n" +
"router.get('/auth/facebook').to('Auth.facebook');\n" +
"router.get('/auth/facebook/callback').to('Auth.facebookCallback');\n" +
"router.get('/auth/yammer').to('Auth.yammer');\n" +
"router.get('/auth/yammer/callback').to('Auth.yammerCallback');\n" +
"router.resource('users');";

if (addRoute(routerPath, newRoute)) {
Expand Down

0 comments on commit f5964aa

Please sign in to comment.