{"id":28317882,"url":"https://github.com/codesnik/ruby_class_renamer","last_synced_at":"2025-06-24T15:32:10.891Z","repository":{"id":32623873,"uuid":"36209640","full_name":"codesnik/ruby_class_renamer","owner":"codesnik","description":"dirty and buggy script for renaming a lot of ruby classes","archived":false,"fork":false,"pushed_at":"2015-06-05T16:32:09.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T14:20:24.663Z","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/codesnik.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}},"created_at":"2015-05-25T04:25:47.000Z","updated_at":"2015-05-25T04:26:04.000Z","dependencies_parsed_at":"2022-09-01T11:10:15.868Z","dependency_job_id":null,"html_url":"https://github.com/codesnik/ruby_class_renamer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codesnik/ruby_class_renamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Fruby_class_renamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Fruby_class_renamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Fruby_class_renamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Fruby_class_renamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codesnik","download_url":"https://codeload.github.com/codesnik/ruby_class_renamer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codesnik%2Fruby_class_renamer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261703133,"owners_count":23196900,"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","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":"2025-05-25T06:14:34.774Z","updated_at":"2025-06-24T15:32:10.876Z","avatar_url":"https://github.com/codesnik.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Naive ruby/rails refactoring tool\n\ngit mv many ruby files at once according to a refactor plan.\nrename, add/remove namespaces(modules), indent/outindent accordingly,\nreplace constants globally on all the project afterwards.\n\nUsage:\n\nmake a YAML file like this:\n\n```yaml\n---\n-\n  from: app/models/foo.rb\n  to: app/services/subname/foo.rb\n-\n  from: app/models/bar.rb\n  to: app/processes/damns/not_given.rb\n  from_class: BAR\n  to_class Damns::NotGiven\n...\n```\n\nor simply\n```yaml\n---\napp/models/foo.rb: app/services/subname/foo.rb\napp/models/bar.rb: app/processes/damns/not_given.rb\n...\n```\n\nthen\n\n```bash\n  cd my_project\n  /path/to/ruby_class_renamer.rb plan.yml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesnik%2Fruby_class_renamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodesnik%2Fruby_class_renamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodesnik%2Fruby_class_renamer/lists"}