Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Node 0.5.x/0.6.x compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed Oct 27, 2011
1 parent f6de620 commit 3ce71bd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Selleck History
===============

0.1.7 (git)
-----------

* Node 0.5.x/0.6.x compatibility.


0.1.6 (2011-09-27)
------------------

Expand Down
6 changes: 0 additions & 6 deletions bin/selleck
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,7 @@ while ((arg = argv.shift())) {

case '--help':
case '-h':
// WTF. This is seriously the only way I've been able to figure out to
// make Node reliably flush to stdout before exiting. It's ridiculous.
// This is stupid.
process.stdout.write(help);
while (!process.stdout.flush()) {};
process.exit();
break;

Expand Down Expand Up @@ -175,9 +171,7 @@ while ((arg = argv.shift())) {
""
].join('\n');

// See rant above re. forcing Node to flush stdout before exiting.
process.stdout.write(version);
while (!process.stdout.flush()) {};
process.exit();
break;

Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,29 @@
"name" : "selleck",
"description": "Generator for YUI's Handlebars-based user documentation.",

"version" : "0.1.6",
"version" : "0.1.7-git",
"homepage" : "https://github.com/rgrove/selleck/",
"author" : "Ryan Grove <ryan@wonko.com> (http://wonko.com/)",
"copyright" : "Copyright (c) 2011 Yahoo! Inc. All rights reserved.",

"keywords" : ["yui", "handlebars", "mustache", "docs", "documentation"],

"licenses": [
{"type": "BSD", "url": "http://developer.yahoo.com/yui/license.html"}
{"type": "BSD", "url": "http://yuilibrary.com/license/"}
],

"repository": [
{"type": "git", "url": "git://github.com/rgrove/selleck.git"}
],
"repository": {
"type": "git",
"url" : "git://github.com/rgrove/selleck.git"
},

"engines": [
"node ~0.4.0",
"npm >=0.3.1 <1.1.0"
"node 0.4 || 0.5 || 0.6",
"npm ~1.0.0"
],

"dependencies": {
"express" : ">=2.3.0 <2.5.0"
"express" : ">=2.3.0 <2.6.0",
},

"main": "index",
Expand Down

0 comments on commit 3ce71bd

Please sign in to comment.