Commit Graph

143 Commits

Author SHA1 Message Date
David Diaz c06d59c577 Updated all dependencies. 2019-10-07 20:36:47 -06:00
David Diaz 8021d79e09 Updated OCLIF dependencies. 2019-10-07 20:28:04 -06:00
dependabot[bot] 3e9034a556 Bump mixin-deep from 1.3.1 to 1.3.2 (#85)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-07 20:19:48 -06:00
greenkeeper[bot] cb43578d2d Update @oclif/config to the latest version 🚀 (#71)
* fix(package): update @oclif/config to version 1.13.0

* chore(package): update lockfile package-lock.json
2019-06-01 13:39:44 -06:00
greenkeeper[bot] 1bc2e4cbd4 Update jest-watch-typeahead to the latest version 🚀 (#70)
* chore(package): update jest-watch-typeahead to version 0.3.1

* chore(package): update lockfile package-lock.json
2019-06-01 11:32:17 -06:00
David Díaz 3e73ec48db
Greenkeeper/@oclif/config 1.12.12 (#69)
* fix(package): update @oclif/config to version 1.12.12

Closes #61

* chore(package): update lockfile package-lock.json
2019-05-03 22:11:12 -06:00
greenkeeper[bot] c5bf148d74 Update @oclif/command to the latest version 🚀 (#62)
* fix(package): update @oclif/command to version 1.5.12

* chore(package): update lockfile package-lock.json
2019-05-03 17:32:08 -06:00
greenkeeper[bot] 209ceccc36 Update dotenv to the latest version 🚀 (#60)
* fix(package): update dotenv to version 7.0.0

* chore(package): update lockfile package-lock.json
2019-05-03 17:06:21 -06:00
greenkeeper[bot] 0a0d2e258b Update strip-ansi to the latest version 🚀 (#63)
* chore(package): update strip-ansi to version 5.2.0

* chore(package): update lockfile package-lock.json
2019-05-03 17:00:25 -06:00
greenkeeper[bot] b4355c0750 Update js-yaml to the latest version 🚀 (#64)
* fix(package): update js-yaml to version 3.13.0

* chore(package): update lockfile package-lock.json
2019-05-03 15:07:20 -06:00
greenkeeper[bot] 54bafbb4a5 fix(package): update globby to version 9.2.0 (#65) 2019-05-03 14:58:54 -06:00
greenkeeper[bot] c0f28fc5d0 Update jest-watch-typeahead to the latest version 🚀 (#66)
* chore(package): update jest-watch-typeahead to version 0.3.0

* chore(package): update lockfile package-lock.json
2019-05-03 14:56:14 -06:00
greenkeeper[bot] 1e67cffebf Update np to the latest version 🚀 (#67)
* chore(package): update np to version 5.0.0

* chore(package): update lockfile package-lock.json
2019-05-03 14:49:58 -06:00
greenkeeper[bot] 4acb27174d Update is-plain-object to the latest version 🚀 (#68)
* fix(package): update is-plain-object to version 3.0.0

* chore(package): update lockfile package-lock.json
2019-05-03 14:48:43 -06:00
David Diaz 2610ce5a0d 0.10.0 2019-03-12 15:33:02 -06:00
David Diaz 7854333a50 Run tests in band. 2019-03-12 11:21:11 -06:00
Sergio Díaz f7cb19276b
Updating circleci config to version 2. (#59) 2019-03-12 11:14:23 -06:00
Sergio Díaz b4e27b179b
Updated jest. (#56) 2019-03-11 22:23:12 -06:00
Sergio Díaz fea72dde2a
Allow urls as endpoints (#55)
* Added support for multiple request configurations.

This allows multiple requests to hit the same verb+path combination.
This was previously impossible, to address it, it's now possible to pass
an array of request settings as the body of a request each request will
be added to the request list individually.

Example:
```
GET /some/path:
  - alias: first
    headers:
      request: first
  - alias: second
    headers:
      request: second
```

* Allows using full urls in the request key

This allows you to break out of the top-level endpoint. If you send a
full url instead of a path it'll be used instead of the top level
endpoint.

Example:
```
endpoint: http://example.com
GET /posts: get-posts
POST http://api.example.com/posts: post-post
```
2019-03-11 22:04:20 -06:00
Sergio Díaz 94332bd125
Added support for multiple request configurations. (#54)
This allows multiple requests to hit the same verb+path combination.
This was previously impossible, to address it, it's now possible to pass
an array of request settings as the body of a request each request will
be added to the request list individually.

Example:
```
GET /some/path:
  - alias: first
    headers:
      request: first
  - alias: second
    headers:
      request: second
```
2019-03-11 21:14:34 -06:00
greenkeeper[bot] 8a1ecc67bd Update strip-ansi to the latest version 🚀 (#53)
* chore(package): update strip-ansi to version 5.1.0

* chore(package): update lockfile package-lock.json
2019-03-11 17:35:31 -06:00
greenkeeper[bot] 2961b1ea54 Update globby to the latest version 🚀 (#51)
* fix(package): update globby to version 9.1.0

* chore(package): update lockfile package-lock.json
2019-03-06 11:19:35 -06:00
Sergio Díaz 8b6bbfd77b
Greenkeeper/@oclif/config 1.12.9 (#52)
* chore(package): update @oclif/config to version 1.12.9

* chore(package): update lockfile package-lock.json
2019-03-06 11:16:46 -06:00
Sergio Díaz f0298a973b
Updated all dependencies. (#50)
I also used this opportunity to pin dependencies to specific package versions instead of ranges. Should be nicer in the long run.
2018-12-13 14:19:18 -06:00
greenkeeper[bot] 8c453e6974 Update deepmerge to the latest version 🚀 (#49)
* fix(package): update deepmerge to version 3.0.0

* chore(package): update lockfile package-lock.json
2018-12-07 09:58:46 -06:00
greenkeeper[bot] 865d7976fe Update joi to the latest version 🚀 (#47)
* fix(package): update joi to version 14.0.0

* chore(package): update lockfile package-lock.json
2018-12-07 09:43:02 -06:00
greenkeeper[bot] 379395bcbd Update strip-ansi to the latest version 🚀 (#46)
* chore(package): update strip-ansi to version 5.0.0

* chore(package): update lockfile package-lock.json
2018-12-07 09:36:34 -06:00
greenkeeper[bot] d517d4055e fix(package): update requireg to version 0.2.0 (#45) 2018-12-07 09:33:35 -06:00
Sergio Díaz d5da7d87e2
Small refactoring. (#44)
Basically I like how when using Object.entries you can destructure and
name the value. It feels a lot more explicit to give the value a name
rather than refer to it as obj[k]. The syntax is not super pretty though.
2018-08-05 00:00:54 -06:00
Sergio Díaz f2b9cad662
Updated Readme. (#43) 2018-08-01 11:14:20 -06:00
David Diaz cc805d4adb 0.9.5 2018-08-01 00:35:51 -06:00
Sergio Díaz 1814a00835
Updated package.json (#42) 2018-08-01 00:27:09 -06:00
Sergio Díaz 24c0bfb04f
Added np for automating releases. (#41) 2018-08-01 00:04:10 -06:00
Sergio Díaz 52e88a3703
This allows extra documents in a yaml config file to be embeded as hosts.(#40)
This allows extra documents in a yaml config file to be embeded as hosts.
2018-07-31 23:23:32 -06:00
Sergio Díaz 8849fe1e90
Updated dependencies. (#39) 2018-07-18 15:00:14 -06:00
David Diaz 6be3ce05c2 0.9.4 2018-06-19 11:37:26 -06:00
David Diaz b6c5a0b01e Added beau-std as a direct dependency of Beau. 2018-06-19 11:29:41 -06:00
Sergio Díaz 14704c09d1
Added a version mismatch warning. (#37)
* I need to stop rewriting builtin methods with reduce.

* Removed redundant fields from the config class.

* Added a warning when module version and beau.yml version differ.
2018-06-14 23:12:16 -06:00
Sergio Díaz 450d53e9f9
I need to stop rewriting builtin methods with reduce. (#36) 2018-06-14 19:27:03 -06:00
Sergio Díaz ef34ea04aa
Adding basic tests to shared utilities. (#35) 2018-06-06 16:56:12 -06:00
Sergio Díaz cc7245b501
Cleaning up tests. (#34) 2018-06-02 23:47:03 -06:00
Sergio Díaz 8e961211a5
Updated dependencies. (#32) 2018-05-29 15:34:37 -06:00
Sergio Díaz c8ff4945d6
Updated tests. (#30)
With the introduction of data-driven tests in Jest 23 CLI tests could be made significantly smaller and easier to keep updated.
2018-05-29 15:23:58 -06:00
David Diaz 8fcd8b9fd3 Updated README. 2018-05-24 00:20:51 -06:00
Sergio Díaz 26b33fbf00
Added tests to all CLI commands. (#28)
* Moved the spinner initialization to the base class.

* Got rid of the base class, it complicated testing.

Now it lives on as a utils file. Should make it easier to test the CLI.

* Added a spec file for the ListCommand.

* Added tests for all CLI commands.

* Update some old tests.

Added missing cases and tests.

Most of these are kind useless but I hope I won't have to touch them
again.
2018-05-22 21:42:52 -06:00
Sergio Díaz 23064040df
Stopped iterating over keys and started assigning instead. (#27)
I don't actually remember why I did it this way. I probably wanted to be
a lot more strict with the keys originally which seems silly in
retrospective.
2018-05-22 12:55:58 -06:00
Sergio Díaz dbc7addb39
Added flags for quiet and as-json output. (#26)
--as-json outputs the response as json, this allows you to use tools
like jq on the output which is nice.

--quiet makes it so no output is printed. I added this in case you are
looping Beau and don't want to see the output of every single request.
Example: `seq 10 | xargs -I{} beau request hi --quiet`.
2018-05-22 12:08:32 -06:00
David Diaz 293dde59c4 0.9.3 2018-05-17 10:54:15 -06:00
Sergio Díaz a9ba5b0bb7
: is valid as a variable when talking about hosts. (#25) 2018-05-17 10:52:35 -06:00
David Diaz c0923dcce5 0.9.2 2018-05-17 10:02:16 -06:00