A summary of data about the Ruby ecosystem.

https://github.com/rubocop/rubocop-capybara

Code style checking for Capybara files.
https://github.com/rubocop/rubocop-capybara

Keywords

capybara lint rubocop ruby static-analysis testing

Keywords from Contributors

rspec static-code-analysis code-formatter activerecord activejob mvc rubygems rack crash-reporting ruby-gem

Last synced: about 20 hours ago
JSON representation

Repository metadata

Code style checking for Capybara files.

README.md

RuboCop Capybara

Join the chat at https://gitter.im/rubocop-rspec/Lobby
Gem Version
CI

Capybara-specific analysis for your projects, as an extension to
RuboCop.

Installation

Just install the rubocop-capybara gem

gem install rubocop-capybara

or if you use bundler put this in your Gemfile

gem 'rubocop-capybara', require: false

Usage

You need to tell RuboCop to load the Capybara extension. There are three
ways to do this:

RuboCop configuration file

Put this into your .rubocop.yml.

plugins: rubocop-capybara

Alternatively, use the following array notation when specifying multiple extensions.

plugins:
  - rubocop-other-extension
  - rubocop-capybara

Now you can run rubocop and it will automatically load the RuboCop Capybara
cops together with the standard cops.

[!NOTE]
The plugin system is supported in RuboCop 1.72+. In earlier versions, use require instead of plugins.

Command line

rubocop --plugin rubocop-capybara

Rake task

RuboCop::RakeTask.new do |task|
  task.plugins << 'rubocop-capybara'
end

Documentation

You can read more about RuboCop Capybara in its official manual.

The Cops

All cops are located under
lib/rubocop/cop/capybara, and contain
examples/documentation.

In your .rubocop.yml, you may treat the Capybara cops just like any other
cop. For example:

Capybara/SpecificMatcher:
  Exclude:
    - spec/my_spec.rb

Contributing

Checkout the contribution guidelines.

License

rubocop-capybara is MIT licensed. See the accompanying file for
the full text.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 972
Total Committers: 127
Avg Commits per committer: 7.654
Development Distribution Score (DDS): 0.801

Commits in past year: 17
Committers in past year: 8
Avg Commits per committer in past year: 2.125
Development Distribution Score (DDS) in past year: 0.706

Name Email Commits
Benjamin Quorning b****n@q****t 193
ydah 1****h 153
Phil Pirozhkov p****a@g****m 132
John Backus j****s@g****m 104
Nils Gemeinhardt g****t@n****e 43
Maxim Krizhanovsky m****m@t****m 35
Maxim Krizhanovsky d****r@g****m 28
Tomasz Pajor t****k@p****m 20
Ryo Nakamura r****a@g****m 19
Maxim Krizhanovski m****i@t****m 17
Daniel Gollahon d****l@b****m 14
Ian MacLeod i****n@n****t 12
Tejas Bubane t****e@g****m 11
Andy Waite a****8 9
Koichi ITO k****o@g****m 8
Masataka Pocke Kuwabara k****a@p****e 8
John Fragoulis f****s@s****r 6
Robert Speicher r****r@g****m 6
Keiji Yoshimi w****3@g****m 4
Gareth Jones j****8@g****m 4
Daniel Vandersluis d****s@g****m 4
Andrew Bromwich a****h@g****m 4
Nick Campbell n****l@g****m 3
Bozhidar Batsov b****r@b****m 3
Daniel Colson d****n@g****m 3
Earlopain 1****n 3
Josh Hagins h****h@g****m 3
Ulugbek Tuychiev t****9@g****m 3
Viacheslav Mefodin m****v@g****m 3
dependabot[bot] 4****] 3
and 97 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 3 days ago

Total issues: 28
Total pull requests: 167
Average time to close issues: 4 months
Average time to close pull requests: 13 days
Total issue authors: 13
Total pull request authors: 15
Average comments per issue: 1.64
Average comments per pull request: 0.95
Merged pull request: 144
Bot issues: 0
Bot pull requests: 6

Past year issues: 2
Past year pull requests: 28
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 4 days
Past year issue authors: 2
Past year pull request authors: 10
Past year average comments per issue: 1.0
Past year average comments per pull request: 1.07
Past year merged pull request: 20
Past year bot issues: 0
Past year bot pull requests: 3

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/rubocop/rubocop-capybara

Top Issue Authors

  • ydah (9)
  • boris-petrov (5)
  • jcoyne (2)
  • tagliala (2)
  • ydakuka (2)
  • fdr (1)
  • mockdeep (1)
  • phil-workato (1)
  • FunnyHector (1)
  • Tietew (1)
  • tricknotes (1)
  • hatsu38 (1)
  • rebeccafae (1)

Top Pull Request Authors

  • ydah (127)
  • bquorning (8)
  • Earlopain (6)
  • pirj (5)
  • github-actions[bot] (4)
  • dvandersluis (3)
  • koic (2)
  • boris-petrov (2)
  • digitaltom (2)
  • dependabot[bot] (2)
  • jdufresne (2)
  • OskarsEzerins (1)
  • maxjacobson (1)
  • nzlaura (1)
  • JulienItard (1)

Top Issue Labels

  • cop (10)
  • enhancement (2)
  • bug (1)

Top Pull Request Labels

  • dependencies (2)
  • github_actions (1)

Package metadata

gem.coop: rubocop-capybara

Code style checking for Capybara test files (RSpec, Cucumber, Minitest). A plugin for the RuboCop code style enforcing & linting tool.

  • Homepage: https://github.com/rubocop/rubocop-capybara
  • Documentation: http://www.rubydoc.info/gems/rubocop-capybara/
  • Licenses: MIT
  • Latest release: 2.22.1 (published 9 months ago)
  • Last Synced: 2025-12-16T23:02:32.123Z (2 days ago)
  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 85,521,425 Total
  • Docker Downloads: 597,695,522
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.121%
    • Docker downloads count: 0.153%
    • Downloads: 0.331%
  • Maintainers (4)
rubygems.org: rubocop-capybara

Code style checking for Capybara test files (RSpec, Cucumber, Minitest). A plugin for the RuboCop code style enforcing & linting tool.

  • Homepage: https://github.com/rubocop/rubocop-capybara
  • Documentation: http://www.rubydoc.info/gems/rubocop-capybara/
  • Licenses: MIT
  • Latest release: 2.22.1 (published 9 months ago)
  • Last Synced: 2025-12-16T11:11:24.556Z (3 days ago)
  • Versions: 8
  • Dependent Packages: 24
  • Dependent Repositories: 1,707
  • Downloads: 85,479,204 Total
  • Docker Downloads: 597,695,522
  • Rankings:
    • Docker downloads count: 0.188%
    • Downloads: 0.732%
    • Dependent repos count: 0.761%
    • Dependent packages count: 1.299%
    • Average: 4.378%
    • Stargazers count: 9.947%
    • Forks count: 13.341%
  • Maintainers (4)

Dependencies

.github/workflows/codespell.yml actions
  • actions/checkout v3 composite
  • codespell-project/actions-codespell master composite
.github/workflows/linting.yml actions
  • actions/checkout v3 composite
  • karancode/yamllint-github-action master composite
  • ydah/mdformat-action main composite
.github/workflows/main.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems
  • bump >= 0
  • rack >= 0
  • rake >= 0
  • rspec ~> 3.11
  • rubocop-performance ~> 1.7
  • rubocop-rake ~> 0.6
  • rubocop-rspec ~> 2.16.0
  • yard >= 0
rubocop-capybara.gemspec rubygems
  • rubocop ~> 1.41

Score: 30.022762707597423