Added support for linting all Rubocop supported versions of Ruby, including ruby-head, while maintaining library support for Ruby v2.4. Changes include:
Removed Rubocop from gem dependencies, and moved Rubocop installation and execution to GH Actions test and deploy workflow for all compatible versions of Ruby (2.5, 2.6, 2.7, 3.0, ruby-head/3.1.0)
Upgraded Rubocop from 0.82.x to 1.24.x
Updated rubocop TODO config file for new linting errors caught by the upgraded Rubocop version
Removed lint scripting references from makefile
This approach addresses an issue that surfaces when upgrading Rubocop to a later version (>= 1.22.3) that supports linting ruby-head (3.1.0) features. Rubocop dropped support for Ruby v2.4 after Rubocop v1.12. To address dependency incompatibility between Rubocop and Ruby preventing a build of the library using Ruby v2.4, the Rubocop dependency is removed and linting is solely executed in the GH Action workflow for compatible versions of Ruby in the test job matrix.
Checklist
[x] I acknowledge that all my contributions will be made under the project's license
[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
Added support for linting all Rubocop supported versions of Ruby, including ruby-head, while maintaining library support for Ruby v2.4. Changes include:
This approach addresses an issue that surfaces when upgrading Rubocop to a later version (>= 1.22.3) that supports linting ruby-head (3.1.0) features. Rubocop dropped support for Ruby v2.4 after Rubocop v1.12. To address dependency incompatibility between Rubocop and Ruby preventing a build of the library using Ruby v2.4, the Rubocop dependency is removed and linting is solely executed in the GH Action workflow for compatible versions of Ruby in the test job matrix.
Checklist
If you have questions, please file a support ticket, or create a GitHub Issue in this repository.