rails_accessibility_testing 1.1.1 → 1.1.3
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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/rails_accessibility_testing/version.rb +1 -1
- data/lib/rails_accessibility_testing.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89f14f3b243162c7b720591696e24b93954ec07617ae32d013f310f19a9aaa31
|
|
4
|
+
data.tar.gz: 589decae39d6ebb6af2fd0b6313951dad1815aefa0c471e266044387a8ec828c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 90bd6508c114d12a322e00b63e99eb209af7681dd8f4d8549450bd6e58383aa58d59561ae6b313a614979cfd9e5b849227176a0c91171179c0d9e1ade8199cb5
|
|
7
|
+
data.tar.gz: a543bf113f78b4c9555874e0b944294e9337690f06385eea989a9270c3d9a9287b550c93a680f4c5dcb91688dda4e906483f61f67bdab222f49d4fb9e3103766
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ 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.1.3] - 2024-12-XX
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fixed CLI tool (`rails_a11y`) failing when RSpec is not available by conditionally loading RSpec-specific components
|
|
12
|
+
- CLI tool can now run independently without requiring RSpec to be loaded
|
|
13
|
+
|
|
8
14
|
## [1.1.0] - 2024-11-15
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -76,6 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
76
82
|
- Compatible with RSpec Rails 6.0+
|
|
77
83
|
- Modular architecture with rule engine and check definitions
|
|
78
84
|
|
|
85
|
+
[1.1.3]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.1.3
|
|
79
86
|
[1.1.0]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.1.0
|
|
80
87
|
[1.0.0]: https://github.com/rayraycodes/rails-accessibility-testing/releases/tag/v1.0.0
|
|
81
88
|
|
|
@@ -47,8 +47,11 @@ require_relative 'rails_accessibility_testing/configuration'
|
|
|
47
47
|
require_relative 'rails_accessibility_testing/change_detector'
|
|
48
48
|
require_relative 'rails_accessibility_testing/error_message_builder'
|
|
49
49
|
require_relative 'rails_accessibility_testing/accessibility_helper'
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
# Only load RSpec-specific components when RSpec is available
|
|
51
|
+
if defined?(RSpec)
|
|
52
|
+
require_relative 'rails_accessibility_testing/shared_examples'
|
|
53
|
+
require_relative 'rails_accessibility_testing/rspec_integration'
|
|
54
|
+
end
|
|
52
55
|
|
|
53
56
|
# Load engine components
|
|
54
57
|
require_relative 'rails_accessibility_testing/engine/violation'
|