{"id":18481552,"url":"https://github.com/rubocop/rubocop-rake","last_synced_at":"2025-05-15T09:06:52.178Z","repository":{"id":44645712,"uuid":"206132040","full_name":"rubocop/rubocop-rake","owner":"rubocop","description":"A RuboCop plugin for Rake","archived":false,"fork":false,"pushed_at":"2025-02-16T10:09:22.000Z","size":95,"stargazers_count":94,"open_issues_count":13,"forks_count":18,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-21T18:28:34.184Z","etag":null,"topics":["rake","rubocop"],"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/rubocop.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},"funding":{"github":"bbatsov","patreon":"bbatsov","open_collective":"rubocop","tidelift":"rubygems/rubocop","custom":"https://www.paypal.me/bbatsov"}},"created_at":"2019-09-03T17:17:43.000Z","updated_at":"2025-04-20T08:57:18.000Z","dependencies_parsed_at":"2024-11-13T13:43:29.882Z","dependency_job_id":"7344847a-7285-4a2f-b82f-dab456043a7d","html_url":"https://github.com/rubocop/rubocop-rake","commit_stats":{"total_commits":70,"total_committers":9,"mean_commits":7.777777777777778,"dds":0.5714285714285714,"last_synced_commit":"f4e8b7644b357ff91d527b052153d8127a9ad7a1"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubocop%2Frubocop-rake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubocop%2Frubocop-rake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubocop%2Frubocop-rake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubocop%2Frubocop-rake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubocop","download_url":"https://codeload.github.com/rubocop/rubocop-rake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254310515,"owners_count":22049469,"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":["rake","rubocop"],"created_at":"2024-11-06T12:24:18.524Z","updated_at":"2025-05-15T09:06:52.138Z","avatar_url":"https://github.com/rubocop.png","language":"Ruby","funding_links":["https://github.com/sponsors/bbatsov","https://patreon.com/bbatsov","https://opencollective.com/rubocop","https://tidelift.com/funding/github/rubygems/rubocop","https://www.paypal.me/bbatsov"],"categories":[],"sub_categories":[],"readme":"[![Gem Version](https://badge.fury.io/rb/rubocop-rake.svg)](https://rubygems.org/gems/rubocop-rake)\n![CI](https://github.com/rubocop/rubocop-rake/workflows/main.yml/badge.svg)\n\n# RuboCop Rake\n\nA [RuboCop](https://github.com/rubocop/rubocop) plugin for Rake.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rubocop-rake', require: false\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install rubocop-rake\n\n## Usage\n\nYou need to tell RuboCop to load the Rake extension. There are three\nways to do this:\n\n### RuboCop configuration file\n\nPut this into your `.rubocop.yml`.\n\n```yaml\nplugins: rubocop-rake\n```\n\nAlternatively, use the following array notation when specifying multiple extensions.\n\n```yaml\nplugins:\n  - rubocop-other-extension\n  - rubocop-rake\n```\n\nNow you can run `rubocop` and it will automatically load the RuboCop Rake\ncops together with the standard cops.\n\n\u003e [!NOTE]\n\u003e The plugin system is supported in RuboCop 1.72+. In earlier versions, use `require` instead of `plugins`.\n\n### Command line\n\n```bash\nrubocop --plugin rubocop-rake\n```\n\n### Rake task\n\n```ruby\nrequire 'rubocop/rake_task'\n\nRuboCop::RakeTask.new do |task|\n  task.plugins \u003c\u003c 'rubocop-rake'\nend\n```\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. 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`. To release a new version, update the version number in `version.rb`, and then 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/rubocop/rubocop-rake.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubocop%2Frubocop-rake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubocop%2Frubocop-rake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubocop%2Frubocop-rake/lists"}