{"id":47594942,"url":"https://github.com/mdsol/rubocop-mdsol","last_synced_at":"2026-04-01T18:00:43.309Z","repository":{"id":38848927,"uuid":"291756381","full_name":"mdsol/rubocop-mdsol","owner":"mdsol","description":"Base rubocop configuration files for Ruby projects at Medidata","archived":false,"fork":false,"pushed_at":"2026-03-18T12:54:05.000Z","size":31,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":152,"default_branch":"develop","last_synced_at":"2026-03-18T18:39:16.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"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/mdsol.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-31T15:41:45.000Z","updated_at":"2022-04-25T19:51:05.000Z","dependencies_parsed_at":"2022-09-18T13:02:19.909Z","dependency_job_id":null,"html_url":"https://github.com/mdsol/rubocop-mdsol","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mdsol/rubocop-mdsol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Frubocop-mdsol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Frubocop-mdsol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Frubocop-mdsol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Frubocop-mdsol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsol","download_url":"https://codeload.github.com/mdsol/rubocop-mdsol/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsol%2Frubocop-mdsol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-01T18:00:22.283Z","updated_at":"2026-04-01T18:00:43.292Z","avatar_url":"https://github.com/mdsol.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RuboCop Mdsol\n\nThis gem provides base RuboCop configuration files for Ruby projects at Medidata.\n\n\n## Installation\n\nAdd the following line to your application's Gemfile:\n\n```ruby\ngem \"rubocop-mdsol\", \"~\u003e 0.3\"\n```\n\n\n## Usage\n\nIn your project's RuboCop configuration file, you need to import the files provided by this gem.\n\nAdditionally, if you installed this gem using Bundler you will need to run RuboCop using `bundle exec rubocop`.\n\n### Rails applications\n\nFrom version 0.72.0, the Rails cops have been extracted to the [rubocop-rails](https://rubygems.org/gems/rubocop-rails) gem.\nYou will need to add this gem to your Gemfile and in your RuboCop configuration require it alongside the Rails-specific yaml file:\n\n```yaml\nrequire: rubocop-rails\n\ninherit_gem:\n  rubocop-mdsol:\n    - rubocop.yml\n    - rubocop-rails.yml\n\n# your customizations here...\n```\n\n### Plain ruby projects (gems, lambdas...)\n\nPlain ruby projects only need to inherit from the base configuration file:\n\n```yaml\ninherit_gem:\n  rubocop-mdsol: rubocop.yml\n\n# your customizations here...\n```\n\n### RSpec\n\nTo lint RSpec files, add the [rubocop-rpec](https://rubygems.org/gems/rubocop-rspec) gem to your Gemfile and in your RuboCop configuration require it alongside the RSpec-specific yaml file:\n\n```yaml\nrequire: rubocop-rspec\n\ninherit_gem:\n  rubocop-mdsol:\n    - rubocop.yml\n    - rubocop-rspec.yml\n\n# your customizations here...\n```\n\n### Custom Cops\n\nTo activate the custom cops (`mdsol/*`) shipped with this Gem:\n\n```yaml\nrequire: rubocop-mdsol\n\n# or using the array notation to specify multiple extensions:\n\nrequire:\n  - rubocop-mdsol\n  - rubocop-rails\n```\n\nAll cops are located under\n[`lib/rubocop/cop/mdsol`](lib/rubocop/cop/mdsol) and contain examples/documentation.\n\n\n## Recommended customizations\n\n### String literals\n\nThe `Style/StringLiterals` is disabled by default.\nFor the sake of consistency within your project, you definitely want to enable it with your preferred style:\n\n```yaml\nStyle/StringLiterals:\n  Enabled: true\n  EnforcedStyle: double_quotes\n  # or\n  # EnforcedStyle: single_quotes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsol%2Frubocop-mdsol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsol%2Frubocop-mdsol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsol%2Frubocop-mdsol/lists"}