Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #35 from lmorchard/node-10
Browse files Browse the repository at this point in the history
Updates to make tests pass on node v0.10.25
  • Loading branch information
darkwing committed Apr 8, 2014
2 parents 4e8eebd + a7e4b4a commit 6429d5c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
language: node_js

node_js:
- 0.6
- 0.10

notifications:
email:
Expand Down
5 changes: 3 additions & 2 deletions lib/kumascript/api.js
Expand Up @@ -25,8 +25,7 @@ var util = require('util'),
async = require('async'),

log = require('winston'),
// This also injects `Fiber` and `yield`
fibers = require('fibers'),
Fiber = require('fibers'),
Future = require('fibers/future'),
wait = Future.wait,
request = require('request'),
Expand Down Expand Up @@ -167,6 +166,8 @@ var APIContext = ks_utils.Class({
// #### Future
// Allow access to node-fiber Future from templates.
Future: Future,
Fiber: Fiber,
yield: Fiber.yield,

// #### request
//
Expand Down
3 changes: 1 addition & 2 deletions lib/kumascript/templates.js
Expand Up @@ -9,8 +9,7 @@
var util = require('util'),
vm = require("vm"),
_ = require('underscore'),
// This also injects `Fiber` and `yield`
fibers = require('fibers'),
Fiber = require('fibers'),
Future = require('fibers/future'),
wait = Future.wait,
ks_utils = require(__dirname + '/utils');
Expand Down
6 changes: 2 additions & 4 deletions package.json
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"pegjs": "0.7.0",
"fibers": "0.6.5",
"fibers": "1.0.1",
"async": "0.1.15",
"express": "2.5.6",
"request": "2.9.100",
Expand All @@ -32,10 +32,8 @@
"http-proxy": "0.8.1",
"ejs": "0.6.1",
"sax": "0.5.x",
"xml2js": "0.2.x",
"feedparser": "0.10.x",
"html5": "0.3.x",
"node-statsd": "git://github.com/sivy/node-statsd.git#c9b3767d0aac67435a8f96d26c74942a6d8fcaf8",
"node-statsd": "0.0.7",
"firelogger": "git://github.com/lmorchard/node-firelogger.git",
"hirelings": "git://github.com/lmorchard/node-hirelings.git"
},
Expand Down

0 comments on commit 6429d5c

Please sign in to comment.