{"id":23835216,"url":"https://github.com/martouta/custom-rails-engine-generator","last_synced_at":"2026-05-17T05:30:18.565Z","repository":{"id":38215181,"uuid":"495450078","full_name":"Martouta/custom-rails-engine-generator","owner":"Martouta","description":"Quickly generate custom rails engines","archived":false,"fork":false,"pushed_at":"2024-08-23T09:09:35.000Z","size":147,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-23T10:28:50.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Martouta.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}},"created_at":"2022-05-23T14:39:48.000Z","updated_at":"2024-08-23T10:28:53.346Z","dependencies_parsed_at":"2023-10-02T16:34:20.685Z","dependency_job_id":"83068018-2296-4d54-a33b-5e2beb4494ba","html_url":"https://github.com/Martouta/custom-rails-engine-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martouta%2Fcustom-rails-engine-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martouta%2Fcustom-rails-engine-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martouta%2Fcustom-rails-engine-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Martouta%2Fcustom-rails-engine-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Martouta","download_url":"https://codeload.github.com/Martouta/custom-rails-engine-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240122573,"owners_count":19751142,"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-01-02T15:39:29.381Z","updated_at":"2026-05-17T05:30:18.358Z","avatar_url":"https://github.com/Martouta.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom Rails Engine Generator\n\nA while back I read the book \"Component Based Rails Applications\" and I found it a treasure.\nNow I am working on a project with this CBRA approach.\nThis repository is extracted from that project.\n\nThe purpose of this is not to be bullet-proof, but just a handy way to create components (rails engines) just as custom as I want them. I'm sure that more people can adapt this to your needs.\n\nThe dependencies are Rails and Rubocop. Install them with `bundle install`.\nFeel free to do it without Rubocop if you prefer to do so.\nYou do not need to run this script from the path where you have the Rails project.\n\nRun it like:\n```\n./scripts/create_component.sh component_name component_path\n```\nThe 2nd argument is not mandatory and it defaults to `./components/component_name`\n\nThen it should be added to the Gemfile of the Rails project and optionally generate the graph of dependencies with `cobradeps --graph dependency_graph .`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartouta%2Fcustom-rails-engine-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartouta%2Fcustom-rails-engine-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartouta%2Fcustom-rails-engine-generator/lists"}