Skip to content
Browse files

Refactor setMask. Bump version.

  • Loading branch information...
1 parent 3cdc0f2 commit 651cecc543ecde841c60d408606bfec15302df87 @schamane schamane committed
Showing with 18 additions and 7 deletions.
  1. +7 −0 Changelog
  2. +5 −1 README
  3. +1 −1 node-syslog.js
  4. +1 −1 package.json
  5. +2 −2 syslog.cc
  6. +1 −1 syslog.h
  7. +1 −1 wscript
View
7 Changelog
@@ -0,0 +1,7 @@
+1.0.1
+
+Added setMask (Jeremy Childs)
+
+1.0.0
+
+Initial release version
View
6 README
@@ -1,10 +1,14 @@
Node-Syslog
-v1.0.0
+v1.0.1
This is an node module (add-on) to work with system log daemon on unix systems.
Module is tested with node.js v0.3.3 and metalog, syslog-ng 3.1.1.
+Authors
+Nazar Kulyk
+Jeremy Childs
+
Installation
npm install node-syslog
View
2 node-syslog.js
@@ -1,7 +1,7 @@
(function(){
var Syslog = require('./syslog').Syslog;
-Syslog.version = '1.0.0';
+Syslog.version = '1.0.1';
/*
* facilities
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "node-syslog",
- "version": "1.0.0",
+ "version": "1.0.1",
"directories": {
"lib": "./lib"
},
View
4 syslog.cc
@@ -20,7 +20,7 @@ Syslog::Initialize ( Handle<Object> target)
NODE_SET_METHOD(constructor_template, "init", Syslog::init);
NODE_SET_METHOD(constructor_template, "log", Syslog::log);
- NODE_SET_METHOD(constructor_template, "setmask", Syslog::setmask);
+ NODE_SET_METHOD(constructor_template, "setMask", Syslog::setMask);
NODE_SET_METHOD(constructor_template, "close", Syslog::destroy);
target->Set(String::NewSymbol("Syslog"), constructor_template->GetFunction());
@@ -129,7 +129,7 @@ Syslog::open ( int option, int facility)
}
Handle<Value>
-Syslog::setmask ( const Arguments& args)
+Syslog::setMask ( const Arguments& args)
{
if (args.Length() < 1) {
return ThrowException(Exception::Error(String::New("You must provide an mask")));
View
2 syslog.h
@@ -19,7 +19,7 @@ class Syslog : ObjectWrap {
static v8::Persistent<v8::FunctionTemplate> constructor_template;
static v8::Handle<v8::Value> init (const v8::Arguments& args);
static v8::Handle<v8::Value> log (const v8::Arguments& args);
- static v8::Handle<v8::Value> setmask (const v8::Arguments& args);
+ static v8::Handle<v8::Value> setMask (const v8::Arguments& args);
static v8::Handle<v8::Value> destroy (const v8::Arguments& args);
Syslog () : ObjectWrap() {
View
2 wscript
@@ -4,7 +4,7 @@ from os.path import exists
srcdir = '.'
blddir = 'build'
-VERSION = '1.0.0'
+VERSION = '1.0.1'
def set_options(opt):
opt.tool_options('compiler_cxx')

0 comments on commit 651cecc

Please sign in to comment.
Something went wrong with that request. Please try again.