Update readme, bump to 0.2.6

This commit is contained in:
Michael Morrison 2014-09-13 09:43:02 -05:00
parent fce7a53f35
commit 5bb493e83f
4 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/node_modules /node_modules
/npm-debug.log

View file

@ -71,6 +71,7 @@ Supported Games
--- ---
<!--- BEGIN GENERATED GAMES --> <!--- BEGIN GENERATED GAMES -->
* Age of Chivalry (ageofchivalry) * Age of Chivalry (ageofchivalry)
* Age of Empires 2 (aoe2) [[Separate Query Port](#separate-query-port)] * Age of Empires 2 (aoe2) [[Separate Query Port](#separate-query-port)]
* Alien Arena (alienarena) [[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)] * Xpand Rally (xpandrally) [[Separate Query Port](#separate-query-port)]
* Zombie Master (zombiemaster) * Zombie Master (zombiemaster)
* Zombie Panic: Source (zps) * Zombie Panic: Source (zps)
<!--- END GENERATED GAMES --> <!--- END GENERATED GAMES -->
Don't see your game listed here? Don't see your game listed here?

View file

@ -13,9 +13,7 @@ var marker_bottom = '<!--- END GENERATED GAMES -->';
var start = readme.indexOf(marker_top); var start = readme.indexOf(marker_top);
start += marker_top.length; start += marker_top.length;
while(readme.charAt(start) == "\n" || readme.charAt(start) == "\r") { start++; }
var end = readme.indexOf(marker_bottom); 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); fs.writeFileSync(readmeFilename, updated);

View file

@ -11,7 +11,7 @@
], ],
"main": "lib/index.js", "main": "lib/index.js",
"author": "Michael Morrison", "author": "Michael Morrison",
"version": "0.2.5", "version": "0.2.6",
"repository" : { "repository" : {
"type" : "git", "type" : "git",
"url" : "https://github.com/sonicsnes/node-gamedig.git" "url" : "https://github.com/sonicsnes/node-gamedig.git"