hamming: move inputs (strand1, strand2) to input object#1129
Merged
petertseng merged 2 commits intoexercism:masterfrom Jan 16, 2018
petertseng:ham
Merged
hamming: move inputs (strand1, strand2) to input object#1129petertseng merged 2 commits intoexercism:masterfrom petertseng:ham
petertseng merged 2 commits intoexercism:masterfrom
petertseng:ham
Conversation
hamming 2.1.0 As proposed and accepted in #996 ```ruby indent = false ARGF.each_line { |l| if l.include?('version') ver = l.split(?")[3] ver_components = ver.split(?.).map(&:to_i) ver_components[1] += 1 ver_components[2] = 0 l[ver] = ver_components.join(?.) end first_non_space = l.index(?") if l.include?('strand1') puts ' ' * first_non_space + '"input": {' indent = true end l.delete!(?,) if l.include?('strand2') puts "#{' ' if indent}#{l}" if l.include?('strand2') puts ' ' * first_non_space + '},' indent = false end } ```
rpottsoh
approved these changes
Jan 16, 2018
petertseng
added a commit
to petertseng/exercism-ceylon
that referenced
this pull request
Jan 16, 2018
input object hamming 2.1.0 exercism/problem-specifications#1129 largest-series-product 1.1.0 exercism/problem-specifications#1114 leap 1.2.0 exercism/problem-specifications#1112 react 1.1.0 exercism/problem-specifications#1130 rna-transcription 1.2.0 exercism/problem-specifications#1111 sieve 1.1.0 exercism/problem-specifications#1105
petertseng
added a commit
to exercism/ceylon
that referenced
this pull request
Jan 16, 2018
input object hamming 2.1.0 exercism/problem-specifications#1129 largest-series-product 1.1.0 exercism/problem-specifications#1114 leap 1.2.0 exercism/problem-specifications#1112 react 1.1.0 exercism/problem-specifications#1130 rna-transcription 1.2.0 exercism/problem-specifications#1111 sieve 1.1.0 exercism/problem-specifications#1105
ZapAnton
added a commit
to ZapAnton/rust
that referenced
this pull request
Nov 20, 2018
Relevant PRs: - exercism/problem-specifications#625 - exercism/problem-specifications#844 - exercism/problem-specifications#845 - exercism/problem-specifications#875 - exercism/problem-specifications#953 - exercism/problem-specifications#1129 - exercism/problem-specifications#1389 Basically adds every test case from the current canonical-data.json without deleting the old ones.
ZapAnton
added a commit
to ZapAnton/rust
that referenced
this pull request
Nov 21, 2018
Relevant PRs: 1) Test cases: - exercism/problem-specifications#625 - exercism/problem-specifications#844 - exercism/problem-specifications#845 - exercism/problem-specifications#875 - exercism/problem-specifications#953 - exercism/problem-specifications#1129 - exercism/problem-specifications#1389 2) README: - exercism/problem-specifications#1360 Basically adds every test case from the current canonical-data.json without deleting the old ones.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hamming 2.1.0
As proposed and accepted in #996