{"id":22445841,"url":"https://github.com/nxt-insurance/nxt_cop","last_synced_at":"2026-03-08T20:32:58.027Z","repository":{"id":37866801,"uuid":"279855541","full_name":"nxt-insurance/nxt_cop","owner":"nxt-insurance","description":"Shared, minimal rubocop config","archived":false,"fork":false,"pushed_at":"2024-11-06T07:17:09.000Z","size":123,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":18,"default_branch":"main","last_synced_at":"2024-12-01T04:40:09.449Z","etag":null,"topics":["linter","rubocop","ruby"],"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/nxt-insurance.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-07-15T11:55:41.000Z","updated_at":"2024-09-16T06:38:29.000Z","dependencies_parsed_at":"2023-11-28T12:30:42.773Z","dependency_job_id":"388e7808-0312-4381-aff1-68caa78704cd","html_url":"https://github.com/nxt-insurance/nxt_cop","commit_stats":{"total_commits":42,"total_committers":10,"mean_commits":4.2,"dds":0.6904761904761905,"last_synced_commit":"524f3857edf8040c1ef5acff8702af58d9334a15"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxt-insurance%2Fnxt_cop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxt-insurance%2Fnxt_cop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxt-insurance%2Fnxt_cop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxt-insurance%2Fnxt_cop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxt-insurance","download_url":"https://codeload.github.com/nxt-insurance/nxt_cop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228402241,"owners_count":17914230,"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":["linter","rubocop","ruby"],"created_at":"2024-12-06T03:17:00.986Z","updated_at":"2026-03-08T20:32:57.985Z","avatar_url":"https://github.com/nxt-insurance.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nxt_cop\n\nGetsafe shared Rubocop Config.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngroup :test, :development do\n  gem 'nxt_cop'\nend\n```\n\nOr, for a Ruby library, add this to your gemspec:\n\n```ruby\nspec.add_development_dependency 'nxt_cop'\n```\n\nAnd then run:\n\n```bash\n$ bundle install\n```\n\n## Usage\n\nCreate a `.rubocop.yml` with the following directives:\n\n```yaml\ninherit_gem:\n  nxt_cop:\n    - default.yml\n```\n\nNow, run:\n\n```bash\n$ bundle exec rubocop\n```\n\nYou do not need to include rubocop directly in your application's dependencies. nxt_cop will include a specific version of `rubocop` that is shared across all projects.\n\nIt is also possible to override styles or add styles to your application.\n\n**NOTE:** Don't configure `AllCops` as it will override many of the rules in this gem.\n\n```\ninherit_gem:\n  nxt_cop:\n    - default.yml\n\nLint/Style:\n  Exclude:\n    - db/schema.rb\n    - db/migrate/*.rb\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`.\n\n## Release a new version\n### Setup credentials\n```shell\nbundle config set gem.push_key rubygems\n```\n\nAdd to `~/.gem/credentials` (create if it doesn't exist):\n\n```shell\n:rubygems: \u003cyour Rubygems API key\u003e\n```\n\n### Release process\n- Merge all Depfu updates\n- Run `bundle install` to update dependencies\n- Run `rubocop` to see if new rules were added\n  - If yes, add them to `default.yml` to prevent \"New rules\" warning\n- Update the version number in `version.rb`\n- Run `bundle install` again to update the version in Gemfile.lock\n- Update the `CHANGELOG.md`\n- Open the PR, merge everything to `main`\n\nOnce PR is merged, switch to main and run `bundle exec rake release` which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/nxt-insurance/nxt_cop.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxt-insurance%2Fnxt_cop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxt-insurance%2Fnxt_cop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxt-insurance%2Fnxt_cop/lists"}