Skip to content

bob: Update bob to latest canonical data#809

Merged
kotp merged 2 commits intoexercism:masterfrom
SamKopec:normalize_bob
May 14, 2018
Merged

bob: Update bob to latest canonical data#809
kotp merged 2 commits intoexercism:masterfrom
SamKopec:normalize_bob

Conversation

@SamKopec
Copy link
Copy Markdown
Contributor

The first commit fixes the bob generator to match the latest JSON structure. The second commit regenerates the exercise and readme

closes: #791

@SamKopec SamKopec force-pushed the normalize_bob branch 2 times, most recently from 446802a to 3429af7 Compare May 12, 2018 14:50
the generator was using a hash instead a string for the remark. This pulls the string out of the hash
@SamKopec SamKopec force-pushed the normalize_bob branch 2 times, most recently from 94880ca to 8b476f0 Compare May 12, 2018 14:55
the exercise changed for shouted questions, this fixes both the test suite and the readme
Copy link
Copy Markdown
Member

@kytrinyx kytrinyx left a comment

Choose a reason for hiding this comment

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

This looks good to me ❤️ Thanks @Nadrioc

I'm going to leave this for the Ruby track maintainers to review and merge 🎉

indent_lines(["remark = #{input.inspect}",
"assert_equal '#{expected}', Bob.hey(remark), %q{Bob hears #{input.inspect}, and..}"
indent_lines(["remark = #{input["heyBob"].inspect}",
"assert_equal #{expected.inspect}, Bob.hey(remark), %q{Bob hears #{input["heyBob"].inspect}, and..}"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

💯 for using inspect to automatically handle the quoting correctly on the expected value.

@kotp kotp merged commit 0d2104a into exercism:master May 14, 2018
@kotp
Copy link
Copy Markdown
Member

kotp commented May 14, 2018

Thanks @Nadrioc

approved

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.

bob: Update to clarify ambiguity regarding shouted questions

3 participants