{"id":21883122,"url":"https://github.com/eendroroy/model_2_factory-rails","last_synced_at":"2025-04-15T06:08:09.587Z","repository":{"id":56884169,"uuid":"88956338","full_name":"eendroroy/model_2_factory-rails","owner":"eendroroy","description":"Generates factories for models","archived":false,"fork":false,"pushed_at":"2017-06-03T17:42:09.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T06:08:04.358Z","etag":null,"topics":["factory-girl","rails","ruby"],"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/eendroroy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-21T07:40:11.000Z","updated_at":"2017-05-04T17:49:33.000Z","dependencies_parsed_at":"2022-08-20T23:40:28.862Z","dependency_job_id":null,"html_url":"https://github.com/eendroroy/model_2_factory-rails","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fmodel_2_factory-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fmodel_2_factory-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fmodel_2_factory-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eendroroy%2Fmodel_2_factory-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eendroroy","download_url":"https://codeload.github.com/eendroroy/model_2_factory-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016627,"owners_count":21198833,"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":["factory-girl","rails","ruby"],"created_at":"2024-11-28T09:39:21.395Z","updated_at":"2025-04-15T06:08:09.568Z","avatar_url":"https://github.com/eendroroy.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# model_2_factory-rails\n\n[![Gem Version](https://badge.fury.io/rb/model_2_factory-rails.svg)](https://rubygems.org/gems/model_2_factory-rails)\n[![Downloads](https://img.shields.io/gem/dt/model_2_factory-rails.svg)](https://rubygems.org/gems/model_2_factory-rails)\n[![Build Status](https://travis-ci.org/eendroroy/model_2_factory-rails.svg?branch=master)](https://travis-ci.org/eendroroy/model_2_factory-rails) \n[![Code Climate](https://codeclimate.com/github/eendroroy/model_2_factory-rails/badges/gpa.svg)](https://codeclimate.com/github/eendroroy/model_2_factory-rails)\n[![Contributors](https://img.shields.io/github/contributors/eendroroy/model_2_factory-rails.svg)](https://github.com/eendroroy/model_2_factory-rails/graphs/contributors)\n\n\nFactory model class generator for rails model class.\n\n## Description\n\nGenerate factory model class from rails active record class for rails-rspec test code.\n\n### Prerequisites\n\nRequire following gem to be included in your gem file:\n \n - factory_girl-rails\n```\nfactory_girl-rails\n```\n\n### Installing\n\nAdd this line to your application's Gemfile:\n\n```\ngem 'model_2_factory-rails'\n\n```\nAnd then execute:\n\n```\n$ bundle\n\n```\nOr install it globally in your system:\n\n```\n$ gem install model_2_factory-rails\n\n```\n\n## Usage\n\nTo generate factory class for your existing model class\n\n```\n$ bundle exec factory_gen your_model_name\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [model_2_factory-rails repository](https://github.com/eendroroy/model_2_factory-rails). \nThis project is intended to be a safe, welcoming space for collaboration,\nand contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## Authors\n\n* **Indrajit Roy** - *Initial work* - [eendroroy](https://github.com/eendroroy)\n\nSee also the list of [contributors](CONTRIBUTORS.md) who participated in this project.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Feendroroy%2Fmodel_2_factory-rails.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Feendroroy%2Fmodel_2_factory-rails?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feendroroy%2Fmodel_2_factory-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feendroroy%2Fmodel_2_factory-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feendroroy%2Fmodel_2_factory-rails/lists"}