Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/1.0.0 #15

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Release/1.0.0 #15

wants to merge 6 commits into from

Conversation

pjanek
Copy link

@pjanek pjanek commented Oct 10, 2019

No description provided.

Przemek Bieliński and others added 2 commits October 10, 2019 12:40
Co-Authored-By: Przemek Bieliński <[email protected]>

* ErrorCollector for Pipes::Context

* Store error passed to 'halt' in the error collectors errors hash in the :base key. Add 'error' method returning this error for backwards compatibility.

* Update gem version
* strong context elements v1-simple

* tests for strong context elements

* extract _merge_context_elements method

* rename 'cls' to 'klass'

* reformat _validate_ctx

* reformat tests and add tests for require_context
Copy link

@TarasJan TarasJan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[💄 Cosmetic change] in spec desc

context 'when required context element present with valid type' do
let(:pipe) { ProvidingNumericChild | RequiringNumericChild }

it 'raises InvalidType' do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should most likely be it does not raise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants