gulp-awspublish
Advanced tools
Comparing version 0.0.17 to 0.0.18
0.0.18 / 2014-07-08 | ||
================== | ||
* add s3.date property | ||
0.0.17 / 2014-06-16 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -160,3 +160,3 @@ var Stream = require('stream'), | ||
/** | ||
* create a through stream that save file etag in cache | ||
* create a through stream that save file in cache | ||
* | ||
@@ -276,2 +276,3 @@ * @return {Stream} | ||
file.s3.etag = etag; | ||
file.s3.date = new Date(res.headers['last-modified']); | ||
cb(err, file); | ||
@@ -290,2 +291,4 @@ | ||
} | ||
file.s3.date = new Date(res.headers.date); | ||
file.s3.etag = etag; | ||
@@ -292,0 +295,0 @@ cb(err, file); |
{ | ||
"name": "gulp-awspublish", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "gulp plugin to publish files to amazon s3", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -38,3 +38,3 @@ # gulp-awspublish | ||
.pipe(publisher.publish(headers)) | ||
// create a cache file to speed up consecutive uploads | ||
@@ -92,2 +92,3 @@ .pipe(publisher.cache()) | ||
- s3.etag: file etag | ||
- s3.date: file last modified date | ||
- s3.state: publication state (create, update, cache or skip) | ||
@@ -94,0 +95,0 @@ - s3.headers: s3 headers for this file. Defaults headers are: |
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
28714
620
180