From c4340bcb8d65a33fbf2338773d65b4134c5d28b9 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 2 Feb 2024 14:24:33 +0100 Subject: [PATCH 1/2] Rename the `pop-count` exercise to `eliuds-eggs`. --- config.json | 2 +- .../{pop-count => eliuds-eggs}/.docs/instructions.append.md | 0 .../practice/{pop-count => eliuds-eggs}/.docs/instructions.md | 0 .../practice/{pop-count => eliuds-eggs}/.docs/introduction.md | 0 exercises/practice/{pop-count => eliuds-eggs}/.eslintrc | 0 exercises/practice/{pop-count => eliuds-eggs}/.meta/config.json | 2 +- .../practice/{pop-count => eliuds-eggs}/.meta/proof.ci.wat | 0 exercises/practice/{pop-count => eliuds-eggs}/.meta/tests.toml | 0 exercises/practice/{pop-count => eliuds-eggs}/.npmrc | 0 exercises/practice/{pop-count => eliuds-eggs}/LICENSE | 0 exercises/practice/{pop-count => eliuds-eggs}/babel.config.js | 0 exercises/practice/{pop-count => eliuds-eggs}/package.json | 0 exercises/practice/{pop-count => eliuds-eggs}/pop-count.spec.js | 0 exercises/practice/{pop-count => eliuds-eggs}/pop-count.wat | 0 14 files changed, 2 insertions(+), 2 deletions(-) rename exercises/practice/{pop-count => eliuds-eggs}/.docs/instructions.append.md (100%) rename exercises/practice/{pop-count => eliuds-eggs}/.docs/instructions.md (100%) rename exercises/practice/{pop-count => eliuds-eggs}/.docs/introduction.md (100%) rename exercises/practice/{pop-count => eliuds-eggs}/.eslintrc (100%) rename exercises/practice/{pop-count => eliuds-eggs}/.meta/config.json (91%) rename exercises/practice/{pop-count => eliuds-eggs}/.meta/proof.ci.wat (100%) rename exercises/practice/{pop-count => eliuds-eggs}/.meta/tests.toml (100%) rename exercises/practice/{pop-count => eliuds-eggs}/.npmrc (100%) rename exercises/practice/{pop-count => eliuds-eggs}/LICENSE (100%) rename exercises/practice/{pop-count => eliuds-eggs}/babel.config.js (100%) rename exercises/practice/{pop-count => eliuds-eggs}/package.json (100%) rename exercises/practice/{pop-count => eliuds-eggs}/pop-count.spec.js (100%) rename exercises/practice/{pop-count => eliuds-eggs}/pop-count.wat (100%) diff --git a/config.json b/config.json index e054584..6d3041f 100644 --- a/config.json +++ b/config.json @@ -175,7 +175,7 @@ "prerequisites": [], "difficulty": 2 }, { - "slug": "pop-count", + "slug": "eliuds-eggs", "name": "Eliud's Eggs", "uuid": "233fde6a-79d9-4d90-8f94-2a0519352a5c", "practices": [], diff --git a/exercises/practice/pop-count/.docs/instructions.append.md b/exercises/practice/eliuds-eggs/.docs/instructions.append.md similarity index 100% rename from exercises/practice/pop-count/.docs/instructions.append.md rename to exercises/practice/eliuds-eggs/.docs/instructions.append.md diff --git a/exercises/practice/pop-count/.docs/instructions.md b/exercises/practice/eliuds-eggs/.docs/instructions.md similarity index 100% rename from exercises/practice/pop-count/.docs/instructions.md rename to exercises/practice/eliuds-eggs/.docs/instructions.md diff --git a/exercises/practice/pop-count/.docs/introduction.md b/exercises/practice/eliuds-eggs/.docs/introduction.md similarity index 100% rename from exercises/practice/pop-count/.docs/introduction.md rename to exercises/practice/eliuds-eggs/.docs/introduction.md diff --git a/exercises/practice/pop-count/.eslintrc b/exercises/practice/eliuds-eggs/.eslintrc similarity index 100% rename from exercises/practice/pop-count/.eslintrc rename to exercises/practice/eliuds-eggs/.eslintrc diff --git a/exercises/practice/pop-count/.meta/config.json b/exercises/practice/eliuds-eggs/.meta/config.json similarity index 91% rename from exercises/practice/pop-count/.meta/config.json rename to exercises/practice/eliuds-eggs/.meta/config.json index 3d0f5ba..af5cac1 100644 --- a/exercises/practice/pop-count/.meta/config.json +++ b/exercises/practice/eliuds-eggs/.meta/config.json @@ -16,7 +16,7 @@ "package.json" ] }, - "blurb": "Help Eluid count the number of eggs in her chicken coop by counting the number of 1 bits in a binary representation.", + "blurb": "Help Eliud count the number of eggs in her chicken coop by counting the number of 1 bits in a binary representation.", "source": "Christian Willner, Eric Willigers", "source_url": "https://forum.exercism.org/t/new-exercise-suggestion-pop-count/7632/5", "custom": { diff --git a/exercises/practice/pop-count/.meta/proof.ci.wat b/exercises/practice/eliuds-eggs/.meta/proof.ci.wat similarity index 100% rename from exercises/practice/pop-count/.meta/proof.ci.wat rename to exercises/practice/eliuds-eggs/.meta/proof.ci.wat diff --git a/exercises/practice/pop-count/.meta/tests.toml b/exercises/practice/eliuds-eggs/.meta/tests.toml similarity index 100% rename from exercises/practice/pop-count/.meta/tests.toml rename to exercises/practice/eliuds-eggs/.meta/tests.toml diff --git a/exercises/practice/pop-count/.npmrc b/exercises/practice/eliuds-eggs/.npmrc similarity index 100% rename from exercises/practice/pop-count/.npmrc rename to exercises/practice/eliuds-eggs/.npmrc diff --git a/exercises/practice/pop-count/LICENSE b/exercises/practice/eliuds-eggs/LICENSE similarity index 100% rename from exercises/practice/pop-count/LICENSE rename to exercises/practice/eliuds-eggs/LICENSE diff --git a/exercises/practice/pop-count/babel.config.js b/exercises/practice/eliuds-eggs/babel.config.js similarity index 100% rename from exercises/practice/pop-count/babel.config.js rename to exercises/practice/eliuds-eggs/babel.config.js diff --git a/exercises/practice/pop-count/package.json b/exercises/practice/eliuds-eggs/package.json similarity index 100% rename from exercises/practice/pop-count/package.json rename to exercises/practice/eliuds-eggs/package.json diff --git a/exercises/practice/pop-count/pop-count.spec.js b/exercises/practice/eliuds-eggs/pop-count.spec.js similarity index 100% rename from exercises/practice/pop-count/pop-count.spec.js rename to exercises/practice/eliuds-eggs/pop-count.spec.js diff --git a/exercises/practice/pop-count/pop-count.wat b/exercises/practice/eliuds-eggs/pop-count.wat similarity index 100% rename from exercises/practice/pop-count/pop-count.wat rename to exercises/practice/eliuds-eggs/pop-count.wat From 8a8ad692f938b2462404911e1f4c6d86431828b7 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 15 Feb 2024 14:20:13 +0100 Subject: [PATCH 2/2] Fix file name --- exercises/practice/eliuds-eggs/.meta/config.json | 6 +++--- .../eliuds-eggs/{pop-count.spec.js => eliuds-eggs.spec.js} | 2 +- .../practice/eliuds-eggs/{pop-count.wat => eliuds-eggs.wat} | 0 exercises/practice/eliuds-eggs/package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) rename exercises/practice/eliuds-eggs/{pop-count.spec.js => eliuds-eggs.spec.js} (94%) rename exercises/practice/eliuds-eggs/{pop-count.wat => eliuds-eggs.wat} (100%) diff --git a/exercises/practice/eliuds-eggs/.meta/config.json b/exercises/practice/eliuds-eggs/.meta/config.json index af5cac1..c717ab4 100644 --- a/exercises/practice/eliuds-eggs/.meta/config.json +++ b/exercises/practice/eliuds-eggs/.meta/config.json @@ -4,10 +4,10 @@ ], "files": { "solution": [ - "pop-count.wat" + "eliuds-eggs.wat" ], "test": [ - "pop-count.spec.js" + "eliuds-eggs.spec.js" ], "example": [ ".meta/proof.ci.wat" @@ -18,7 +18,7 @@ }, "blurb": "Help Eliud count the number of eggs in her chicken coop by counting the number of 1 bits in a binary representation.", "source": "Christian Willner, Eric Willigers", - "source_url": "https://forum.exercism.org/t/new-exercise-suggestion-pop-count/7632/5", + "source_url": "https://forum.exercism.org/t/new-exercise-suggestion-eliuds-eggs/7632/5", "custom": { "version.tests.compatibility": "jest-27", "flag.tests.task-per-describe": false, diff --git a/exercises/practice/eliuds-eggs/pop-count.spec.js b/exercises/practice/eliuds-eggs/eliuds-eggs.spec.js similarity index 94% rename from exercises/practice/eliuds-eggs/pop-count.spec.js rename to exercises/practice/eliuds-eggs/eliuds-eggs.spec.js index 5fcdb01..d3b12ca 100644 --- a/exercises/practice/eliuds-eggs/pop-count.spec.js +++ b/exercises/practice/eliuds-eggs/eliuds-eggs.spec.js @@ -5,7 +5,7 @@ let currentInstance; beforeAll(async () => { try { - const watPath = new URL("./pop-count.wat", import.meta.url); + const watPath = new URL("./eliuds-eggs.wat", import.meta.url); const { buffer } = await compileWat(watPath); wasmModule = await WebAssembly.compile(buffer); } catch (err) { diff --git a/exercises/practice/eliuds-eggs/pop-count.wat b/exercises/practice/eliuds-eggs/eliuds-eggs.wat similarity index 100% rename from exercises/practice/eliuds-eggs/pop-count.wat rename to exercises/practice/eliuds-eggs/eliuds-eggs.wat diff --git a/exercises/practice/eliuds-eggs/package.json b/exercises/practice/eliuds-eggs/package.json index 24e1465..5eda426 100644 --- a/exercises/practice/eliuds-eggs/package.json +++ b/exercises/practice/eliuds-eggs/package.json @@ -1,5 +1,5 @@ { - "name": "@exercism/wasm-pop-count", + "name": "@exercism/wasm-eliuds-eggs", "description": "Exercism exercises in WebAssembly.", "type": "module", "private": true, @@ -7,7 +7,7 @@ "repository": { "type": "git", "url": "https://github.com/exercism/wasm", - "directory": "exercises/practice/pop-count" + "directory": "exercises/practice/eliuds-eggs" }, "jest": { "maxWorkers": 1