Skip to content

Commit

Permalink
Remove unused axe-capybara dependency
Browse files Browse the repository at this point in the history
The contents of the [axe-capybara.rb][] file aren't necessary for
`capybara_accessibility_audit`'s pattern of usage.

This also sheds an indirect and unstated `selenium-webdrivers`
dependency.

[axe-capybara.rb]: https://github.com/dequelabs/axe-core-gems/blob/develop/packages/axe-core-capybara/lib/axe-capybara.rb
  • Loading branch information
seanpdoyle committed Feb 29, 2024
1 parent afeb225 commit 9ede921
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Remove unused `require "axe-capybara"` statement

*Sean Doyle*

- Drop support for [End of Life version 2.7](https://www.ruby-lang.org/en/downloads/branches/)

*Sean Doyle*
Expand Down
2 changes: 1 addition & 1 deletion capybara_accessibility_audit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ Gem::Specification.new do |spec|

spec.add_dependency "rails", ">= 6.1"
spec.add_dependency "capybara"
spec.add_dependency "axe-core-capybara"
spec.add_dependency "axe-core-api"
spec.add_dependency "zeitwerk"
end
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require "axe-capybara"
require "axe/matchers/be_axe_clean"

module CapybaraAccessibilityAudit
Expand Down

0 comments on commit 9ede921

Please sign in to comment.