Permalink
Browse files

removing require.paths

  • Loading branch information...
1 parent db3bed4 commit 3b5f8d641f84036d68857233576ae0c6d95734da @infynyxx infynyxx committed Jan 15, 2012
Showing with 8 additions and 8 deletions.
  1. +3 −3 Cakefile
  2. +1 −1 lib/sailthru.js
  3. +2 −2 package.json
  4. +1 −1 src/sailthru.coffee
  5. +1 −1 test/test_sailthru_util.coffee
View
@@ -1,7 +1,7 @@
-require.paths.unshift "#{__dirname}/node_modules"
+#require.paths.unshift "#{__dirname}/node_modules"
{spawn, exec} = require 'child_process'
-{print} = require 'sys'
+{print} = require 'util'
build = (watch, callback) ->
if typeof watch is 'function'
@@ -26,7 +26,7 @@ task 'watch', 'Recompile CoffeScript when source files are modified', ->
task 'test', 'Run the test suite', ->
build ->
- require.paths.unshift __dirname + '/lib'
+ #require.paths.unshift __dirname + '/lib'
{reporters} = require 'nodeunit'
process.chdir __dirname
reporters.default.run ['test']
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -1,7 +1,7 @@
{
"name": "sailthru-client",
"description": "Node.js client for Sailthru API",
- "version": "1.0.3",
+ "version": "1.0.4",
"author": {
"name": "Prajwal Tuladhar",
"email": "praj@sailthru.com",
@@ -19,5 +19,5 @@
"nodeunit": ">=0.5.0",
"coffee-script": ">=1.1.1"
},
- "engines": {"node": "0.4"}
+ "engines": {"node": ">=0.4"}
}
View
@@ -7,7 +7,7 @@ rest = require 'restler'
###
API client version
###
-exports.VERSION = '1.0.3'
+exports.VERSION = '1.0.4'
###
LOGGING Flag
@@ -1,4 +1,4 @@
-{SailthruUtil} = require 'sailthru_util'
+{SailthruUtil} = require '../lib/sailthru_util'
{testCase} = require 'nodeunit'
exports.testExtractParams = (test) ->

0 comments on commit 3b5f8d6

Please sign in to comment.