{"id":18084525,"url":"https://github.com/endel/resque-swapper","last_synced_at":"2025-10-04T10:13:06.196Z","repository":{"id":56891996,"uuid":"2165720","full_name":"endel/resque-swapper","owner":"endel","description":"Swapping tool for Resque server on runtime.","archived":false,"fork":false,"pushed_at":"2012-06-20T01:23:35.000Z","size":117,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-21T15:57:45.839Z","etag":null,"topics":[],"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/endel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-06T17:21:05.000Z","updated_at":"2013-01-04T00:30:11.000Z","dependencies_parsed_at":"2022-08-21T01:20:10.631Z","dependency_job_id":null,"html_url":"https://github.com/endel/resque-swapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/endel/resque-swapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fresque-swapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fresque-swapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fresque-swapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fresque-swapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endel","download_url":"https://codeload.github.com/endel/resque-swapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endel%2Fresque-swapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278297532,"owners_count":25963741,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-31T15:07:04.767Z","updated_at":"2025-10-04T10:13:06.175Z","avatar_url":"https://github.com/endel.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# resque-swapper\n\nAllows to configure and Resque servers to swap them on runtime.\n\n# Configuration\n\nCreate a \u003ccode\u003econfig/resque.yml\u003c/code\u003e for your project, like this:\n\n    production:\n      localhost:\n        host: localhost\n        port: 6379\n      another:\n        host: 192.168.1.5\n        port: 6379\n    development:\n      localhost:\n        host: localhost\n        port: 6379\n      another:\n        host: localhost\n        port: 6380\n\t\n# How to use\n\nSwaping temporarily:\n\n\trequire 'resque-swapper'\n\trequire 'resque-remote'\n\t\n\tResque.swap(:another) do |resque|\n\t\tresque.remote_enqueue('SomeJob', :queue, 'foo')\n\tend\n\t\nDirect swap:\n\n\trequire 'resque-swapper'\n\n\tResque.swap(:another)\n\tResque.enqueue(Something, 'foo')\n\n\n# License\n\nresque-swapper is released under MIT License. Please see LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Fresque-swapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendel%2Fresque-swapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendel%2Fresque-swapper/lists"}