{"id":12353970,"name":"weakref","ecosystem":"rubygems","description":"Allows a referenced object to be garbage-collected.","homepage":"https://github.com/ruby/weakref","licenses":"Ruby,BSD-2-Clause","normalized_licenses":["Ruby","BSD-2-Clause"],"repository_url":"https://github.com/ruby/weakref","keywords_array":[],"namespace":null,"versions_count":5,"first_release_published_at":"2020-04-07T01:07:36.221Z","latest_release_published_at":"2025-06-19T01:53:39.461Z","latest_release_number":"0.1.4","latest_published_release_number":null,"last_synced_at":"2026-10-20T09:11:10.757Z","created_at":"2025-10-07T06:53:12.805Z","updated_at":"2026-10-20T09:11:11.152Z","registry_url":"https://gem.coop/gems/weakref","install_command":"gem install weakref -s https://gem.coop","documentation_url":"http://www.rubydoc.info/gems/weakref/","metadata":{"funding":null},"repo_metadata":{"id":42977428,"uuid":"200771176","full_name":"ruby/weakref","owner":"ruby","description":"Weak Reference class that allows a referenced object to be garbage-collected.","archived":false,"fork":false,"pushed_at":"2026-10-14T07:48:19.000Z","size":282,"stargazers_count":20,"open_issues_count":5,"forks_count":8,"subscribers_count":32,"default_branch":"master","last_synced_at":"2026-10-14T23:15:53.025Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-08-06T03:41:02.000Z","updated_at":"2026-10-14T07:48:22.000Z","dependencies_parsed_at":"2025-01-30T21:10:59.625Z","dependency_job_id":"5b8d57e4-871a-4c11-a205-6c11ce3fe44e","html_url":"https://github.com/ruby/weakref","commit_stats":{"total_commits":73,"total_committers":20,"mean_commits":3.65,"dds":0.7123287671232876,"last_synced_commit":"5b5f79d8a6981a16ae556095b770c1bb5b649f48"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ruby/weakref","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/weakref/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/sbom","scorecard":{"id":788933,"data":{"date":"2025-08-11","repo":{"name":"github.com/ruby/weakref","commit":"5cd722b32898d36a5a1b2e66bb0c644eaeba711e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"name":"Code-Review","score":1,"reason":"Found 2/12 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":10,"reason":"13 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":8,"reason":"dependency not pinned by hash detected -- score normalized to 8","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/ruby/weakref/test.yml/master?enable=pin","Info:   2 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   4 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/push_gem.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/push_gem.yml:9","Warn: no topLevel permission defined: .github/workflows/test.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T06:54:18.820Z","repository_id":42977428,"created_at":"2025-08-23T06:54:18.820Z","updated_at":"2025-08-23T06:54:18.820Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38394177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-20T02:00:06.669Z","response_time":101,"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"},"owner_record":{"login":"ruby","name":"The Ruby Programming Language","uuid":"210414","kind":"organization","description":"Repositories related to the Ruby Programming language.","email":"info@ruby-lang.org","website":"https://www.ruby-lang.org/","location":"Japan","twitter":"rubylangorg","company":null,"icon_url":"https://avatars.githubusercontent.com/u/210414?v=4","repositories_count":191,"last_synced_at":"2026-10-16T02:00:21.215Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/ruby","funding_links":[],"total_stars":54441,"followers":2121,"following":0,"created_at":"2022-11-02T16:17:15.462Z","updated_at":"2026-10-16T02:00:21.225Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby/repositories"},"tags":[{"name":"v0.1.4","sha":"f6bd03ed545bd6fef1eb099245760f819321a58b","kind":"tag","published_at":"2025-06-19T01:53:08.000Z","download_url":"https://codeload.github.com/ruby/weakref/tar.gz/v0.1.4","html_url":"https://github.com/ruby/weakref/releases/tag/v0.1.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ruby/weakref@v0.1.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.4/manifests"},{"name":"v0.1.3","sha":"f7633847441cafd2e486ba52f8df70762256dd56","kind":"tag","published_at":"2023-11-07T01:46:30.000Z","download_url":"https://codeload.github.com/ruby/weakref/tar.gz/v0.1.3","html_url":"https://github.com/ruby/weakref/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ruby/weakref@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.3/manifests"},{"name":"v0.1.2","sha":"5b5f79d8a6981a16ae556095b770c1bb5b649f48","kind":"tag","published_at":"2022-12-14T06:16:14.000Z","download_url":"https://codeload.github.com/ruby/weakref/tar.gz/v0.1.2","html_url":"https://github.com/ruby/weakref/releases/tag/v0.1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ruby/weakref@v0.1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"a7ef528add5556fa182911aabb6339966ee783d8","kind":"tag","published_at":"2020-12-22T12:38:11.000Z","download_url":"https://codeload.github.com/ruby/weakref/tar.gz/v0.1.1","html_url":"https://github.com/ruby/weakref/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ruby/weakref@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"2436bf4b4726218c858af7738d7916066a0eabac","kind":"commit","published_at":"2020-04-08T09:22:52.000Z","download_url":"https://codeload.github.com/ruby/weakref/tar.gz/v0.1.0","html_url":"https://github.com/ruby/weakref/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ruby/weakref@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2026-10-20T09:11:11.151Z","dependent_packages_count":0,"downloads":742385,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":4.270491493077143,"dependent_repos_count":0.0,"dependent_packages_count":0.0,"stargazers_count":null,"forks_count":null,"docker_downloads_count":0.03081864041134775,"average":1.0753275333721228},"purl":"pkg:gem/weakref?repository_url=https://gem.coop","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/rubygems/weakref","docker_dependents_count":1592,"docker_downloads_count":3293357693,"usage_url":"https://repos.ecosyste.ms/usage/rubygems/weakref","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/rubygems/weakref/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-14T19:42:22.536Z","issues_count":4,"pull_requests_count":71,"avg_time_to_close_issue":63779.0,"avg_time_to_close_pull_request":474984.24242424243,"issues_closed_count":1,"pull_requests_closed_count":66,"pull_request_authors_count":9,"issue_authors_count":4,"avg_comments_per_issue":1.0,"avg_comments_per_pull_request":0.15492957746478872,"merged_pull_requests_count":61,"bot_issues_count":0,"bot_pull_requests_count":54,"past_year_issues_count":1,"past_year_pull_requests_count":43,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":166343.92682926828,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":41,"past_year_pull_request_authors_count":4,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.13953488372093023,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":40,"past_year_merged_pull_requests_count":38,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fweakref/issues","maintainers":[{"login":"hsbt","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hsbt"},{"login":"k0kubun","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/k0kubun"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/weakref/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/weakref/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/weakref/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/weakref/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/weakref/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/weakref/codemeta","maintainers":[{"uuid":"27848","login":"naruse","name":null,"email":null,"url":null,"packages_count":80,"html_url":"https://gem.coop/profiles/naruse","role":null,"created_at":"2025-10-10T01:06:18.797Z","updated_at":"2025-10-10T01:06:18.797Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/maintainers/naruse/packages"},{"uuid":"36956","login":"hsbt","name":null,"email":null,"url":null,"packages_count":180,"html_url":"https://gem.coop/profiles/hsbt","role":null,"created_at":"2025-10-10T01:06:18.835Z","updated_at":"2025-10-10T01:06:18.835Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/maintainers/hsbt/packages"}]}