{"id":13879552,"url":"https://github.com/thooams/pattern_bibz","last_synced_at":"2026-02-09T23:03:21.529Z","repository":{"id":40166192,"uuid":"248931162","full_name":"thooams/pattern_bibz","owner":"thooams","description":"Rails Pattern Generator","archived":false,"fork":false,"pushed_at":"2023-01-19T18:00:17.000Z","size":79,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-04T16:36:32.164Z","etag":null,"topics":["design-pattern","pattern","rails","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","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/thooams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"thooams","patreon":"user?u=8672183","liberapay":"thooams"}},"created_at":"2020-03-21T07:56:37.000Z","updated_at":"2021-02-12T09:26:27.000Z","dependencies_parsed_at":"2023-02-11T14:10:14.696Z","dependency_job_id":null,"html_url":"https://github.com/thooams/pattern_bibz","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/thooams/pattern_bibz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thooams%2Fpattern_bibz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thooams%2Fpattern_bibz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thooams%2Fpattern_bibz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thooams%2Fpattern_bibz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thooams","download_url":"https://codeload.github.com/thooams/pattern_bibz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thooams%2Fpattern_bibz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29284747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T21:57:15.303Z","status":"ssl_error","status_checked_at":"2026-02-09T21:57:11.537Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["design-pattern","pattern","rails","ruby","ruby-on-rails"],"created_at":"2024-08-06T08:02:24.910Z","updated_at":"2026-02-09T23:03:21.508Z","avatar_url":"https://github.com/thooams.png","language":"Ruby","funding_links":["https://github.com/sponsors/thooams","https://patreon.com/user?u=8672183","https://liberapay.com/thooams"],"categories":["Ruby"],"sub_categories":[],"readme":"![Pattern Bibz logo](https://raw.githubusercontent.com/thooams/pattern_bibz/main/pattern-bibz-logo.gif)\n\n# Pattern Bibz\n\nRails Ruby Pattern Generator.\nThis gem allows to generate your design pattern through the rails generator.\n\n[![Gem Version](https://badge.fury.io/rb/pattern_bibz.svg)](https://badge.fury.io/rb/pattern_bibz)\n[![Maintainability](https://api.codeclimate.com/v1/badges/7e8e319e9f7197593733/maintainability)](https://codeclimate.com/github/thooams/pattern_bibz/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/7e8e319e9f7197593733/test_coverage)](https://codeclimate.com/github/thooams/pattern_bibz/test_coverage)\n[![security](https://hakiri.io/github/thooams/pattern_bibz/main.svg)](https://hakiri.io/github/thooams/pattern_bibz/main)\n[![Ci](https://github.com/thooams/pattern_bibz/workflows/CI/badge.svg)](https://github.com/thooams/pattern_bibz/actions)\n[![Linter](https://github.com/thooams/pattern_bibz/workflows/Linter/badge.svg)](https://github.com/thooams/pattern_bibz/actions)\n[![Inline docs](http://inch-ci.org/github/thooams/pattern_bibz.svg?branch=master)](http://inch-ci.org/github/thooams/pattern_bibz)\n[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop-hq/rubocop)\n\n\n## Usage\n\n```bash\nrails generate pattern PATTERN_NAME\n```\n\n## Example\n\n```bash\nrails generate pattern MyCustomDecorator\n```\n\nFiles generated:\n\n    app/decorators/application_decorator.rb\n    app/decorators/my_custom_decorator.rb\n    test/decorators/application_decoratior_test.rb\n    test/decorators/my_custom_decorator_test.rb\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pattern_bibz', group: :development\n```\n\nAnd then execute:\n\n```bash\n$ bundle\n```\n\nOr install it yourself as:\n\n```bash\n$ gem install pattern_bibz\n```\n\n## Utils\nTo extend your Rails model generator:\n\n```bash\n$ rails g pattern_bibz:extend_model\n```\n\nThen you can generate your model:\n\n```bash\n$ rails g model MyModel title:string ...\n```\n\nYour generated model will look like this:\n\n```ruby\n# frozen_string_literal: true\n\nclass MyModel \u003c ApplicationRecord\n  # Scopes\n\n  # Constants\n\n  # Callbacks\n\n  # Attr_accessors\n\n  # Associations\n\n  # Enums\n\n  # Validations\n\n  # Delegations\n\n  # Methods\nend\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthooams%2Fpattern_bibz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthooams%2Fpattern_bibz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthooams%2Fpattern_bibz/lists"}