{"id":19725330,"url":"https://github.com/bodacious/cursedcode","last_synced_at":"2025-09-15T20:43:08.662Z","repository":{"id":238655902,"uuid":"797143272","full_name":"Bodacious/CursedCode","owner":"Bodacious","description":"Episode code for the {Cursed Code} YouTube episodes","archived":false,"fork":false,"pushed_at":"2024-05-29T21:03:58.000Z","size":82,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-29T23:34:44.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.youtube.com/playlist?list=PLSoe3m51zPA3LaXGdtKgWEOkzoqe66c_w","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bodacious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-07T09:23:03.000Z","updated_at":"2025-01-23T14:12:59.000Z","dependencies_parsed_at":"2024-11-11T23:30:45.848Z","dependency_job_id":"7903480b-c154-4c2d-a682-00be5a2b8a26","html_url":"https://github.com/Bodacious/CursedCode","commit_stats":null,"previous_names":["bodacious/baseclassexample","bodacious/cursedcode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bodacious/CursedCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2FCursedCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2FCursedCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2FCursedCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2FCursedCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bodacious","download_url":"https://codeload.github.com/Bodacious/CursedCode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bodacious%2FCursedCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275319645,"owners_count":25443826,"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-15T02:00:09.272Z","response_time":75,"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":[],"created_at":"2024-11-11T23:29:24.577Z","updated_at":"2025-09-15T20:43:08.606Z","avatar_url":"https://github.com/Bodacious.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧙🧙🏻‍{ Cursed Code } 🧙🧙\n\n[YouTube Playlist for this repo](https://youtube.com/playlist?list=PLSoe3m51zPA3LaXGdtKgWEOkzoqe66c_w\u0026si=XU7-zKa9OSf2c5jP)\n\n\n## About This Repo\nWelcome to the **Cursed Code** repository, a collection of _cursed_ Ruby code snippets submitted by the global Ruby community. \n\nThe code examples here are submitted by the global Ruby community, with the aim of them being refactored as educational guides. \n\n## How to Read the Code Examples\nAll code examples are organised into their own directories. Each directory contains:\n- A `before` directory with the original, cursed code.\n- An `after` directory with the refactored version.\n\n## How to Submit Some Cursed Code\n1. Fork this repository.\n2. Add your own directory with a `before` subdirectory containing your cursed code.\n3. Create a Pull Request (PR) to propose your submission.\n\n## Rules of Submission\n1. You must have permission to share the code publicly, and consent to your code being used and refactored in various media.\n2. The code must be written in Ruby.\n3. Limit your example to a maximum of 5 files and 500 lines of code.\n4. The code must include tests that can be easily run (preferably with `rake`)\n5. Ensure the code includes a `Gemfile` for dependency management.\n\n## Voting for Content You Would Like to See\nBrowse the pull requests and vote for the suggestions you'd like to see refactored by giving them a 👍 thumbs-up emoji.\n\nHappy coding! 💀👾\n\n[![Lint Ruby with RuboCop](https://github.com/Bodacious/CursedCode/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/Bodacious/CursedCode/actions/workflows/lint.yml)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodacious%2Fcursedcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodacious%2Fcursedcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodacious%2Fcursedcode/lists"}