Skip to content

Commit

Permalink
📦 3.0.0-alpha.19
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfenton committed Apr 1, 2016
1 parent cc50e9d commit 01e339d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.0.0-alpha.19] - 2016-04-01
### Fixed
* params are optional in s3 read/write streams

## [3.0.0-alpha.18] - 2016-04-01
### Added
* S3 Uploads support adding metadata
Expand Down Expand Up @@ -632,6 +636,7 @@ Koop is now just a node module that exposes an express middleware app with hooks
- koop-server is no more; all central code is in the koop project
- to use Koop you must use it as middleware in an app that boots up an http server

[3.0.0-alpha.18]: https://github.com/koopjs/koop/compare/v3.0.0-alpha.18...v3.0.0-alpha.19
[3.0.0-alpha.18]: https://github.com/koopjs/koop/compare/v3.0.0-alpha.17...v3.0.0-alpha.18
[3.0.0-alpha.17]: https://github.com/koopjs/koop/compare/v3.0.0-alpha.16...v3.0.0-alpha.17
[3.0.0-alpha.16]: https://github.com/koopjs/koop/compare/v3.0.0-alpha.15...v3.0.0-alpha.16
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koop",
"description": "Transform, query, & download geospatial data on the web",
"version": "3.0.0-alpha.18",
"version": "3.0.0-alpha.19",
"author": {
"name": "Chris Helm"
},
Expand Down
3 changes: 2 additions & 1 deletion src/lib/Files.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,12 @@ const Files = function (options) {
function s3Params (bucket, name, options) {
var dir = path.dirname(name)
var fileName = path.basename(name)
options = options || {}
return {
Bucket: path.join(bucket, dir),
Key: fileName,
ACL: 'public-read',
Metdata: options.metadata
Metadata: options.metadata
}
}

Expand Down

0 comments on commit 01e339d

Please sign in to comment.