A summary of data about the Ruby ecosystem.

Recent Releases of https://github.com/rubocop/rubocop-capybara

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v3.1.0

  • Add new Capybara/UnorderedWindowAccess cop. (@ydah)
  • Add new Capybara/AbsoluteXPathInElementScope cop. (@ydah)
  • Add new Capybara/AlwaysTrueCountQuery cop. (@ydah)
  • Add new Capybara/RSpec/CurrentUrlExpectation cop. (@ydah)
  • Add new Capybara/ModalMethodWithoutBlock cop. (@ydah)
  • Add new Capybara/NativeAttribute cop. (@ydah)
  • Add new Capybara/VisibilityOption cop. (@ydah)
  • Add new Capybara/ChainedFind cop. (@ydah)
  • Add new Capybara/IgnoredQueryOption cop. (@ydah)
  • Add new Capybara/RSpec/FindElementValueEq cop. (@ydah)
  • Recognize have_element and have_no_element in the RSpec negation cops. (@ydah)
  • Detect have_no_selector in Capybara/RSpec/HaveSelector. (@ydah)
  • Autocorrect visible: true in Capybara/RSpec/VisibilityMatcher for known selectors. (@ydah)
  • Add support for using find with :link and :field in Capybara/SpecificFinders cop. (@ydah)
  • Speed up loading rubocop-capybara by lazily loading only the cops needed for a run. This requires RuboCop 1.89.0+. (@koic)
  • Fix false positives in Capybara/RSpec/SpecificMatcher for input types excluded by have_field. (@ydah)
  • Avoid interpolating literal #{...}, #@..., and #$... patterns in Capybara/RSpec/CurrentPathExpectation and Capybara/RSpec/CurrentUrlExpectation autocorrection. (@ydah)
  • Fix false positives and negatives for Capybara/SpecificActions when CSS attribute values contain spaces. (@ydah)
  • Honor DefaultSelector: null in selector-dependent cops, including Capybara/RSpec/HaveSelector. (@ydah)
  • Fix false positives for custom elements in Capybara/SpecificActions and Capybara/RSpec/SpecificMatcher. (@ydah)
  • Avoid unsafe block autocorrection and unnecessary receiver parentheses in Capybara/RSpec/PredicateMatcher. (@ydah)
  • Fix a crash in Capybara/RSpec/CurrentPathExpectation for invalid regexp strings. (@ydah)
  • Fix Capybara/SpecificFinders when CSS id values are true or false. (@ydah)
  • Fix a crash in Capybara/SpecificActions for blank find selectors. (@ydah)
  • Fix reversed autocorrection in Capybara/RSpec/PredicateMatcher for eql and equal boolean matchers. (@ydah)
  • Avoid errors and unsafe autocorrection in Capybara/SpecificFinders with dynamic class: options. (@ydah)
  • Fix incorrect autocorrections and missed offenses for non-CSS locators in Capybara/SpecificFinders. (@ydah)
  • Use the :id selector when Capybara/RedundantWithinFind autocorrects find_by_id, preserving special and dynamic IDs. (@ydah)
  • Avoid unsafe find_field autocorrections for input types and boolean attributes in Capybara/SpecificFinders. (@ydah)
  • Fix false positives and incorrect autocorrections for Capybara/FindAllFirst when find or all uses match: :first. (@ydah)
  • Avoid Capybara/FindAllFirst offenses when the result is used with safe navigation or as a condition. (@ydah)
  • Fix an incorrect autocorrect for Capybara/RedundantWithinFind when find_by_id uses a dynamic id. (@ydah)
  • Fix an incorrect autocorrect for Capybara/RedundantWithinFind when a finder call has a block argument. (@ydah)
  • Fix a false positive for Capybara/RSpec/HaveSelector when DefaultSelector is unsupported. (@ydah)
  • Fix an incorrect autocorrect for Capybara/SpecificFinders when a selector class is empty or contains an escaped dot. (@ydah)
  • Fix a false positive for Capybara/SpecificFinders when an id selector contains unsupported CSS identifier syntax. (@ydah)
  • Fix a false negative for Capybara/RSpec/NegationMatcherAfterVisit when using to_not. (@ydah)
  • Fix an incorrect autocorrect for Capybara/RSpec/PredicateMatcher when EnforcedStyle: explicit and expect actual is a complex expression. (@ydah)
  • Fix Capybara/RSpec/CurrentPathExpectation autocorrection for match when the URL has a query string. (@ydah)
  • Fix a false positive for Capybara/SpecificActions when click uses arguments or a block. (@ydah)
  • Fix an incorrect autocorrect for Capybara/SpecificFinders when a selector class is used with nested class: options. (@ydah)
  • Fix CSS attribute parsing when attribute values contain quotes. (@ydah)
  • Fix CSS attribute parsing to return raw values and format Ruby literals in autocorrection. (@ydah)
  • Fix a false negative for Capybara/SpecificFinders when using find with input field attributes. (@ydah)

- Ruby
Published by github-actions[bot] about 1 month ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v3.0.0

  • Enable pending cops by default for the 3.0 release. (@ydah)
  • Remove the deprecated Capybara/ClickLinkOrButtonStyle cop. (@ydah)
  • Remove obsolete cop name migration config for the 2.x to 3.0 transition. (@ydah)

- Ruby
Published by github-actions[bot] 5 months ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.23.0

  • Bump RuboCop requirement to +1.81. (@ydah)
  • Add new Capybara/RSpec/HaveContent cop. (@nzlaura)
  • Move the department associated with Capybara::RSpecMatchers to Capybara/RSpec/*. (@ydah)
    • Rename Capybara/CurrentPathExpectation to Capybara/RSpec/CurrentPathExpectation
    • Rename Capybara/SpecificMatcher to Capybara/RSpec/SpecificMatcher
    • Rename Capybara/NegationMatcher to Capybara/RSpec/NegationMatcher
    • Rename Capybara/NegationMatcherAfterVisit to Capybara/RSpec/NegationMatcherAfterVisit
    • Rename Capybara/VisibilityMatcher to Capybara/RSpec/VisibilityMatcher
  • Split Capybara/MatchStyle into Capybara/AssertStyle and Capybara/RSpec/MatchStyle. (@ydah)
  • Fix a false positive for Capybara/FindAllFirst when using logical operators with all('...')[0]. (@ydah)
  • Fix an incorrect autocorrect for Capybara/FindAllFirst when find or all with match: :first uses a receiver and mark autocorrection as unsafe. (@ydah)
  • Fix an error for Capybara/RSpec/HaveSelector when passing only a selector type. (@ydah)

- Ruby
Published by github-actions[bot] 7 months ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.22.1

  • Fix incorrect plugin version. (@koic)

- Ruby
Published by github-actions[bot] over 1 year ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.22.0

  • Add Capybara/AmbiguousClick cop and make soft-deprecated Capybara/ClickLinkOrButtonStyle cop. If you want to use EnforcedStyle: strict, use Capybara/AmbiguousClick cop instead. (@ydah)
  • Add new Capybara/FindAllFirst cop. (@ydah)
  • Add a new Capybara/NegationMatcherAfterVisit cop. (@ydah)
  • Fix an error for Capybara/RSpec/HaveSelector when passing no arguments. (@earlopain)
  • Make RuboCop Capybara work as a RuboCop plugin. (@bquorning)

- Ruby
Published by github-actions[bot] over 1 year ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.21.0

  • Fix a false negative for Capybara/NegationMatcher when using to_not. (@ydah)
  • Fix a false negative for Capybara/SpecificFinders when using find(:id, 'some-id'). (@ydah)

- Ruby
Published by github-actions[bot] over 2 years ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.20.0

What's Changed

  • Add new Capybara/RedundantWithinFind cop. (@ydah)
  • Change to default EnforcedStyle: link_or_button for Capybara/ClickLinkOrButtonStyle cop. (@ydah)
  • Change to default EnforcedStyle: have_no for Capybara/NegationMatcher cop. (@ydah)
  • Fix a false negative for RSpec/HaveSelector when first argument is dstr node. (@ydah)
  • Fix an invalid attributes parse when name with multiple [] for Capybara/SpecificFinders and Capybara/SpecificActions and Capybara/SpecificMatcher. (@ydah)
  • Fix a false positive for Capybara/SpecificMatcher when text: or exact_text: with regexp. (@ydah)

Full Changelog: https://github.com/rubocop/rubocop-capybara/compare/v2.19.0...v2.20.0

- Ruby
Published by ydah almost 3 years ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.19.0

What's Changed

  • Add new Capybara/RSpec/PredicateMatcher cop. (@ydah)
  • Add new Capybara/RSpec/HaveSelector cop. (@ydah)
  • Add new Capybara/ClickLinkOrButtonStyle cop. (@ydah)
  • Fix a false positive for Capybara/SpecificFinders when find with kind option. (@ydah)
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. (@ydah)
  • Drop Ruby 2.6 support. (@ydah)

Full Changelog: https://github.com/rubocop/rubocop-capybara/compare/v2.18.0...v2.19.0

- Ruby
Published by ydah about 3 years ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.18.0

  • Fix an offense message for Capybara/SpecificFinders. (@ydah)
  • Expand Capybara/NegationMatcher to support have_content (@OskarsEzerins)
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation when matcher's argument is a method with a argument and no parentheses. (@ydah)

- Ruby
Published by ydah over 3 years ago

https://github.com/rubocop/rubocop-capybara - RuboCop Capybara v2.17.1

  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. (@ydah)
  • Fix a false negative for Capybara/CurrentPathExpectation when using match. (@ydah)
  • Fix a false positive and incorrect autocorrect for Capybara/SpecificActions, Capybara/SpecificFinders and Capybara/SpecificMatcher. (@ydah)

- Ruby
Published by ydah almost 4 years ago