Skip to content

Commit 702f15a

Browse files
committed
veersion up; readme update.
1 parent d457b56 commit 702f15a

5 files changed

Lines changed: 18 additions & 9 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
language: node_js
22
node_js:
3-
- "4.9"
43
- "6.17"
54
- "8.16"
65
- "10.15"
7-
- "12.1"
6+
- "12.2"
87
notifications:
98
slack:
109
on_success: never

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2017 Kanstantsin Kamkou
3+
Copyright (c) 2013-2019 Kanstantsin Kamkou and contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ node-akamai-http-api
33
Akamai NetStorage HTTP API for Node.js (Unofficial).
44

55
[![Build Status](https://travis-ci.org/kkamkou/node-akamai-http-api.svg?branch=master)](https://travis-ci.org/kkamkou/node-akamai-http-api)
6-
[![Dependency Status](https://www.versioneye.com/user/projects/56eca2d34fb9b000127dc24e/badge.svg?style=flat)](https://www.versioneye.com/user/projects/56eca2d34fb9b000127dc24e)
76
[![Coverage Status](https://coveralls.io/repos/github/kkamkou/node-akamai-http-api/badge.svg?branch=master)](https://coveralls.io/github/kkamkou/node-akamai-http-api?branch=master)
87
[![Code Climate](https://codeclimate.com/github/kkamkou/node-akamai-http-api/badges/gpa.svg)](https://codeclimate.com/github/kkamkou/node-akamai-http-api)
98

@@ -141,13 +140,24 @@ myAkamai.quickDelete = function (path, cb) {
141140
module.exports = myAkamai;
142141
```
143142

143+
# Tests
144144
## Docker
145145
```sh
146146
# modify test/akamai.js#19-21 first
147147
[sudo] docker build -t node-akamai-http-api .
148148
[sudo] docker run -ti --rm node-akamai-http-api
149149
```
150150

151-
## License
152-
The MIT License (MIT)
153-
Copyright (c) 2013-2017 Kanstantsin Kamkou
151+
## NVM
152+
```sh
153+
export AKAMAI_KEY_NAME="key_name"
154+
export AKAMAI_KEY="key"
155+
export AKAMAI_HOST="domain.akamaihd.net"
156+
nvm install [6, 8, 10, 12, etc.]
157+
npm install
158+
npm test
159+
```
160+
161+
#### License
162+
163+
[MIT](LICENSE)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "akamai-http-api",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"main": "./lib/akamai.js",
55
"author": "Kanstantsin Kamkou <kkamkou@gmail.com>",
66
"description": "Akamai NetStorage HTTP API for Node.js",

test/akamai.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var pathRemoteFile = (process.env.AKAMAI_DIR || '/CODE') + '/FILE.jpg',
2828
module.exports = {
2929
before: function () {
3030
if (config.key === 'aLongString') {
31-
throw new Error('Please, change a config!');
31+
throw new Error('Please change the config file first!');
3232
}
3333
akamai.setConfig(config);
3434
},

0 commit comments

Comments
 (0)