rails_accessibility_testing 1.1.0 → 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: 44226ec4973a99bf8f1547ea8097b1692149aff661462c49e49f231fa922ee68
4
- data.tar.gz: 6cbe080229e8ab7895b9a43c318e613b23c9f47630ee3d059f3c62a155d79840
3
+ metadata.gz: 89f14f3b243162c7b720591696e24b93954ec07617ae32d013f310f19a9aaa31
4
+ data.tar.gz: 589decae39d6ebb6af2fd0b6313951dad1815aefa0c471e266044387a8ec828c
5
5
  SHA512:
6
- metadata.gz: 6a9ebf9993e2e0c62ebfee115edd8af562ea7545ad9ea3324e76f08d2cc0ad7617d92c7703a8cac2eb703381b4e8737b57e6fb238fb90918aecfe84c383ef65d
7
- data.tar.gz: 2c8063de81c13388d38f01b289a6cf5a806aac8e0e176496857a4c4fbc714a18f187c2fb90d846cefded37e5e2896454eaddbfa87a98262548a420633c95aec4
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.0"
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.0
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Regan Maharjan
@@ -186,13 +186,13 @@ files:
186
186
  - lib/rails_accessibility_testing/shared_examples.rb
187
187
  - lib/rails_accessibility_testing/version.rb
188
188
  - lib/tasks/accessibility.rake
189
- homepage: https://github.com/rayraycodes/rails_accessibility_testing
189
+ homepage: https://github.com/rayraycodes/rails-accessibility-testing
190
190
  licenses:
191
191
  - MIT
192
192
  metadata:
193
- homepage_uri: https://github.com/rayraycodes/rails_accessibility_testing
194
- source_code_uri: https://github.com/rayraycodes/rails_accessibility_testing
195
- changelog_uri: https://github.com/rayraycodes/rails_accessibility_testing/blob/main/CHANGELOG.md
193
+ homepage_uri: https://github.com/rayraycodes/rails-accessibility-testing
194
+ source_code_uri: https://github.com/rayraycodes/rails-accessibility-testing
195
+ changelog_uri: https://github.com/rayraycodes/rails-accessibility-testing/blob/main/CHANGELOG.md
196
196
  documentation_uri: https://rayraycodes.github.io/rails-accessibility-testing/
197
197
  rubygems_mfa_required: 'true'
198
198
  post_install_message: