Skip to content

Commit faff262

Browse files
author
childish-sambino
authored
chore: prep the repo for automated releasing (#104)
1 parent d605da7 commit faff262

File tree

7 files changed

+25
-48
lines changed

7 files changed

+25
-48
lines changed

.travis.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "5"
5-
- "6"
6-
- "7"
7-
- "8"
8-
notifications:
9-
hipchat:
10-
rooms:
11-
secure: HFEXR61FFkjN6D1k33pg/8/rqEAqSRG4Xdv0gcJohCXQHoSALeZ9O9en3iozBHGIecNWYtfkAhsvya+PwNSEDL4wNVkTvjNGuwwV1dFgo3EWnrG1D7SgaFWETih674ihSd6dv1OqmWPcNbavvfRWM/JM+w3n/m8aNN8EcHzh/2U=
12-
template:
13-
- '<a href="https://travis-ci.org/%{repository}/builds/%{build_id}">%{repository}
14-
Build %{build_number}</a> on branch <i>%{branch}</i> by %{author}: <strong>%{message}</strong>
15-
<a href="https://github.com/%{repository}/commits/%{commit}">View on GitHub</a>'
16-
format: html
3+
- "4"
4+
- "5"
5+
- "6"
6+
- "7"
7+
- "8"
8+
- "10"
9+
- "lts/*"
10+
- "node"

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4-
## [1.3.1] - 2017-4-10
4+
[2017-04-10] Version 1.3.1
5+
--------------------------
56
### Fixed
67
- #16 fix issue where concat was used incorrectly
78
- Thanks to [Limian Wang](https://github.com/limianwang) for the PR!

LICENSE.txt

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-2018 SendGrid, Inc.
3+
Copyright (c) 2013-2020 Twilio SendGrid, Inc.
44

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

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.PHONY: clean install test
2+
3+
clean:
4+
@rm -rf node_modules
5+
6+
install: clean
7+
npm install
8+
9+
test: install
10+
npm test

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,10 @@ source ./sendgrid.env
4444

4545
The following recommended installation requires [npm](https://npmjs.org/). If you are unfamiliar with npm, see the [npm docs](https://npmjs.org/doc/). Npm comes installed with Node.js since node version 0.8.x therefore you likely already have it.
4646

47-
Add the following to your `package.json` file:
48-
49-
```json
50-
{
51-
...
52-
"dependencies": {
53-
...
54-
"smtpapi": "1.3.1"
55-
}
56-
}
57-
```
58-
5947
Install smtpapi-nodejs and its dependencies:
6048

6149
```bash
62-
npm install
50+
npm install smtpapi
6351
```
6452

6553
## Dependencies

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"devDependencies": {
3434
"mocha": "3.5.3",
3535
"should": "13.1.2"
36-
},
36+
},
3737
"contributors": [
3838
{
3939
"name": "Yamil Asusta",

test/main.js

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ describe('smtapi', function() {
99
header = new smtpapi();
1010
});
1111

12-
it('version should be set', function() {
13-
header.version.should.eql("1.3.1");
14-
});
15-
1612
it('has a jsonString method', function() {
1713
header.jsonString().should.eql(t.json_string);
1814
});
@@ -147,14 +143,6 @@ describe('smtapi', function() {
147143
});
148144

149145
describe('smtapi-nodejs repo', function() {
150-
it('should have ./Docker or docker/Docker file', function() {
151-
assert(fileExists('Docker') || fileExists('docker/Docker'));
152-
});
153-
154-
it('should have ./docker-compose.yml or ./docker/docker-compose.yml file', function() {
155-
assert(fileExists('docker-compose.yml') || fileExists('docker/docker-compose.yml'));
156-
});
157-
158146
it('should have ./.env_sample file', function() {
159147
assert(fileExists('.env_sample'));
160148
});
@@ -187,8 +175,8 @@ describe('smtapi-nodejs repo', function() {
187175
assert(fileExists('.github/ISSUE_TEMPLATE'));
188176
});
189177

190-
it('should have ./LICENSE.md file', function() {
191-
assert(fileExists('LICENSE.md'));
178+
it('should have ./LICENSE.txt file', function() {
179+
assert(fileExists('LICENSE.txt'));
192180
});
193181

194182
it('should have ./.github/PULL_REQUEST_TEMPLATE file', function() {
@@ -207,10 +195,6 @@ describe('smtapi-nodejs repo', function() {
207195
assert(fileExists('USAGE.md'));
208196
});
209197

210-
it('should have ./USE_CASES.md file', function() {
211-
assert(fileExists('USE_CASES.md'));
212-
});
213-
214198
function fileExists(filepath) {
215199
try {
216200
return fs.statSync(filepath).isFile();

0 commit comments

Comments
 (0)