{"id":47974333,"url":"https://github.com/zewelor/ruby_base","last_synced_at":"2026-04-04T10:52:47.167Z","repository":{"id":166056798,"uuid":"641075927","full_name":"zewelor/ruby_base","owner":"zewelor","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-22T05:00:11.000Z","size":122,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T10:52:40.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zewelor.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-15T18:19:01.000Z","updated_at":"2025-10-12T09:46:46.000Z","dependencies_parsed_at":"2023-12-25T13:48:31.373Z","dependency_job_id":"78e47e0f-deb0-48eb-ad8c-d866e6cb012d","html_url":"https://github.com/zewelor/ruby_base","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zewelor/ruby_base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fruby_base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fruby_base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fruby_base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fruby_base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zewelor","download_url":"https://codeload.github.com/zewelor/ruby_base/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zewelor%2Fruby_base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31397055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-04-04T10:52:47.086Z","updated_at":"2026-04-04T10:52:47.148Z","avatar_url":"https://github.com/zewelor.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby base projects\n\n## Ruby Base Clone and Rename\nThis repository provides a bash script, clone_and_rename, which clones a specified Ruby base repository and then renames certain predefined elements.\n\nThe script performs the following operations:\n\n1. Clones the ruby_base repository from Github into a directory with a user-provided name.\n2. Deletes the .git directory inside the newly created directory and re-initializes Git.\n3. Renames any files or directories within the new directory that start with \"base_projects\" to start with the user-provided name.\n4. Replaces any occurrences of \"BaseProject\" in the files within the new directory with the CamelCase version of the user-provided name.\n5. Replaces any occurrences of \"base_projects\" in the files within the new directory with the user-provided name.\n\n### Usage\nTo use the script, you need to download it and make it executable. Here's a one-liner that accomplishes this, runs the script, and then deletes it:\n\n```bash\ncurl -s https://raw.githubusercontent.com/zewelor/ruby_base/main/clone_and_rename | ruby - project_name\n```\nIn the command above, replace new_project with your desired name. This command will clone the repository and replace all occurrences of \"base_projects\" and \"BaseProject\" with your provided name and its CamelCase equivalent, respectively.\n\n### Help\nIf you need help or want to view the usage instructions, you can download the script and run:\n\n```bash\n./clone_and_rename -h\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewelor%2Fruby_base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzewelor%2Fruby_base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzewelor%2Fruby_base/lists"}