From 5bb493e83fdf933b9ea2f1002dc2a1ef90230754 Mon Sep 17 00:00:00 2001 From: Michael Morrison Date: Sat, 13 Sep 2014 09:43:02 -0500 Subject: [PATCH] Update readme, bump to 0.2.6 --- .gitignore | 1 + README.md | 2 ++ bin/genreadme.js | 4 +--- package.json | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 07e6e47..7a3a95d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /node_modules +/npm-debug.log diff --git a/README.md b/README.md index 4de5089..04136c7 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ Supported Games --- + * Age of Chivalry (ageofchivalry) * Age of Empires 2 (aoe2) [[Separate Query Port](#separate-query-port)] * Alien Arena (alienarena) [[Separate Query Port](#separate-query-port)] @@ -289,6 +290,7 @@ Supported Games * Xpand Rally (xpandrally) [[Separate Query Port](#separate-query-port)] * Zombie Master (zombiemaster) * Zombie Panic: Source (zps) + Don't see your game listed here? diff --git a/bin/genreadme.js b/bin/genreadme.js index 0f159be..81cee99 100644 --- a/bin/genreadme.js +++ b/bin/genreadme.js @@ -13,9 +13,7 @@ var marker_bottom = ''; var start = readme.indexOf(marker_top); start += marker_top.length; -while(readme.charAt(start) == "\n" || readme.charAt(start) == "\r") { start++; } - var end = readme.indexOf(marker_bottom); -var updated = readme.substr(0,start)+generated+readme.substr(end); +var updated = readme.substr(0,start)+"\n\n"+generated+"\n"+readme.substr(end); fs.writeFileSync(readmeFilename, updated); diff --git a/package.json b/package.json index a024894..50dafb9 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "main": "lib/index.js", "author": "Michael Morrison", - "version": "0.2.5", + "version": "0.2.6", "repository" : { "type" : "git", "url" : "https://github.com/sonicsnes/node-gamedig.git"