rails_accessibility_testing 1.5.4 β†’ 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c200c81650bf10d4b74b6f8270aad8ee888ea42aa6b979bb3c38d15c28f34884
4
- data.tar.gz: f650081313bc70c51f10a86e54ea189356bf27258c5e83a2e0e3ba72367478db
3
+ metadata.gz: 836e9f69cdf0b1f32abc52ba3c10f447573d5119e7a5fe46ebd40f220d9512d8
4
+ data.tar.gz: 77f443a9489889342ceefb083f6ac17180f2e5c371e97c70d713872e36e25f7e
5
5
  SHA512:
6
- metadata.gz: dbf1bf3b4d4ae115a82d46d5e331ce3538b7a48fea54e391b3e2701a8f6676042b9cc6dc719a185f7ce80d783803bd46ec5950acd156ead844dca9eb042c8c40
7
- data.tar.gz: 24c012d81ec25267d948c661f8631c9c760d32793e5c3261e023d7d76e3ee65d72ee0c4ed871ced3fac1e0d82ec8646ee77920d166381fcec2acd5d53a12d312
6
+ metadata.gz: 841164904b6374442f3718540dcb9a3d3458b1daa3135cbb3a00cea29874d8b83600b53d92fb78b96587836594d54cc4787b4711fb5ef09db0d1f91246ca3954
7
+ data.tar.gz: 63b1dce42b97fe91cf16c1284d0ab8893a08aa8dd8171eb655ddb52b30db499b37d08be95c1b9d38e2f10e2fe1f63ee22807649be6530a31f612f812d7958a16
data/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.5.5] - 2024-11-20
9
+
10
+ ### Fixed
11
+ - **Rails helper compatibility**: Fixed `blank?` and `present?` calls in checks to work without Rails (pure Ruby compatibility)
12
+ - **Check compatibility with static scanning**: Fixed `FormLabelsCheck`, `InteractiveElementsCheck`, `HeadingCheck`, `ImageAltTextCheck`, and `FormErrorsCheck` to handle `nil` values correctly
13
+ - **StaticElementAdapter**: Added `all` method to support nested element queries required by checks
14
+ - **HeadingCheck**: Fixed image detection within headings for static scanning compatibility
15
+
16
+ ### Improved
17
+ - **Error handling**: Better handling of `nil` values in all checks for static scanning
18
+ - **Code robustness**: All checks now work seamlessly with both Capybara (dynamic) and Nokogiri (static) scanning
19
+
8
20
  ## [1.5.4] - 2024-11-20
9
21
 
10
22
  ### Changed
@@ -374,6 +386,7 @@ This release introduces significant improvements to view file detection, partial
374
386
  - Compatible with RSpec Rails 6.0+
375
387
  - Modular architecture with rule engine and check definitions
376
388
 
389
+ [1.5.5]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.5
377
390
  [1.5.4]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.4
378
391
  [1.5.3]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.3
379
392
  [1.5.2]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.5.2
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  **The RSpec + RuboCop of accessibility for Rails. Catch WCAG violations before they reach production.**
9
9
 
10
- **Current Version:** 1.5.4
10
+ **Current Version:** 1.5.5
11
11
 
12
12
  πŸ“– **[πŸ“š Full Documentation](https://rayraycodes.github.io/rails-accessibility-testing/)** | [πŸ’» GitHub](https://github.com/rayraycodes/rails-accessibility-testing) | [πŸ’Ž RubyGems](https://rubygems.org/gems/rails_accessibility_testing)
13
13
 
data/docs_site/index.md CHANGED
@@ -7,7 +7,7 @@ title: Home
7
7
 
8
8
  **The RSpec + RuboCop of accessibility for Rails. Catch WCAG violations before they reach production.**
9
9
 
10
- **Version:** 1.5.4
10
+ **Version:** 1.5.5
11
11
 
12
12
  Rails Accessibility Testing is a comprehensive accessibility testing gem that makes accessibility testing as natural as unit testing. It integrates seamlessly into your Rails workflow, catching WCAG 2.1 AA violations as you codeβ€”not after deployment.
13
13
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsAccessibilityTesting
4
- VERSION = "1.5.4"
4
+ VERSION = "1.5.5"
5
5
  end
6
6
 
@@ -5,7 +5,7 @@
5
5
  # Automatically configures accessibility testing for Rails system specs with
6
6
  # comprehensive checks and detailed error messages.
7
7
  #
8
- # @version 1.5.4
8
+ # @version 1.5.5
9
9
  # @author Regan Maharjan
10
10
  #
11
11
  # @example Basic usage
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_accessibility_testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Regan Maharjan