{"id":29954992,"url":"https://github.com/foca/ninja","last_synced_at":"2025-08-03T17:09:03.453Z","repository":{"id":630597,"uuid":"271337","full_name":"foca/ninja","owner":"foca","description":"Run tasks in the background","archived":false,"fork":false,"pushed_at":"2009-08-07T05:11:49.000Z","size":80,"stargazers_count":23,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T10:54:12.957Z","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/foca.png","metadata":{"files":{"readme":"README.rdoc","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":"2009-08-07T04:51:52.000Z","updated_at":"2021-01-13T19:26:53.000Z","dependencies_parsed_at":"2022-07-07T18:10:55.188Z","dependency_job_id":null,"html_url":"https://github.com/foca/ninja","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foca/ninja","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fninja","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fninja/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fninja/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fninja/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foca","download_url":"https://codeload.github.com/foca/ninja/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foca%2Fninja/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265517357,"owners_count":23780805,"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":"2025-08-03T17:08:59.779Z","updated_at":"2025-08-03T17:09:03.438Z","avatar_url":"https://github.com/foca.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Ninja!\n\nHe runs in the background, without being seen\n\n== Install\n\n    gem install ninja\n\n== Use\n\n    require \"ninja/threaded\"\n\n    # Use a thread pool to run the background jobs\n    Ninja.hide_in(Ninja::Threaded.new(4))\n\n    class FooBar\n      include Ninja\n\n      def my_method\n        # some code\n        in_background do\n          # this code will run in background\n        end\n        # mode code\n      end\n    end\n\n== Credits\n\nAuthor:: Nicolás Sanguinetti (foca[http://github.com/foca])\nContributors:: James Tucker (raggi[http://github.com/raggi])\nLicense:: MIT (see LICENSE file)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Fninja","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoca%2Fninja","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoca%2Fninja/lists"}