Skip to content
Browse files

set aws-lib to 0.0.5 as 0.0.6 breaks

  • Loading branch information...
1 parent a1c0709 commit 15db0f8b10894c0abcf75836988c0072117df375 @rjrodger committed Apr 6, 2012
Showing with 11 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 package.json
  3. +6 −0 test/README.txt
  4. +2 −2 test/simpledb.test.js
View
1 .gitignore
@@ -1,3 +1,4 @@
keys.mine.js
*~
dist/simpledb.tgz
+node_modules
View
4 package.json
@@ -2,15 +2,15 @@
"name": "simpledb",
"description": "An Amazon AWS SimpleDB library for Node.js that is user-friendly and fault-tolerant",
"keywords": ["amazon","aws","simpledb","database","wrapper","api"],
- "version": "0.0.7",
+ "version": "0.0.8",
"homepage": "https://github.com/rjrodger/simpledb",
"author": "Richard Rodger <richard@ricebridge.com> (http://richardrodger.com/)",
"contributors": [
"Richard Rodger <richard@ricebridge.com> (http://richardrodger.com/)",
"John Roberts <jroberts@logitech.com>"
],
"dependencies": {
- "aws-lib": ">0.0.1"
+ "aws-lib": "0.0.5"
},
"main": "lib/simpledb",
"directories": {
View
6 test/README.txt
@@ -0,0 +1,6 @@
+
+To test:
+
+- copy keys.js to keys.mine.js, and add your Amazon keys
+- run expresso simpledb.testjs
+
View
4 test/simpledb.test.js
@@ -156,7 +156,7 @@ module.exports = {
sdb = new simpledb.SimpleDB({keyid:'foo',secret:'bar',test:true},simpledb.debuglogger)
function nocallback(f){
- try { sdb[f](); assert.fail() } catch(e) { assert.equal('no callback function',e) }
+ try { sdb[f](); assert.fail() } catch(e) { assert.equal('simpledb: no callback function',e) }
}
nocallback('listDomains')
@@ -167,7 +167,7 @@ module.exports = {
//eyes.inspect(err)
assert.isNotNull(err)
assert.equal('$Library',err.Code)
- assert.equal(name+suffix,err.Message)
+ assert.equal('simpledb: '+name+suffix,err.Message)
}
}
var calls = [[null,' is null'],['',' is empty'],[{},' is not a string']]

0 comments on commit 15db0f8

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