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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99ea6418071abffd165614423b475ee2589b90c7dd391a39900d07f75333dca8
4
- data.tar.gz: 13991a21d41b0f3022f13170f0f4f496b7941c2054821b53843b0900d871eda6
3
+ metadata.gz: 89f14f3b243162c7b720591696e24b93954ec07617ae32d013f310f19a9aaa31
4
+ data.tar.gz: 589decae39d6ebb6af2fd0b6313951dad1815aefa0c471e266044387a8ec828c
5
5
  SHA512:
6
- metadata.gz: 6fa7ebb5006c244df0de3cf26e653d1db9d7d9c40f7e7d018b698388845400deccaaf435153519ba42f190b4a6a2ee40628f675560fa0d11b5975065bec36b76
7
- data.tar.gz: a1aeae1ffb499f6cc40d1661351d83e0d51eebc5ed221ba40fd8c525f45d5da5f4cd020f4527efe5d19a36e29d96e81b9b1b2f36ea55b8ff995a9a3705528c7d
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
 
@@ -1,4 +1,4 @@
1
1
  module RailsAccessibilityTesting
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.3"
3
3
  end
4
4
 
@@ -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
- require_relative 'rails_accessibility_testing/shared_examples'
51
- require_relative 'rails_accessibility_testing/rspec_integration'
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'
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.1.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Regan Maharjan