{"id":15510358,"url":"https://github.com/nowlinuxing/rdoc_rubocop","last_synced_at":"2026-05-16T21:09:36.567Z","repository":{"id":56891211,"uuid":"162886079","full_name":"nowlinuxing/rdoc_rubocop","owner":"nowlinuxing","description":"Ruby static code analyzer and formatter for codes in RDoc","archived":false,"fork":false,"pushed_at":"2019-02-11T04:15:49.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T18:53:58.501Z","etag":null,"topics":["rdoc","rubocop","ruby","ruby-gem"],"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/nowlinuxing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-23T11:47:04.000Z","updated_at":"2019-02-11T04:15:49.000Z","dependencies_parsed_at":"2022-08-20T16:00:48.975Z","dependency_job_id":null,"html_url":"https://github.com/nowlinuxing/rdoc_rubocop","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frdoc_rubocop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frdoc_rubocop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frdoc_rubocop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowlinuxing%2Frdoc_rubocop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nowlinuxing","download_url":"https://codeload.github.com/nowlinuxing/rdoc_rubocop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244815972,"owners_count":20515023,"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":["rdoc","rubocop","ruby","ruby-gem"],"created_at":"2024-10-02T09:47:58.371Z","updated_at":"2026-05-16T21:09:36.530Z","avatar_url":"https://github.com/nowlinuxing.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RDocRuboCop\n\n**RDocRuboCop** is a Ruby static code analyzer and formatter for codes in RDoc.\n\n### before\n\n```ruby\nclass Foo\n  # concatenate each elements with \",\"\n  #\n  #   a = [ 1 , 2 , 3 ]\n  #   foo=Foo.new\n  #   foo.bar( a )\n  #\n  def bar(array)\n    array.join(\",\")\n  end\nend\n```\n\n### after\n\n```ruby\nclass Foo\n  # concatenate each elements with \",\"\n  #\n  #   a = [1, 2, 3]\n  #   foo = Foo.new\n  #   foo.bar(a)\n  #\n  def bar(array)\n    array.join(\",\")\n  end\nend\n\n```\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rdoc_rubocop'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rdoc_rubocop\n\n## Usage\n\n    # Generate .rdoc_rubocop.yml and .rdoc_rubocop_todo.yml\n    $ rdoc-rubocop --auto-gen-config\n\n    # If .rubocop.yml already exists, and apply same cops to RDoc, edit .rdoc_rubocop.yml:\n    #\n    #   inherit_from: .rubocop.yml\n    #   Style/FrozenStringLiteralComment:\n    #     Enabled: false\n\n    # Correct the code\n    $ rdoc-rubocop -a\n\nIf you do not specify any file, rdoc_rubocop finds for files recursively from current directory. The extension of the target file is used to determine programming language. If it is .rb, it is parsed as Ruby, and if it is .c, it is parsed as C.\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`. 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/nowlinuxing/rdoc_rubocop.\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%2Fnowlinuxing%2Frdoc_rubocop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowlinuxing%2Frdoc_rubocop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowlinuxing%2Frdoc_rubocop/lists"}