From e08a24763a3fdae9e80bb424b673f21dc90fd915 Mon Sep 17 00:00:00 2001 From: Alan Vardy Date: Sun, 21 Oct 2018 13:43:58 -0600 Subject: [PATCH 1/3] New test case The current solution in the Ruby path doesn't account for apostrophes, it is a more rare case for acronyms but an edge case nonetheless. --- exercises/acronym/canonical-data.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/exercises/acronym/canonical-data.json b/exercises/acronym/canonical-data.json index 0297f3ab24..04d5f49431 100644 --- a/exercises/acronym/canonical-data.json +++ b/exercises/acronym/canonical-data.json @@ -60,6 +60,14 @@ "phrase": "Something - I made up from thin air" }, "expected": "SIMUFTA" + }, + { + "description": "apostrophes", + "property": "abbreviate", + "input": { + "phrase": "Haley's Comet" + }, + "expected": "HC" } ] } From 2777ccef0dff1f5b76c4f929add005c85c442038 Mon Sep 17 00:00:00 2001 From: Alan Vardy Date: Sun, 21 Oct 2018 13:48:18 -0600 Subject: [PATCH 2/3] Update version --- exercises/acronym/canonical-data.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/acronym/canonical-data.json b/exercises/acronym/canonical-data.json index 0297f3ab24..a3c0195486 100644 --- a/exercises/acronym/canonical-data.json +++ b/exercises/acronym/canonical-data.json @@ -1,6 +1,6 @@ { "exercise": "acronym", - "version": "1.5.0", + "version": "1.5.1", "cases": [ { "description": "Abbreviate a phrase", From 6fec6598156d9ff30c3bab756ad88b6294108cc6 Mon Sep 17 00:00:00 2001 From: Alan Vardy Date: Sun, 21 Oct 2018 14:31:07 -0600 Subject: [PATCH 3/3] Corrected version number --- exercises/acronym/canonical-data.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/acronym/canonical-data.json b/exercises/acronym/canonical-data.json index 9b66ee0656..8f5ec0c35f 100644 --- a/exercises/acronym/canonical-data.json +++ b/exercises/acronym/canonical-data.json @@ -1,6 +1,6 @@ { "exercise": "acronym", - "version": "1.5.1", + "version": "1.6.0", "cases": [ { "description": "Abbreviate a phrase",