{"id":12274448,"name":"mini_sql","ecosystem":"rubygems","description":"A fast, safe, simple direct SQL executor for PG","homepage":"https://github.com/discourse/mini_sql","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/discourse/mini_sql","keywords_array":[],"namespace":null,"versions_count":30,"first_release_published_at":"2018-06-15T06:30:03.497Z","latest_release_published_at":"2024-08-21T00:45:05.872Z","latest_release_number":"1.6.0","last_synced_at":"2026-04-22T17:01:26.987Z","created_at":"2025-10-07T04:19:24.331Z","updated_at":"2026-04-22T17:01:59.155Z","registry_url":"https://gem.coop/gems/mini_sql","install_command":"gem install mini_sql -s https://gem.coop","documentation_url":"http://www.rubydoc.info/gems/mini_sql/","metadata":{"funding":null},"repo_metadata":{"id":33875202,"uuid":"137448279","full_name":"discourse/mini_sql","owner":"discourse","description":"a minimal, fast, safe sql executor","archived":false,"fork":false,"pushed_at":"2024-09-17T21:41:26.000Z","size":225,"stargazers_count":399,"open_issues_count":1,"forks_count":16,"subscribers_count":23,"default_branch":"main","last_synced_at":"2026-03-29T19:47:51.909Z","etag":null,"topics":["rubygem"],"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/discourse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2018-06-15T06:15:13.000Z","updated_at":"2026-03-19T12:22:47.000Z","dependencies_parsed_at":"2024-06-18T20:12:37.784Z","dependency_job_id":"e9619a43-18c9-45bb-aefc-4e51eddc946c","html_url":"https://github.com/discourse/mini_sql","commit_stats":{"total_commits":126,"total_committers":15,"mean_commits":8.4,"dds":"0.40476190476190477","last_synced_commit":"7e0d428f2a4ddfc1d313368b7bc2b7d393f0139f"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/discourse/mini_sql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fmini_sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fmini_sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fmini_sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fmini_sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse","download_url":"https://codeload.github.com/discourse/mini_sql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fmini_sql/sbom","scorecard":{"id":344644,"data":{"date":"2025-08-11","repo":{"name":"github.com/discourse/mini_sql","commit":"645c65ea37afb6b1a50d013fc7b0c509d6cbc059"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"checks":[{"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":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":"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":"Code-Review","score":6,"reason":"Found 18/29 approved changesets -- score normalized to 6","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/discourse/mini_sql/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/discourse/mini_sql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/discourse/mini_sql/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/discourse/mini_sql/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:79: update your workflow using https://app.stepsecurity.io/secureworkflow/discourse/mini_sql/ci.yml/main?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 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-18T06:45:40.377Z","repository_id":33875202,"created_at":"2025-08-18T06:45:40.377Z","updated_at":"2025-08-18T06:45:40.377Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31513382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"discourse","name":"Discourse","uuid":"3220138","kind":"organization","description":"The 100% open source discussion platform built for the next decade of the Internet. ","email":"team@discourse.org","website":"https://www.discourse.org","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/3220138?v=4","repositories_count":473,"last_synced_at":"2023-04-09T03:48:45.404Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/discourse","funding_links":[],"total_stars":51423,"followers":null,"following":null,"created_at":"2022-11-02T16:17:21.502Z","updated_at":"2023-04-09T03:48:46.710Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discourse/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-04-22T17:01:59.125Z","dependent_packages_count":0,"downloads":1000196,"downloads_period":"total","dependent_repos_count":0,"rankings":{"downloads":3.254722591667478,"dependent_repos_count":0.0,"dependent_packages_count":0.0,"stargazers_count":null,"forks_count":null,"docker_downloads_count":0.674736836414163,"average":0.9823648570204102},"purl":"pkg:gem/mini_sql?repository_url=https://gem.coop","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/rubygems/mini_sql","docker_dependents_count":91,"docker_downloads_count":32568275,"usage_url":"https://repos.ecosyste.ms/usage/rubygems/mini_sql","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/rubygems/mini_sql/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-04T12:09:09.528Z","issues_count":3,"pull_requests_count":57,"avg_time_to_close_issue":53911656.0,"avg_time_to_close_pull_request":4373251.339285715,"issues_closed_count":2,"pull_requests_closed_count":56,"pull_request_authors_count":15,"issue_authors_count":3,"avg_comments_per_issue":4.333333333333333,"avg_comments_per_pull_request":2.719298245614035,"merged_pull_requests_count":45,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":3,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":424702.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.3333333333333333,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/discourse%2Fmini_sql/issues","maintainers":[{"login":"SamSaffron","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/SamSaffron"},{"login":"davidtaylorhq","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/davidtaylorhq"},{"login":"xfalcox","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/xfalcox"},{"login":"OsamaSayegh","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/OsamaSayegh"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/mini_sql/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/mini_sql/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/mini_sql/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/mini_sql/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/packages/mini_sql/codemeta","maintainers":[{"uuid":"3424","login":"samsaffron","name":null,"email":null,"url":null,"packages_count":49,"html_url":"https://gem.coop/profiles/samsaffron","role":null,"created_at":"2025-10-07T23:15:08.003Z","updated_at":"2025-10-07T23:15:08.003Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/maintainers/samsaffron/packages"},{"uuid":"143660","login":"discourse-rubygems","name":null,"email":null,"url":null,"packages_count":44,"html_url":"https://gem.coop/profiles/discourse-rubygems","role":null,"created_at":"2025-10-07T23:15:08.042Z","updated_at":"2025-10-07T23:15:08.042Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/gem.coop/maintainers/discourse-rubygems/packages"}]}