Skip to content

Commit

Permalink
rebuild dist
Browse files Browse the repository at this point in the history
  • Loading branch information
lisposter committed Oct 9, 2014
1 parent b8abf1d commit 6f322d1
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
benchmarks/
coverage/
test/
testing.js
.DS_Store
.travis.yml
dist/*
demo/*
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![NPM version](https://img.shields.io/npm/v/upyun-http-signature.svg?style=flat)](https://www.npmjs.org/package/upyun-http-signature)
[![Build status](https://img.shields.io/travis/lisposter/upyun-http-signature.svg?style=flat)](https://travis-ci.org/lisposter/upyun-http-signature)
[![Test coverage](https://img.shields.io/coveralls/lisposter/upyun-http-signature.svg?style=flat)](https://coveralls.io/r/lisposter/upyun-http-signature?branch=master)

a simple lib for generate a signature for upyun http REST api

## Installation
Expand Down
5 changes: 5 additions & 0 deletions dist/upyun-sign-browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3343,6 +3343,11 @@ module.exports = exports.makeSign = function(method, uri, date, length, password
if(uri.indexOf('?') >= 0) {
uri = uri.split('?')[0];
}

if(uri.indexOf('/') !== 0) {
uri = '/' + uri;
}

var sign = method + '&' + uri + '&' + date + '&' + length + '&' + md5sum(password);
return 'UpYun ' + operator + ':' + md5sum(sign);
};
Expand Down
2 changes: 1 addition & 1 deletion dist/upyun-sign-browserify.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "upyun-http-signature",
"version": "0.1.4",
"version": "0.1.5",
"description": "a simple lib for generate a signature for upyun http REST api",
"main": "index.js",
"dependencies": {
Expand Down

0 comments on commit 6f322d1

Please sign in to comment.