Skip to content

Commit d318b55

Browse files
dvd-zOlha Virolainen
authored andcommitted
Sprint 30 (#18)
* Clean up tests * Fix attachment tests * add Rename file Action
1 parent b63e6ac commit d318b55

32 files changed

+1505
-833
lines changed

.circleci/config.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 2
2+
jobs:
3+
test:
4+
docker:
5+
- image: circleci/node:8-stretch
6+
steps:
7+
- checkout
8+
- restore_cache:
9+
key: dependency-cache-{{ checksum "package.json" }}
10+
- run:
11+
name: Installing Dependencies
12+
command: npm install
13+
- save_cache:
14+
key: dependency-cache-{{ checksum "package.json" }}
15+
paths:
16+
- node_modules
17+
- run:
18+
name: Running Mocha Unit&Integration Tests
19+
command: npm test && npm run integration-test
20+
docs:
21+
docker:
22+
- image: circleci/node:12-stretch
23+
steps:
24+
- checkout
25+
- run:
26+
name: Download Script
27+
command: mkdir $HOME/script && curl -o $HOME/script/create_pr.bash https://raw.githubusercontent.com/elasticio/elasticio.github.io/master/scripts/create_pr.bash
28+
- run:
29+
shell: /bin/bash
30+
name: Create PR
31+
command: bash $HOME/script/create_pr.bash -p $PWD -n sftp
32+
33+
workflows:
34+
version: 2
35+
build_and_test:
36+
jobs:
37+
- test
38+
deploy_docs:
39+
jobs:
40+
- docs:
41+
filters:
42+
branches:
43+
only:
44+
- master

.eslintrc.js

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
11
module.exports = {
2-
'extends': 'airbnb-base',
3-
'env': {
4-
'mocha': true
5-
}
2+
"extends": "airbnb-base",
3+
"rules": {
4+
},
5+
"env": {
6+
"node": true,
7+
"mocha": true
8+
},
9+
"overrides": [
10+
{
11+
"files": [
12+
"*.test.js",
13+
"*.spec*"
14+
],
15+
"rules": {
16+
"no-unused-expressions": "off"
17+
}
18+
},
19+
{
20+
"files": [
21+
"*"
22+
],
23+
"rules": {
24+
"max-len": ["error", { "code": 180 }]
25+
26+
}
27+
}
28+
]
629
};

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ coverage
33
.idea
44
.env
55
lib/utils/awsAttachmentProcessor.js
6+
.vscode

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1+
# 1.2.0 (December , 2019)
2+
3+
## General Changes
4+
* Add `Rename file` action
5+
* Rename field `Bucket Name` to `Bucket Name and Folder`
6+
* Make `Bucket Name and Folder` field non required
7+
* Use one Client for all actions
8+
* Update Sailor version
9+
110
## 1.1.0 (June 18, 2019)
211

3-
* Add `Write file` action
4-
* Add `Read file` action
5-
* Add `Get filenames` action
6-
* Add `Delete file` action
7-
* Update versions of dependencies
8-
* Update README.md
12+
* Add `Write file` action
13+
* Add `Read file` action
14+
* Add `Get filenames` action
15+
* Add `Delete file` action
16+
* Update versions of dependencies
17+
* Update README.md
918

1019
## 1.0.0 (April 28, 2016)
1120

12-
* Initial release
21+
* Initial release

0 commit comments

Comments
 (0)