Skip to content

Commit

Permalink
Bump to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshavardhana committed May 25, 2016
1 parent 861caaf commit b48710a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minio",
"version": "1.0.0",
"version": "2.0.0",
"description": "S3 Compatible Cloud Storage client",
"main": "./dist/main/minio.js",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions src/test/unit/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ describe('Client', function() {
accessKey: 'accesskey',
secretKey: 'secretkey'
})
client.setAppInfo('test', '1.0.0')
assert.equal(`Minio (${process.platform}; ${process.arch}) minio-js/${Package.version} test/1.0.0`,
client.setAppInfo('test', '2.0.0')
assert.equal(`Minio (${process.platform}; ${process.arch}) minio-js/${Package.version} test/2.0.0`,
client.userAgent)
})
it('should set user agent without comments', () => {
Expand All @@ -223,8 +223,8 @@ describe('Client', function() {
accessKey: 'accesskey',
secretKey: 'secretkey'
})
client.setAppInfo('test', '1.0.0')
assert.equal(`Minio (${process.platform}; ${process.arch}) minio-js/${Package.version} test/1.0.0`,
client.setAppInfo('test', '2.0.0')
assert.equal(`Minio (${process.platform}; ${process.arch}) minio-js/${Package.version} test/2.0.0`,
client.userAgent)
})
it('should not set user agent without name', (done) => {
Expand All @@ -234,7 +234,7 @@ describe('Client', function() {
accessKey: 'accesskey',
secretKey: 'secretkey'
})
client.setAppInfo(null, '1.0.0')
client.setAppInfo(null, '2.0.0')
} catch (e) {
done()
}
Expand All @@ -246,7 +246,7 @@ describe('Client', function() {
accessKey: 'accesskey',
secretKey: 'secretkey'
})
client.setAppInfo('', '1.0.0')
client.setAppInfo('', '2.0.0')
} catch (e) {
done()
}
Expand Down

0 comments on commit b48710a

Please sign in to comment.