Skip to content

Fixes for adjustment finalizing/unfinalizing#321

Merged
jhawthorn merged 3 commits into
solidusio:masterfrom
jordan-brough:adjustment-fixes
Aug 25, 2015
Merged

Fixes for adjustment finalizing/unfinalizing#321
jhawthorn merged 3 commits into
solidusio:masterfrom
jordan-brough:adjustment-fixes

Conversation

@jordan-brough
Copy link
Copy Markdown
Contributor

The where(state: ...) clauses were broken here. The specs didn't
catch this because they were stubbed out.

Also, there was a ! missing on the Adjustment#open! method.

The `where(state: ...)` clauses were broken here. The specs didn't
catch this because they were stubbed out.

Also, there was a `!` missing on the `Adjustment#open!` method.
@jhawthorn
Copy link
Copy Markdown
Contributor

👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we also deprecate the old scope and add finalized and not_finalized scopes instead? I find it slightly confusing that this is the one place where we still use closed and open.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That seems like a good idea to me. I'll add that.

@magnusvk
Copy link
Copy Markdown
Contributor

👍

@jordan-brough
Copy link
Copy Markdown
Contributor Author

@jhawthorn @magnusvk I added deprecation of open/closed scopes. Still look good?

@jhawthorn
Copy link
Copy Markdown
Contributor

Still good 👍

@jordan-brough
Copy link
Copy Markdown
Contributor Author

@magnusvk @jhawthorn I suppose we could update and deprecate the routes as well. I'm OK either way there, do you guys have any preferences?

@magnusvk
Copy link
Copy Markdown
Contributor

Looks good. 👍 Let's get this merged first; then maybe we can have a discussion about deprecating and renaming the routes on a separate issue?

jhawthorn added a commit that referenced this pull request Aug 25, 2015
Fixes for adjustment finalizing/unfinalizing
@jhawthorn jhawthorn merged commit c498498 into solidusio:master Aug 25, 2015
@jordan-brough jordan-brough deleted the adjustment-fixes branch August 26, 2015 14:39
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.

3 participants