Permalink
Browse files

Now uses readable-stream for node 0.8 support

  • Loading branch information...
1 parent 9071485 commit 07a0591d938792873b6b1d24d00b096dc5d673ba @balupton balupton committed Apr 25, 2013
Showing with 10 additions and 5 deletions.
  1. +1 −0 .travis.yml
  2. +3 −0 History.md
  3. +4 −3 package.json
  4. +1 −1 src/lib/caterpillar.coffee
  5. +1 −1 src/test/caterpillar-test.coffee
View
@@ -3,6 +3,7 @@ install: "npm install"
before_script: "./node_modules/.bin/cake test-prepare"
script: "npm test"
node_js:
+ - "0.8"
- "0.10"
notifications:
irc:
View
@@ -1,5 +1,8 @@
## History
+- v2.0.1 April 25, 2013
+ - Node 0.8 support
+
- v2.0.0 April 25, 2013
- Rewrote using streams
View
@@ -1,6 +1,6 @@
{
"name": "caterpillar",
- "version": "2.0.0",
+ "version": "2.0.1",
"description": "Caterpillar is the ultimate logging system for Node.js, based on transform streams you can log to it and pipe the output off to different locations, including some pre-made ones. Caterpillar also supports log levels according to the RFC standard, as well as line, method, and file fetching for messages.",
"homepage": "https://github.com/bevry/caterpillar",
"keywords": [
@@ -23,10 +23,11 @@
"url": "http://github.com/bevry/caterpillar.git"
},
"engines" : {
- "node": ">=0.10"
+ "node": ">=0.8"
},
"dependencies": {
- "extendr": "~2.0.1"
+ "extendr": "~2.0.1",
+ "readable-stream": "~1.0.2"
},
"devDependencies": {
"caterpillar-filter": "2.x",
@@ -1,6 +1,6 @@
# Import
extendr = require('extendr')
-stream = require('stream')
+stream = require('readable-stream')
# Transform
class Transform extends stream.Transform
@@ -2,7 +2,7 @@
{expect} = require('chai')
joe = require('joe')
{Transform,Logger} = require('../../')
-{PassThrough} = require('stream')
+{PassThrough} = require('readable-stream')
# Prepare
cleanChanging = (item) ->

0 comments on commit 07a0591

Please sign in to comment.