Skip to content

Add ErrorCollector object to Pipes::Context - #12

Merged
pjanek merged 3 commits into
codequest-eu:release/1.0.0from
Xypus:feature/errors_object
Oct 10, 2019
Merged

Add ErrorCollector object to Pipes::Context#12
pjanek merged 3 commits into
codequest-eu:release/1.0.0from
Xypus:feature/errors_object

Conversation

@Xypus

@XypusXypus commented Mar 4, 2019

Copy link
Copy Markdown

Add an error collector to Context to enable storing multiple errors within one pipe before failing it. Co-authored by @pjanek

pjanekand others added 3 commits March 1, 2019 20:55
Co-Authored-By: Przemek Bieliński <xypus@users.noreply.github.com>
…he :base key. Add 'error' method returning this error for backwards compatibility.
@Xypus
Xypus requested a review from karwerMarch 4, 2019 11:38
@XypusXypus changed the title Feature/errors objectAdd ErrorCollector object to Pipes::ContextMar 4, 2019
@Xypus
Xypus removed the request for review from karwerMarch 4, 2019 11:40
Gem::Specification.new do |spec|
spec.name = 'codequest_pipes'
spec.version = '0.3.1.1'
spec.version = '0.3.2'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

what about 0.3.2.0 to keep consistent?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We want to use semantic versioning - that's why it consists of only three numbers now.

# storage.
#
# @return [String]
def error

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe we should add deprecated warning here?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We will not do that, since this PR will be released in new non-backward-compatible version.

@pjanek
pjanek changed the base branch from master to release/1.0.0October 10, 2019 10:39
@pjanek
pjanek merged commit bcdfc03 into codequest-eu:release/1.0.0Oct 10, 2019
Sign up for freeto 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.

4 participants

@Xypus@t0mekz@pjanek@michalkorzawski