Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit 7ecc012

Browse files
authored
Merge pull request #5 from mocks-server/v1.0.3
V1.0.3
2 parents e4d159b + 9279a5a commit 7ecc012

6 files changed

Lines changed: 31 additions & 27 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111
### Removed
1212

13+
## [1.0.3] - 2019-11-08
14+
### Fixed
15+
- Fix examples and badges in readme.
16+
1317
## [1.0.2] - 2019-11-08
1418
### Changed
1519
- Project forked from xbyorange/mocks-server. Fixed license. Read NOTICE for further details

NOTICE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
mocks-server. Main distribution
1+
mocks-server. Main distributable
22
Copyright 2019 Javier Brea
33

44
Portions of this software were developed at XbyOrange company.
5-
XByOrange npm-file-link v1.0.1, distributed under The Apache Software License, Version 2.0.
6-
Github repository "xbyorange/mocks-server" (https://github.com/XbyOrange/mocks-server), branch master, commit 961ca6702569091ed863679a8e675788c6f4fded. The original project files were wrongly licensed because an error of the main maintainer, Javier Brea, who received instructions from the XbyOrange company about licensing it as Apache2.0, but didn't include the appropiate license header in all repository files by error. The error has been fixed and license headers has been added to all original files, as it was the real intention of the XbyOrange company.
5+
XByOrange mocks-server v1.0.1, distributed under The Apache Software License, Version 2.0.
6+
Github repository "xbyorange/mocks-server" (https://github.com/XbyOrange/mocks-server), branch master, commit 961ca6702569091ed863679a8e675788c6f4fded. The original project files were wrongly licensed because an error of the main maintainer, Javier Brea, who received instructions from the XbyOrange company about licensing it as Apache2.0, but didn't include the appropiate license header in all repository files by error. The error has been fixed and XbyOrange license headers have been added to all original files, as it was the real intention of the XbyOrange company.

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ It also provide a built-in CLI and a REST API which allows to change the current
3131
## Installation
3232

3333
```bash
34-
npm i @xbyorange/mocks-server --save-dev
34+
npm i @mocks-server/main --save-dev
3535
```
3636

3737
## Usage
@@ -76,7 +76,7 @@ Available api resources are:
7676
The interactive CLI can be instantiated and started programmatically:
7777

7878
```js
79-
const { Cli } = require("@xbyorange/mocks-server");
79+
const { Cli } = require("@mocks-server/main");
8080

8181
const startMyCli = () => {
8282
const cli = new Cli({
@@ -107,7 +107,7 @@ When server watch is active, the main menu will be displayed on file changes. Th
107107
The server can be instantiated and started programmatically:
108108

109109
```js
110-
const { Server } = require("@xbyorange/mocks-server");
110+
const { Server } = require("@mocks-server/main");
111111

112112
const startMyServer = () => {
113113
const server = new Server(path.resolve(__dirname, "mocks"), {
@@ -148,7 +148,7 @@ Available getters are:
148148
The mocks server can be used as a global dependency as well:
149149

150150
```bash
151-
npm i @xbyorange/mocks-server -g
151+
npm i @mocks-server/main -g
152152
```
153153

154154
Now, you can start the built-in command line interface from anywhere, providing a path to a features folder:
@@ -184,7 +184,7 @@ For creating a Feature, you have to use the mocks-server "Feature" class, provid
184184
```js
185185
// Features file 1
186186

187-
const { Feature } = require("@xbyorange/mocks-server");
187+
const { Feature } = require("@mocks-server/main");
188188

189189
const fixtures = require("./fixtures");
190190

@@ -271,19 +271,19 @@ module.exports = {
271271
Contributors are welcome.
272272
Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of conduct](.github/CODE_OF_CONDUCT.md).
273273

274-
[coveralls-image]: https://coveralls.io/repos/github/XbyOrange/mocks-server/badge.svg
275-
[coveralls-url]: https://coveralls.io/github/XbyOrange/mocks-server
276-
[travisci-image]: https://travis-ci.com/xbyorange/mocks-server.svg?branch=master
277-
[travisci-url]: https://travis-ci.com/xbyorange/mocks-server
278-
[last-commit-image]: https://img.shields.io/github/last-commit/xbyorange/mocks-server.svg
279-
[last-commit-url]: https://github.com/xbyorange/mocks-server/commits
280-
[license-image]: https://img.shields.io/npm/l/@xbyorange/mocks-server.svg
281-
[license-url]: https://github.com/xbyorange/mocks-server/blob/master/LICENSE
282-
[npm-downloads-image]: https://img.shields.io/npm/dm/@xbyorange/mocks-server.svg
283-
[npm-downloads-url]: https://www.npmjs.com/package/@xbyorange/mocks-server
284-
[npm-dependencies-image]: https://img.shields.io/david/xbyorange/mocks-server.svg
285-
[npm-dependencies-url]: https://david-dm.org/xbyorange/mocks-server
286-
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=xbyorange-mocks-server&metric=alert_status
287-
[quality-gate-url]: https://sonarcloud.io/dashboard?id=xbyorange-mocks-server
288-
[release-image]: https://img.shields.io/github/release-date/xbyorange/mocks-server.svg
289-
[release-url]: https://github.com/xbyorange/mocks-server/releases
274+
[coveralls-image]: https://coveralls.io/repos/github/mocks-server/main/badge.svg
275+
[coveralls-url]: https://coveralls.io/github/mocks-server/main
276+
[travisci-image]: https://travis-ci.com/mocks-server/main.svg?branch=master
277+
[travisci-url]: https://travis-ci.com/mocks-server/main
278+
[last-commit-image]: https://img.shields.io/github/last-commit/mocks-server/main.svg
279+
[last-commit-url]: https://github.com/mocks-server/main/commits
280+
[license-image]: https://img.shields.io/npm/l/@mocks-server/main.svg
281+
[license-url]: https://github.com/mocks-server/main/blob/master/LICENSE
282+
[npm-downloads-image]: https://img.shields.io/npm/dm/@mocks-server/main.svg
283+
[npm-downloads-url]: https://www.npmjs.com/package/@mocks-server/main
284+
[npm-dependencies-image]: https://img.shields.io/david/mocks-server/main.svg
285+
[npm-dependencies-url]: https://david-dm.org/mocks-server/main
286+
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=mocks-server-main&metric=alert_status
287+
[quality-gate-url]: https://sonarcloud.io/dashboard?id=mocks-server-main
288+
[release-image]: https://img.shields.io/github/release-date/mocks-server/main.svg
289+
[release-url]: https://github.com/mocks-server/main/releases

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mocks-server/main",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Mocks server with extensible fixtures groupables in predefined behaviors. Behavior can be changed using CLI or REST API",
55
"keywords": [
66
"mocks",

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sonar.organization=mocks-server
22
sonar.projectKey=mocks-server-main
3-
sonar.projectVersion=1.0.2
3+
sonar.projectVersion=1.0.3
44

55
sonar.javascript.file.suffixes=.js
66
sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)