Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Distribution is the last step after mining and smithing gold. It's the final step, where we deliver something useful to the world. We do that using distributor objects.
Distributors are objects that respond to
#distribute
and perform some kind of "delivery". For now, we have theTerminalDistributor
which prints the generated blog post to the terminal. I'm planning to add a GitHub distributor that will open a pull request for the generated blog post.Unlike Smiths, that take GoldContainers with GoldNuggets, I haven't found a good abstraction for what Distributors accept. We only produce blog posts, so I'm using that for now. It's not generic, but I'll wait until we have more examples of distributors to find a good abstraction.