fast-azure-storage
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -915,4 +915,6 @@ 'use strict'; | ||
} | ||
return { | ||
popReceipt: res.headers['x-ms-popreceipt'] | ||
}; | ||
}); | ||
}; | ||
{ | ||
"name": "fast-azure-storage", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"author": "Jonas Finnemann Jensen <jopsen@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Fast client library for azure storage services", |
Fast Azure Storage Client for Node.js | ||
===================================== | ||
[![Build Status](https://travis-ci.org/taskcluster/fast-azure-storage.svg?branch=master)](https://travis-ci.org/taskcluster/fast-azure-storage) | ||
This library implements a low-level and highly optimized interface to Azure | ||
@@ -5,0 +7,0 @@ Storage Services. Existing node libraries for Azure suffers of excessive |
@@ -214,2 +214,28 @@ suite("Queue", function() { | ||
test("clear, put, get, update, delete messages", function() { | ||
var savedMessage; | ||
return queue.clearMessages(queueName).then(function() { | ||
return queue.putMessage(queueName, 'my-message7'); | ||
}).then(function() { | ||
return queue.getMessages(queueName, { | ||
visibilityTimeout: 120 | ||
}); | ||
}).then(function(messages) { | ||
assert(messages.length > 0); | ||
var msg = savedMessage = messages.pop(); | ||
assert(msg.messageText === 'my-message7'); | ||
return queue.updateMessage( | ||
queueName, 'my-message8', | ||
msg.messageId, msg.popReceipt, { | ||
visibilityTimeout: 120 | ||
}); | ||
}).then(function(updateResult) { | ||
return queue.deleteMessage( | ||
queueName, | ||
savedMessage.messageId, | ||
updateResult.popReceipt | ||
); | ||
}); | ||
}); | ||
test("Shared-Access-Signature (fixed string, w. start)", function() { | ||
@@ -366,2 +392,2 @@ var sas = queue.sas(queueName, { | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1468748
4172
188