{"id":16288391,"url":"https://github.com/cdalvaro/advent-of-code-ruby","last_synced_at":"2025-09-06T04:37:34.806Z","repository":{"id":211158471,"uuid":"728361700","full_name":"cdalvaro/advent-of-code-ruby","owner":"cdalvaro","description":"🎄💎 Advent of Code in Ruby","archived":false,"fork":false,"pushed_at":"2025-08-27T20:16:39.000Z","size":713,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-28T05:01:47.801Z","etag":null,"topics":["advent-of-code","advent-of-code-2023","advent-of-code-2024","challenges","puzzles","ruby"],"latest_commit_sha":null,"homepage":"https://adventofcode.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdalvaro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"cdalvaro"}},"created_at":"2023-12-06T19:24:18.000Z","updated_at":"2025-08-27T20:15:44.000Z","dependencies_parsed_at":"2024-01-03T01:15:09.170Z","dependency_job_id":"9c4f5b09-6610-4b81-b81b-bd39767fd699","html_url":"https://github.com/cdalvaro/advent-of-code-ruby","commit_stats":null,"previous_names":["cdalvaro/advent-of-code-2023","cdalvaro/advent-of-code","cdalvaro/advent-of-code-ruby"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdalvaro/advent-of-code-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdalvaro%2Fadvent-of-code-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdalvaro%2Fadvent-of-code-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdalvaro%2Fadvent-of-code-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdalvaro%2Fadvent-of-code-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdalvaro","download_url":"https://codeload.github.com/cdalvaro/advent-of-code-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdalvaro%2Fadvent-of-code-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273858845,"owners_count":25180766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advent-of-code","advent-of-code-2023","advent-of-code-2024","challenges","puzzles","ruby"],"created_at":"2024-10-10T19:48:08.972Z","updated_at":"2025-09-06T04:37:34.785Z","avatar_url":"https://github.com/cdalvaro.png","language":"Ruby","funding_links":["https://github.com/sponsors/cdalvaro"],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://www.ruby-lang.org\"\u003e\u003cimg src=\"https://s3.cdalvaro.io/github.com/cdalvaro/advent-of-code/RubyLang.png\" alt=\"Ruby\" width=\"64px\" align=\"right\"/\u003e\u003c/a\u003e\n\n# Advent of Code\n\nThis repo contains my solutions to the [Advent of Code](https://adventofcode.com) challenges, written in\nthe [Ruby](https://www.ruby-lang.org) programming language.\n\nThe project is structured as follows:\n\n- A script [`bin/create-files.rb`](bin/create-files.rb) to create the basic files for a new puzzle.\n- A library, located in the [`lib/`](lib) directory, containing the code for the solutions.\n- A set of tests, located in the [`test/`](test) directory, containing the tests for the solutions.\n- The [`sig`](sig) directory, which contains the signatures of the project.\n\n## Create Files\n\nWhen starting a new puzzle, you can use the script [`bin/create-files.rb`](bin/create-files.rb) to create the basic files for the puzzle.\n\n```bash\nbin/create-files.rb --day 25 [--year=2024] [--force]\n```\n\n## Run Tests\n\nTests are written using the [minitest](https://github.com/minitest/minitest) framework.\n\nTo run the tests, simply run the following command:\n\n```bash\nbundle install\nbundle exec rake test\n```\n\nSome tests are marked as slow, and they are skipped by default. To run them, you can set the environment variable `RUN_SLOW_TESTS` to `1`.\n\n## Solved Puzzles\n\n\u003ca href=\"https://www.ruby-lang.org\"\u003e\u003cimg src=\"https://s3.cdalvaro.io/github.com/cdalvaro/advent-of-code/Holly.png\" width=\"230px\" align=\"right\"/\u003e\u003c/a\u003e\n\n\u003cdetails open\u003e\n  \u003csummary\u003e\u003cb\u003eAdvent of Code - \u003ca href=\"https://adventofcode.com/2024\"\u003e2024\u003c/a\u003e\u003c/b\u003e\u003c/summary\u003e\n  \u003cp\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003cth\u003eDay\u003c/th\u003e\n      \u003cth\u003eSolution\u003c/th\u003e\n      \u003cth\u003eRank\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e1️⃣ \u003ca href=\"https://adventofcode.com/2024/day/1\"\u003eHistorian Hysteria\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2024/day01\"\u003e\u003ccode\u003elib/puzzles/2024/day01\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e2️⃣ \u003ca href=\"https://adventofcode.com/2024/day/2\"\u003eRed-Nosed Reports\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2024/day02\"\u003e\u003ccode\u003elib/puzzles/2024/day02\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e3️⃣ \u003ca href=\"https://adventofcode.com/2024/day/3\"\u003eMull It Over\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2024/day03\"\u003e\u003ccode\u003elib/puzzles/2024/day03\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e4️⃣ \u003ca href=\"https://adventofcode.com/2024/day/4\"\u003eCeres Search\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2024/day04\"\u003e\u003ccode\u003elib/puzzles/2024/day04\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e5️⃣ \u003ca href=\"https://adventofcode.com/2024/day/5\"\u003ePrint Queue\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2024/day05\"\u003e\u003ccode\u003elib/puzzles/2024/day05\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cb\u003eAdvent of Code - \u003ca href=\"https://adventofcode.com/2023\"\u003e2023\u003c/a\u003e\u003c/b\u003e\u003c/summary\u003e\n  \u003cp\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003cth\u003eDay\u003c/th\u003e\n      \u003cth\u003eSolution\u003c/th\u003e\n      \u003cth\u003eRank\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e1️⃣ \u003ca href=\"https://adventofcode.com/2023/day/1\"\u003eTrebuchet?!\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day01\"\u003e\u003ccode\u003elib/puzzles/2023/day01\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e2️⃣ \u003ca href=\"https://adventofcode.com/2023/day/2\"\u003eCube Conundrum\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day02\"\u003e\u003ccode\u003elib/puzzles/2023/day02\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e3️⃣ \u003ca href=\"https://adventofcode.com/2023/day/3\"\u003eGear Ratios\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day03\"\u003e\u003ccode\u003elib/puzzles/2023/day03\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e4️⃣ \u003ca href=\"https://adventofcode.com/2023/day/4\"\u003eScratchcards\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day04\"\u003e\u003ccode\u003elib/puzzles/2023/day04\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e5️⃣ \u003ca href=\"https://adventofcode.com/2023/day/5\"\u003eIf You Give A Seed A Fertilizer\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day05\"\u003e\u003ccode\u003elib/puzzles/2023/day05\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e6️⃣ \u003ca href=\"https://adventofcode.com/2023/day/6\"\u003eWait For It\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day06\"\u003e\u003ccode\u003elib/puzzles/2023/day06\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e7️⃣ \u003ca href=\"https://adventofcode.com/2023/day/7\"\u003eCamel Cards\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day07\"\u003e\u003ccode\u003elib/puzzles/2023/day07\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e8️⃣ \u003ca href=\"https://adventofcode.com/2023/day/8\"\u003eHaunted Wasteland\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day08\"\u003e\u003ccode\u003elib/puzzles/2023/day08\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e9️⃣ \u003ca href=\"https://adventofcode.com/2023/day/9\"\u003eMirage Maintenance\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day09\"\u003e\u003ccode\u003elib/puzzles/2023/day09\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e1️⃣0️⃣ \u003ca href=\"https://adventofcode.com/2023/day/10\"\u003eThe Great Escape\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day10\"\u003e\u003ccode\u003elib/puzzles/2023/day10\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e1️⃣1️⃣ \u003ca href=\"https://adventofcode.com/2023/day/11\"\u003eCosmic Expansion\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003ca href=\"lib/puzzles/2023/day11\"\u003e\u003ccode\u003elib/puzzles/2023/day11\u003c/code\u003e\u003c/a\u003e\u003c/td\u003e\n      \u003ctd\u003e🌟🌟\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdalvaro%2Fadvent-of-code-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdalvaro%2Fadvent-of-code-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdalvaro%2Fadvent-of-code-ruby/lists"}