{"id":20607476,"url":"https://github.com/loopj/resque-delayable","last_synced_at":"2025-04-15T03:55:55.993Z","repository":{"id":2044747,"uuid":"2982128","full_name":"loopj/resque-delayable","owner":"loopj","description":"Resque plugin adds method rdelay to objects. Methods called with rdelay are executed asynchronously by resque, allowing your code to continue.","archived":false,"fork":false,"pushed_at":"2012-01-27T23:32:40.000Z","size":120,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T03:55:51.913Z","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/loopj.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":"2011-12-14T18:46:24.000Z","updated_at":"2024-04-18T04:38:26.000Z","dependencies_parsed_at":"2022-08-20T15:20:42.507Z","dependency_job_id":null,"html_url":"https://github.com/loopj/resque-delayable","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/loopj%2Fresque-delayable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopj%2Fresque-delayable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopj%2Fresque-delayable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopj%2Fresque-delayable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loopj","download_url":"https://codeload.github.com/loopj/resque-delayable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003951,"owners_count":21196794,"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-11-16T10:07:32.241Z","updated_at":"2025-04-15T03:55:55.969Z","avatar_url":"https://github.com/loopj.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"resque-delayable\n================\n\nA resque plugin which adds a new method `rdelay` to objects. Methods called \nwith `rdelay` are executed asynchronously by resque, allowing your code to \ncontinue.\n\nFeatures\n--------\n- Adds `rdelay` instance and class methods to your models. Works with \n  ActiveRecord, Mongoid and MongoMapper objects out of the box\n- Works with resque-scheduler. Schedule method execution for the future, \n  `obj.rdelay(:run_in =\u003e 5.minutes).method`\n- Get `rdelay` on any class methods with `include ResqueDelayable`\n- Create a custom seralizer plugin to get `rdelay` on your own instance methods\n\nInstallation\n------------\n- Add `gem \"resque-delayable\"` to your `Gemfile` or `gem install resque-delayable`\n\nExamples\n--------\n\n    class User\n      include ResqueDelayable\n      \n      def self.recompute_caches() ...\n      def get(name) ...\n      def send_welcome_email ...\n    end\n\n    # Works with any serializable instance. ActiveRecord, Mongoid \u0026 MongoMapper\n    # are supported out of the box\n    u = User.get(\"james\")\n    u.rdelay.send_welcome_email\n\n    # Works with all class methods\n    User.rdelay.recompute_caches\n\n\nContributing to resque-delayable\n--------------------------------\n \n* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet\n* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it\n* Fork the project\n* Start a feature/bugfix branch\n* Commit and push until you are happy with your contribution\n* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.\n\nCopyright\n---------\n\nCopyright (c) 2011 James Smith. See LICENSE.txt for\nfurther details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopj%2Fresque-delayable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floopj%2Fresque-delayable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopj%2Fresque-delayable/lists"}