bloody-simple-s3
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -0,1 +1,5 @@ | ||
## 0.3.2 - 2015-04-16 | ||
* Remove self reference to the dir on #list(dir) | ||
## 0.3.1 - 2015-04-06 | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "bloody-simple-s3", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "A bloody simple interface to S3, based on the official AWS sdk", | ||
@@ -26,4 +26,4 @@ "repository": { | ||
"dependencies": { | ||
"aws-sdk": "^2.1.21", | ||
"bluebird": "^2.9.14", | ||
"aws-sdk": "^2.1.23", | ||
"bluebird": "^2.9.24", | ||
"lodash": "^3.6.0" | ||
@@ -34,4 +34,4 @@ }, | ||
"dotenv": "^1.1.0", | ||
"mocha": "^2.2.1" | ||
"mocha": "^2.2.4" | ||
} | ||
} |
@@ -27,3 +27,3 @@ # Bloody simple S3 | ||
.then(function (file) { | ||
console.log(file.path); | ||
console.log(file.name); | ||
}) | ||
@@ -35,3 +35,3 @@ .catch(function (err) { | ||
For further information on how to use this library please refer to the [API docs](https://github.com/jmike/bloody-simple-s3/blob/master/docs/API.md). | ||
For further information on how to use this library please refer to the [API docs](https://github.com/visionmobile/bloody-simple-s3/blob/master/docs/API.md). | ||
@@ -53,3 +53,3 @@ ## Installation | ||
1. JavaScript source code needs to follow the [Airbnb Style Guide](https://github.com/airbnb/javascript); | ||
2. Functions need to be well documented in [API docs](https://github.com/jmike/bloody-simple-s3/blob/master/docs/API.md); | ||
2. Functions need to be well documented in [API docs](https://github.com/visionmobile/bloody-simple-s3/blob/master/docs/API.md); | ||
3. Unit tests are necessary. | ||
@@ -61,3 +61,3 @@ | ||
* Issue Tracker: [github.com/jmike/bloody-simple-s3/issues](https://github.com/jmike/bloody-simple-s3/issues) | ||
* Issue Tracker: [github.com/visionmobile/bloody-simple-s3/issues](https://github.com/visionmobile/bloody-simple-s3/issues) | ||
@@ -64,0 +64,0 @@ ## License |
@@ -255,9 +255,14 @@ var path = require('path'); | ||
arr = data.Contents.map(function (obj) { | ||
return { | ||
name: obj.Key, | ||
size: obj.Size, | ||
last_modified: obj.LastModified | ||
}; | ||
}); | ||
arr = _.chain(data.Contents) | ||
.map(function (obj) { | ||
return { | ||
name: obj.Key, | ||
size: obj.Size, | ||
last_modified: obj.LastModified | ||
}; | ||
}) | ||
.filter(function (obj) { | ||
return obj.name !== dir; // remove self reference to dir | ||
}) | ||
.value(); | ||
@@ -264,0 +269,0 @@ resolve(arr); |
@@ -37,2 +37,6 @@ require('dotenv').load(); // load environmental variables | ||
files.forEach(function (file) { | ||
assert.notStrictEqual(file.name, 'images/'); | ||
}); | ||
// update length | ||
@@ -39,0 +43,0 @@ len = files.length; |
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
95767
398
Updatedaws-sdk@^2.1.23
Updatedbluebird@^2.9.24