{"id":13879334,"url":"https://github.com/QNester/methodist","last_synced_at":"2025-07-16T15:31:58.614Z","repository":{"id":56883448,"uuid":"130371863","full_name":"QNester/methodist","owner":"QNester","description":"Gem for rails generators with some pattern for business logic","archived":false,"fork":false,"pushed_at":"2022-12-23T15:18:17.000Z","size":149,"stargazers_count":3,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T19:06:51.903Z","etag":null,"topics":["business-logic","interactor","observer","patterns","rails","rails5","validation"],"latest_commit_sha":null,"homepage":"https://github.com/QNester/methodist","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/QNester.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-20T14:17:15.000Z","updated_at":"2023-09-30T17:49:55.000Z","dependencies_parsed_at":"2023-01-30T19:00:50.164Z","dependency_job_id":null,"html_url":"https://github.com/QNester/methodist","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/QNester/methodist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fmethodist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fmethodist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fmethodist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fmethodist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QNester","download_url":"https://codeload.github.com/QNester/methodist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QNester%2Fmethodist/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265521458,"owners_count":23781512,"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":["business-logic","interactor","observer","patterns","rails","rails5","validation"],"created_at":"2024-08-06T08:02:17.492Z","updated_at":"2025-07-16T15:31:58.275Z","avatar_url":"https://github.com/QNester.png","language":"Ruby","readme":"# Methodist\n[![Build Status](https://travis-ci.org/QNester/methodist.svg?branch=master)](https://travis-ci.org/QNester/methodist)\n[![Maintainability](https://api.codeclimate.com/v1/badges/eebe37d3169041579416/maintainability)](https://codeclimate.com/github/QNester/methodist/maintainability)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gem-methodist/methodist?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nMethodist - a gem for Ruby on Rails created to stop chaos in your buisness logic.\nThis gem adds generators to your rails application using some patterns:\n\n- __Interactor__: a class for doing some complex job step by step.\n- __Observer__: notifies one part of an application about changes in another part of an application.\n- __Builder__: is used to create an object with complex configuration (including your business logic, validation etc.)\n- __Client__: a class with implements methods for external services (databases, APIs and etc). \nFor example, class called TelegramApiClient will implements methods for HTTP requests to \ntelegram API.\n- __Service__: a class which encapsulates some business logic in semantic module. \nFor example, class called NotificationService - implement methods for notifications. \nOr CacheService - implement methods for caching. \n\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'methodist'\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\nOr install it yourself:\n```bash\n$ gem install methodist\n```\n\n## Usage\nJust execute in a terminal\n```\nrails g \u003cpattern_name\u003e \u003cgenerated_class\u003e\n```\nwhere _\u003cpattern_name\u003e_ is one of the patterns (observer, interactor, etc.)\n\nAbout every Methodist pattern you can read [here](https://github.com/QNester/methodist/wiki)\n\n## Contributing\nTo contribute just:\n1) Create issue. Issue should contain information about goals of your\n future changes.\n2) Fork project.\n3) Create branch. The name of the branch should begin with the ID of your issue.\nExamle: `ISSUE-205-create-new-pattern-generator`.\n4) Make changes.\n5) *Write tests*.\n6) Make a commit. The name of the commit should begin with the ID of your issue.\nExamle: `[ISSUE-205] Create new pattern generator`.\n7) Push.\n8) Create a pull request to the `develop` branch.\n\n## License\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQNester%2Fmethodist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQNester%2Fmethodist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQNester%2Fmethodist/lists"}