{"id":17774011,"url":"https://github.com/svenfuchs/registry","last_synced_at":"2025-04-01T16:17:39.430Z","repository":{"id":56891636,"uuid":"182814848","full_name":"svenfuchs/registry","owner":"svenfuchs","description":"Ruby Class Registry","archived":false,"fork":false,"pushed_at":"2020-01-14T13:41:31.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T09:17:48.004Z","etag":null,"topics":["class","registry","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/svenfuchs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-22T15:23:37.000Z","updated_at":"2021-05-06T16:11:44.000Z","dependencies_parsed_at":"2022-08-21T00:20:46.395Z","dependency_job_id":null,"html_url":"https://github.com/svenfuchs/registry","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Fregistry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Fregistry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Fregistry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Fregistry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenfuchs","download_url":"https://codeload.github.com/svenfuchs/registry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246668904,"owners_count":20814744,"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":["class","registry","ruby"],"created_at":"2024-10-26T21:47:48.311Z","updated_at":"2025-04-01T16:17:39.415Z","avatar_url":"https://github.com/svenfuchs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Registry [![Build Status](https://travis-ci.org/svenfuchs/registry.svg?branch=master)](https://travis-ci.org/svenfuchs/registry)\n\nRuby class registry for registering, and looking up classes using a key, rather\nthan the class name. Decouples looking up classes from their name and namespace.\n\n## Installation\n\n```\ngem install regstry\n```\n\nNote the missing `i` in the gem name. The name `registry` is taken by another gem.\n\n## Usage\n\n```ruby\nrequire 'registry'\n\nclass Obj\n  include Registry\nend\n\nclass One \u003c Obj\n  register :one\nend\n\nclass Two \u003c Obj\n  register :two\nend\n\none = Obj[:one].new\ntwo = Obj[:two].new\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Fregistry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenfuchs%2Fregistry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Fregistry/lists"}