Skip to content

acronym: Update json for new "input" policy #1032

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

Merged
merged 1 commit into from
Dec 14, 2017

Conversation

Stargator
Copy link
Contributor

#996 Updated the schema for canonical data. So I am updating the acronym exercise's json to reflect the change.

@Stargator Stargator self-assigned this Dec 11, 2017
"expected": "GIMP"
},
{
"description": "hyphenated",
"property": "abbreviate",
"phrase": "Complementary metal-oxide semiconductor",
"input": {
"phrase": "Complementary metal-oxide semiconductor"
Copy link
Member

Choose a reason for hiding this comment

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

minor knit pick. "phrase" should be indented a couple of spaces on last 4 cases. Otherwise, 👍

Copy link
Member

@rpottsoh rpottsoh left a comment

Choose a reason for hiding this comment

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

👍 Thanks

@Stargator
Copy link
Contributor Author

@rpottsoh Since approved, can I merge, squash, or rebase it in? Or should I wait until one of the maintainers for problem-specifications does it?

@Stargator Stargator changed the title Update Acronym Json with new schema acronym: Update json with new schema Dec 12, 2017
@rpottsoh
Copy link
Member

@Stargator I am fine either way. Others' may want to review this, but likely no one will find fault with the proposed changes in your commit.

@Stargator
Copy link
Contributor Author

Alright, I'll give it until tomorrow night. I'm in no rush. Thanks.

@rpottsoh rpottsoh changed the title acronym: Update json with new schema acronym: Update json for new "input" policy Dec 12, 2017
"cases": [
{
"description": "Abbreviate a phrase",
"cases": [
{
"description": "basic",
"property": "abbreviate",
"phrase": "Portable Network Graphics",
"input": {
"phrase": "Portable Network Graphics"
Copy link
Member

@rpottsoh rpottsoh Dec 12, 2017

Choose a reason for hiding this comment

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

This may want the same treatment that I have suggested in #1033. Do we really need a "phrase" object since it is the only item with in "input"?

Copy link
Member

Choose a reason for hiding this comment

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

don't care what y'all decide, but #996 (comment) and #996 (comment) are explicitly in favour of having "input": {"phrase": "Portable Network Graphics"} not "input": "Portable Network Graphics" therefore that is the only thing I support in #998.

Copy link
Member

Choose a reason for hiding this comment

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

Never mind. I agree with @petertseng.

@rpottsoh
Copy link
Member

@Stargator I think you can merge this when ready.

@Stargator Stargator merged commit c5fb622 into exercism:master Dec 14, 2017
@Stargator Stargator deleted the input-acronym branch December 14, 2017 22:46
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.

4 participants