Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Conversation

gonzalo-bulnes
Copy link
Contributor

As a developer
In order to provide multiple uses to my gem
I want its code to be usable without its command-line interface

See #5

I'll add no specific documentation for this yet. However, and example of the DreddHooks::Server usage can be found in DreddHooks::CLI.

Ensuring that the output doesn't get buffered is particularly
relevant once the server is started because Dredd relies on it.
In order to be able to start programatically a server in
the best conditions, that step should be part of the server
starting procedure.

Using a buffered output while loading the hookfiles, on the other
hand poses no particular problem.
Unless I'm wrong, declaring bundler as a dependency is superfluous
(e.g. its version is not locked in the Gemfile).
@gonzalo-bulnes gonzalo-bulnes force-pushed the gonzalo-bulnes/refactor-ensure-server-can-be-used-as-library branch 2 times, most recently from 8e0b2d5 to c349392 Compare August 6, 2016 09:18
@gonzalo-bulnes gonzalo-bulnes force-pushed the gonzalo-bulnes/refactor-ensure-server-can-be-used-as-library branch from c349392 to 94e0214 Compare August 6, 2016 09:19
@gonzalo-bulnes gonzalo-bulnes merged commit 6c6efc1 into apiaryio:master Aug 6, 2016
@gonzalo-bulnes gonzalo-bulnes deleted the gonzalo-bulnes/refactor-ensure-server-can-be-used-as-library branch August 6, 2016 09:24
@gonzalo-bulnes gonzalo-bulnes self-assigned this Aug 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant