From 39142fe6e3cd1463b04ef2e761a7fb25873934ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yves=20Desgagn=C3=A9?= Date: Thu, 30 Apr 2026 09:29:53 -0400 Subject: [PATCH] Update rubocop-capybara to 2.23.0 and document --excluded_folders --- .soup.json | 2 +- Gemfile.lock | 4 ++-- docs/architecture.md | 2 +- docs/soup.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.soup.json b/.soup.json index 701498d..37258f0 100644 --- a/.soup.json +++ b/.soup.json @@ -494,7 +494,7 @@ "rubocop-capybara": { "language": "Ruby", "package": "rubocop-capybara", - "version": "2.22.1", + "version": "2.23.0", "license": "MIT", "description": "Code style checking for Capybara test files (RSpec, Cucumber, Minitest).", "website": "https://github.com/rubocop/rubocop-capybara", diff --git a/Gemfile.lock b/Gemfile.lock index c33fe31..1fd96c1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -88,9 +88,9 @@ GEM rubocop-ast (1.49.1) parser (>= 3.3.7.2) prism (~> 1.7) - rubocop-capybara (2.22.1) + rubocop-capybara (2.23.0) lint_roller (~> 1.1) - rubocop (~> 1.72, >= 1.72.1) + rubocop (~> 1.81) rubocop-graphql (1.6.0) lint_roller (~> 1.1) rubocop (>= 1.72.1, < 2) diff --git a/docs/architecture.md b/docs/architecture.md index 628a874..9e42b7a 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -577,7 +577,7 @@ All dependencies are managed via Bundler with versions locked in `Gemfile.lock`. 1. Loads detection rules from `config/gitignore.yaml` 2. Adds always-enabled templates (OS, IDEs) -3. For each extension detection entry, checks file extensions using `find_files_matching` (with config-driven excluded paths from `languages.yaml` plus submodules), specific files that indicate the technology, and package dependencies in manifest files using pure Ruby regex +3. For each extension detection entry, checks file extensions using `find_files_matching` (with excluded paths combining config-driven directories from `languages.yaml`, submodules, and the `--excluded_folders` option), specific files that indicate the technology, and package dependencies in manifest files using pure Ruby regex 4. Fetches templates from gitignore.io API via HTTParty 5. Applies project-specific modifications (uncomment JetBrains patterns, comment out conflicting directory patterns like `bin/`, `lib/`, `var/`) 6. Always appends AI assistant ignore patterns (Claude Code, Cursor, Copilot, OpenAI Codex) via `detect_custom_patterns` to prevent accidental commits even if the tool isn't actively used diff --git a/docs/soup.md b/docs/soup.md index 971a524..e4c3175 100644 --- a/docs/soup.md +++ b/docs/soup.md @@ -43,7 +43,7 @@ | Ruby | rspec-support | 3.13.7 | MIT | Support utilities for RSpec gems | | 2026-01-26 | Low | Dependency | Dependency | | Ruby | rubocop | 1.86.1 | MIT | RuboCop is a Ruby code style checking and code formatting tool. | | 2026-01-26 | Low | Ruby linter | Most popular gem on rubygems | | Ruby | rubocop-ast | 1.49.1 | MIT | RuboCop's Node and NodePattern classes. | | 2026-01-26 | Low | Dependency | Dependency | -| Ruby | rubocop-capybara | 2.22.1 | MIT | Code style checking for Capybara test files (RSpec, Cucumber, Minitest). | | 2026-01-26 | Low | Ruby linter | Most popular gem | +| Ruby | rubocop-capybara | 2.23.0 | MIT | Code style checking for Capybara test files (RSpec, Cucumber, Minitest). | | 2026-01-26 | Low | Ruby linter | Most popular gem | | Ruby | rubocop-graphql | 1.6.0 | MIT | A collection of RuboCop cops to improve GraphQL-related code | | 2026-01-26 | Low | Ruby linter | Most popular gem | | Ruby | rubocop-minitest | 0.39.1 | MIT | Automatic Minitest code style checking tool. | | 2026-01-26 | Low | Ruby linter | Most popular gem | | Ruby | rubocop-performance | 1.26.1 | MIT | A collection of RuboCop cops to check for performance optimizations | | 2026-01-26 | Low | A collection of RuboCop cops to check for performance optimizations in Ruby code | Most popular gem |