{"id":15405631,"url":"https://github.com/krisleech/detachment","last_synced_at":"2025-03-24T21:41:00.456Z","repository":{"id":7320606,"uuid":"8639327","full_name":"krisleech/detachment","owner":"krisleech","description":"Transparent Sub / Pub broker for Ruby objects","archived":false,"fork":false,"pushed_at":"2013-04-04T15:41:37.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T04:44:45.970Z","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/krisleech.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":"2013-03-07T23:52:55.000Z","updated_at":"2016-03-13T06:47:33.000Z","dependencies_parsed_at":"2022-08-24T22:12:22.175Z","dependency_job_id":null,"html_url":"https://github.com/krisleech/detachment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fdetachment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fdetachment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fdetachment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krisleech%2Fdetachment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krisleech","download_url":"https://codeload.github.com/krisleech/detachment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245359240,"owners_count":20602322,"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-01T16:17:35.976Z","updated_at":"2025-03-24T21:41:00.419Z","avatar_url":"https://github.com/krisleech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Now superseded by Wisper: https://github.com/krisleech/wisper\n\n# Detachment\n\nA transparent Sub / Pub broker for sending messages between objects\n\n## Installation\n\n    gem 'detachment'\n\n## Usage\n\n```ruby\nclass MyResponder\n  include Detachment\n  subscribe(:foo)\n\n  def foo(name)\n    raise \"#{__callee__} message received with #{name}\"\n  end\nend\n\nclass MyPublisher\n  include Detachment\n\n  def execute\n    publish(:foo, 'bar')\n  end\nend\n\nMyPublisher.new.execute # =\u003e RuntimeError 'foo message received with bar'\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%2Fkrisleech%2Fdetachment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrisleech%2Fdetachment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrisleech%2Fdetachment/lists"}