Skip to content

Commit 9d448b5

Browse files
Version Bump v5.1.0: #325 Run prism for tests
1 parent 5a742e2 commit 9d448b5

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

CHANGELOG.md

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

4+
## [5.2.0] - 2017-05-3 ##
5+
### Added
6+
- Pull #325
7+
- Run prism for tests
8+
- Now the mock SendGrid server, powered by [Prism](https://stoplight.io/platform/prism/) is automated locally and on Travis
9+
- Thanks to [Mike Ralphson](https://github.com/MikeRalphson) for the PR!
10+
411
## [5.0.1] - 2017-04-24 ##
512
### Fixed
613
- Pull #385

CONTRIBUTING.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ We welcome direct contributions to the sendgrid-nodejs code base. Thank you!
6464

6565
##### Prerequisites #####
6666

67-
- Node.js version 4 or 6
67+
- Node.js version 4, 6 or 7
6868
- Please see [package.json](https://github.com/sendgrid/sendgrid-nodejs/tree/master/package.json)
6969

7070
##### Initial setup: #####
@@ -129,17 +129,7 @@ All test files are in the [`tests`](https://github.com/sendgrid/sendgrid-nodejs/
129129

130130
For the purposes of contributing to this repo, please update the [`test.js`](https://github.com/sendgrid/sendgrid-nodejs/tree/master/test/test.js) file with unit tests as you modify the code.
131131

132-
To run the tests:
133-
134-
First, we need to setup a local mocked SendGrid API server.
135-
136-
Install StopLight.io's [Prism](https://stoplight.io/platform/prism/).
137-
138-
```bash
139-
./prism run --mock --list --spec https://raw.githubusercontent.com/sendgrid/sendgrid-oai/master/oai_stoplight.json
140-
```
141-
142-
Now we can run the tests at the root of the `sendgrid-nodejs` repo:
132+
Run the tests at the root of the `sendgrid-nodejs` repo:
143133

144134
```bash
145135
mocha

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"name": "sendgrid",
1414
"description": "Official SendGrid NodeJS library.",
15-
"version": "5.0.1",
15+
"version": "5.1.0",
1616
"homepage": "https://sendgrid.com",
1717
"repository": {
1818
"type": "git",

0 commit comments

Comments
 (0)