{"id":16746694,"url":"https://github.com/mkon/forged_model","last_synced_at":"2025-06-21T08:40:06.561Z","repository":{"id":13648217,"uuid":"16341686","full_name":"mkon/forged_model","owner":"mkon","description":"Ruby model enriched with some activemodel features","archived":false,"fork":false,"pushed_at":"2014-02-10T08:49:47.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-25T08:04:30.837Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-29T10:33:43.000Z","updated_at":"2014-02-10T08:49:47.000Z","dependencies_parsed_at":"2022-09-15T10:12:24.619Z","dependency_job_id":null,"html_url":"https://github.com/mkon/forged_model","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkon/forged_model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fforged_model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fforged_model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fforged_model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fforged_model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkon","download_url":"https://codeload.github.com/mkon/forged_model/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkon%2Fforged_model/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261095027,"owners_count":23108758,"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":"2024-10-13T02:08:08.999Z","updated_at":"2025-06-21T08:40:01.547Z","avatar_url":"https://github.com/mkon.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ForgedModel\n\nRuby model enriched with some activemodel features.\n\nIncludes `ActiveModel::Model`, `ActiveModel::Dirty` and `ActiveModel::Serialization`.\nAdds a generator for instance attributes.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'forged_model'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install forged_model\n\n## Usage\n\nJust subclass `ForgedModel::Model` and use the attribute generator, like so:\n\n```ruby\nDummy \u003c ForgedModel::Model\n  define_attributes :foo\nend\n\ndummy = Dummy.new(foo: \"bar\")\ndummy.foo = \"other\"\ndummy.foo_was # =\u003e \"bar\"\n# ...\n```\n\n\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkon%2Fforged_model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkon%2Fforged_model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkon%2Fforged_model/lists"}