{"id":13878954,"url":"https://github.com/fnando/breadcrumbs","last_synced_at":"2025-10-07T09:52:37.733Z","repository":{"id":849484,"uuid":"578330","full_name":"fnando/breadcrumbs","owner":"fnando","description":"Breadcrumbs is a simple Rails plugin that adds a breadcrumbs object to controllers and views.","archived":false,"fork":false,"pushed_at":"2023-09-05T09:37:23.000Z","size":80,"stargazers_count":63,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T00:59:40.306Z","etag":null,"topics":["breadcrumbs","rails","ruby","ruby-on-rails"],"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":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fnando.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["fnando"],"custom":["https://paypal.me/nandovieira/🍕"]}},"created_at":"2010-03-25T00:12:31.000Z","updated_at":"2024-04-04T18:45:24.000Z","dependencies_parsed_at":"2024-01-13T20:56:22.308Z","dependency_job_id":"cc6cdc05-e788-4c8a-aa17-6daa63ffa39a","html_url":"https://github.com/fnando/breadcrumbs","commit_stats":{"total_commits":44,"total_committers":5,"mean_commits":8.8,"dds":0.2954545454545454,"last_synced_commit":"756da079c4e14dbd2e153377927aa7ef1d056aa3"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/fnando/breadcrumbs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fbreadcrumbs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fbreadcrumbs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fbreadcrumbs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fbreadcrumbs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnando","download_url":"https://codeload.github.com/fnando/breadcrumbs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnando%2Fbreadcrumbs/sbom","scorecard":{"id":405564,"data":{"date":"2025-08-11","repo":{"name":"github.com/fnando/breadcrumbs","commit":"756da079c4e14dbd2e153377927aa7ef1d056aa3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ruby-tests.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/ruby-tests.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/fnando/breadcrumbs/ruby-tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ruby-tests.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/fnando/breadcrumbs/ruby-tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ruby-tests.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/fnando/breadcrumbs/ruby-tests.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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 'main'"],"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 4 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-18T21:10:44.444Z","repository_id":849484,"created_at":"2025-08-18T21:10:44.444Z","updated_at":"2025-08-18T21:10:44.444Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278755147,"owners_count":26040034,"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-07T02:00:06.786Z","response_time":59,"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":["breadcrumbs","rails","ruby","ruby-on-rails"],"created_at":"2024-08-06T08:02:05.251Z","updated_at":"2025-10-07T09:52:37.697Z","avatar_url":"https://github.com/fnando.png","language":"Ruby","readme":"# Breadcrumbs\n\n[![ruby-tests](https://github.com/fnando/breadcrumbs/actions/workflows/ruby-tests.yml/badge.svg)](https://github.com/fnando/breadcrumbs/actions/workflows/ruby-tests.yml)\n[![Gem](https://img.shields.io/gem/v/breadcrumbs.svg)](https://rubygems.org/gems/breadcrumbs)\n[![Gem](https://img.shields.io/gem/dt/breadcrumbs.svg)](https://rubygems.org/gems/breadcrumbs)\n\nBreadcrumbs is a simple plugin that adds a `breadcrumbs` object to controllers\nand views.\n\n## Instalation\n\nJust run `gem install breadcrumbs`. Or add `gem \"breadcrumbs\"` to your Gemfile.\n\n## Usage\n\nOn your controller (optional):\n\n```ruby\nclass ApplicationController \u003c ActionController::Base\n  before_action :add_initial_breadcrumbs\n\n  private\n  def add_initial_breadcrumbs\n    breadcrumbs.add \"Home\", root_path\n  end\nend\n\nclass ThingsController \u003c ApplicationController\n  def index\n    breadcrumbs.add \"Things\", things_path\n  end\nend\n```\n\nYou don't need to provide an URL; in that case, a span will be generated instead\nof a link:\n\n```ruby\nbreadcrumbs.add \"Some page\"\n```\n\nYou can set additional HTML attributes if you need to:\n\n```ruby\nbreadcrumbs.add \"Home\", root_path, id: \"home\", title: \"Go to the home page\"\n```\n\nOn your view (possibly application.html.erb):\n\n```erb\n\u003c%= breadcrumbs.render %\u003e\n```\n\nYou can render as ordered list.\n\n```erb\n\u003c%= breadcrumbs.render(format: :ordered_list) %\u003e\n```\n\nYou can render as inline links.\n\n```erb\n\u003c%= breadcrumbs.render(format: :inline) %\u003e\n```\n\nYou can set your own separator:\n\n```erb\n\u003cp\u003e\n  You are here: \u003c%= breadcrumbs.render(format: :inline, separator: \"|\") %\u003e\n\u003c/p\u003e\n```\n\nYou can also define your own formatter. Just create a class that implements a\n`render` instance method and you're good to go.\n\n```ruby\nclass Breadcrumbs::Render::Dl\n  def render\n    # return breadcrumbs wrapped in a \u003cdl\u003e tag\n  end\nend\n```\n\nTo use your new format, just provide the `:format` option.\n\n```ruby\nbreadcrumbs.render(format: :dl)\n```\n\n### I18n\n\nBreadcrumbs is integrated with I18n. You can set translations like:\n\n```yaml\nen:\n  breadcrumbs:\n    home: \"Home\"\n```\n\nAnd then you just call\n\n```ruby\nbreadcrumbs.add :home\n```\n\nIn fact, you can provide any scope you want.\n\n```ruby\nbreadcrumbs.add :\"titles.home\"\n```\n\nIf you don't want to translate a label, just pass the option `:i18n` as `false`.\n\n```ruby\nbreadcrumbs.add :home, nil, i18n: false\n```\n\n## Maintainer\n\n- [Nando Vieira](https://github.com/fnando)\n\n## Contributors\n\n- https://github.com/fnando/breadcrumbs/contributors\n\n## Contributing\n\nFor more details about how to contribute, please read\nhttps://github.com/fnando/breadcrumbs/blob/main/CONTRIBUTING.md.\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](https://opensource.org/licenses/MIT). A copy of the license can be\nfound at https://github.com/fnando/breadcrumbs/blob/main/LICENSE.md.\n\n## Code of Conduct\n\nEveryone interacting in the breadcrumbs project's codebases, issue trackers,\nchat rooms and mailing lists is expected to follow the\n[code of conduct](https://github.com/fnando/breadcrumbs/blob/main/CODE_OF_CONDUCT.md).\n","funding_links":["https://github.com/sponsors/fnando","https://paypal.me/nandovieira/🍕"],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fbreadcrumbs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnando%2Fbreadcrumbs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnando%2Fbreadcrumbs/lists"}