{"id":31250554,"url":"https://github.com/lacussolutions/br-utils-rb","last_synced_at":"2026-06-20T01:32:07.100Z","repository":{"id":312046744,"uuid":"1042890225","full_name":"LacusSolutions/br-utils-rb","owner":"LacusSolutions","description":"Ruby utility functions and resources for Brazilian-related data.","archived":false,"fork":false,"pushed_at":"2025-09-04T16:36:22.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-04T18:31:15.490Z","etag":null,"topics":["br","cep","cnpj","cpf","formatter","gem","generator","geoinformation","helpers","ruby","utils","validator"],"latest_commit_sha":null,"homepage":"","language":null,"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/LacusSolutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-08-22T18:44:25.000Z","updated_at":"2025-09-04T16:36:25.000Z","dependencies_parsed_at":"2025-08-28T13:50:55.336Z","dependency_job_id":"d1f8738b-9f7f-426b-9785-1bb03ac9fff7","html_url":"https://github.com/LacusSolutions/br-utils-rb","commit_stats":null,"previous_names":["lacussolutions/br-utils-rb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LacusSolutions/br-utils-rb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LacusSolutions%2Fbr-utils-rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LacusSolutions%2Fbr-utils-rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LacusSolutions%2Fbr-utils-rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LacusSolutions%2Fbr-utils-rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LacusSolutions","download_url":"https://codeload.github.com/LacusSolutions/br-utils-rb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LacusSolutions%2Fbr-utils-rb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276519117,"owners_count":25656554,"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-09-23T02:00:09.130Z","response_time":73,"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":["br","cep","cnpj","cpf","formatter","gem","generator","geoinformation","helpers","ruby","utils","validator"],"created_at":"2025-09-23T05:30:04.453Z","updated_at":"2026-06-20T01:32:07.093Z","avatar_url":"https://github.com/LacusSolutions.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"![br-utils for Ruby](https://br-utils.vercel.app/img/cover_br-utils.jpg)\n\nBrazilian data utilities (CPF, CNPJ, etc.) as a **multi-gem monorepo**, publishable to RubyGems with independent versioning and GitHub Actions (Trusted Publishing / OIDC).\n\n## Structure\n\n- **Root**: Tooling (Rake, RuboCop), shared config in `config/gems.yml`, no app code.\n- **Packages**: Under `packages/` — each is a gem (e.g. `cpf-dv`, `cpf-utilities`, `br-utilities`). Internal dependencies use path in development and version constraints when published.\n\nSee [MONOREPO.md](MONOREPO.md) for folder layout, tagging, dependency resolution, and risks.\n\n## Local setup\n\n```bash\nbundle install\nrake monorepo:check_cycles\ncd packages/cpf-dv \u0026\u0026 bundle install \u0026\u0026 rake test\n```\n\n## Releasing (one gem at a time)\n\n1. Bump version in `packages/\u003cdir\u003e/src/\u003cgem_name\u003e/version.rb`, commit.\n2. Push tag: `git tag \u003cgem_name\u003e@\u003cversion\u003e` (e.g. `cpf-dv@1.0.1`), then `git push origin \u003ctag\u003e`.\n3. Configure [RubyGems Trusted Publishing](https://guides.rubygems.org/trusted-publishing/) for this repo and the `release` environment.\n4. The Release workflow runs: tests the package, builds the gem, publishes to RubyGems via OIDC. No secrets required.\n\nRelease leaves first (e.g. `cpf-dv`, `cpf-fmt`), then dependents (`cpf-utilities`, `cnpj-utilities`), then `br-utilities`.\n\n## License\n\nMIT. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flacussolutions%2Fbr-utils-rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flacussolutions%2Fbr-utils-rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flacussolutions%2Fbr-utils-rb/lists"}