From 8f8d4f3ea3a593be559ec11817fa8452cdd7fb98 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 15 Feb 2024 14:23:24 +0100 Subject: [PATCH] `pop-count`: rename to `eliuds-eggs` (#104) * Rename the `pop-count` exercise to `eliuds-eggs`. * Fix file name --- config.json | 2 +- .../.docs/instructions.append.md | 0 .../{pop-count => eliuds-eggs}/.docs/instructions.md | 0 .../{pop-count => eliuds-eggs}/.docs/introduction.md | 0 exercises/practice/{pop-count => eliuds-eggs}/.eslintrc | 0 .../practice/{pop-count => eliuds-eggs}/.meta/config.json | 8 ++++---- .../{pop-count => eliuds-eggs}/.meta/proof.ci.wat | 0 .../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 .../practice/{pop-count => eliuds-eggs}/babel.config.js | 0 .../pop-count.spec.js => eliuds-eggs/eliuds-eggs.spec.js} | 2 +- .../pop-count.wat => eliuds-eggs/eliuds-eggs.wat} | 0 .../practice/{pop-count => eliuds-eggs}/package.json | 4 ++-- 14 files changed, 8 insertions(+), 8 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 (80%) 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/pop-count.spec.js => eliuds-eggs/eliuds-eggs.spec.js} (94%) rename exercises/practice/{pop-count/pop-count.wat => eliuds-eggs/eliuds-eggs.wat} (100%) rename exercises/practice/{pop-count => eliuds-eggs}/package.json (90%) 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 80% rename from exercises/practice/pop-count/.meta/config.json rename to exercises/practice/eliuds-eggs/.meta/config.json index 3d0f5ba..c717ab4 100644 --- a/exercises/practice/pop-count/.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" @@ -16,9 +16,9 @@ "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", + "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/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/pop-count.spec.js b/exercises/practice/eliuds-eggs/eliuds-eggs.spec.js similarity index 94% rename from exercises/practice/pop-count/pop-count.spec.js rename to exercises/practice/eliuds-eggs/eliuds-eggs.spec.js index 5fcdb01..d3b12ca 100644 --- a/exercises/practice/pop-count/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/pop-count/pop-count.wat b/exercises/practice/eliuds-eggs/eliuds-eggs.wat similarity index 100% rename from exercises/practice/pop-count/pop-count.wat rename to exercises/practice/eliuds-eggs/eliuds-eggs.wat diff --git a/exercises/practice/pop-count/package.json b/exercises/practice/eliuds-eggs/package.json similarity index 90% rename from exercises/practice/pop-count/package.json rename to exercises/practice/eliuds-eggs/package.json index 24e1465..5eda426 100644 --- a/exercises/practice/pop-count/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