Releases: utkarsh2102/rubocop-packaging
Releases · utkarsh2102/rubocop-packaging
v0.5.2
This is a very small release to make RuboCop::Packaging compatible with v1.33.0 of RuboCop! 🎉
A huge thanks to @marcotc and @koic for quickly looking at and fixing the issue! ❤️
Fixes
#34: Fix compatibility spelling. (@aryan1101)
#43: Fix compatibility with Rubocop 1.33.0. (@marcotc)
- Thanks, @ShockwaveNN, for reporting #44. :D
Changes
#37: Test against ruby3.0 \o/. (@utkarsh2102)
#40: Drop Ruby 2.4 support. (@koic)
#41: Remove spec.test_files from Packaging/GemspecGit's doc. (@koic)
#42: Migrate CI to GitHub Actions. (@petergoldstein)
#46: Drop Ruby 2.5 runtime support. (@koic)
v0.5.1
v0.5.0
New features:
- #21: Support autocorrect for
BundlerSetupInTests
cop. (@utkarsh2102) - #22: Support autocorrect for
RequireRelativeHardcodingLib
cop. (@utkarsh2102) - #23: Support autocorrect for
RequireHardcodingLib
cop. (@utkarsh2102)
Bug Fixes:
- #25:
RequireHardcodingLib
cop shouldn't check files insidelib/
. (@utkarsh2102) - #26:
RequireHardcodingLib
cop shouldn't check gemspec files. (@utkarsh2102) - #31: Add AST pattern to catch interpolated require calls. (@utkarsh2102)
Changes:
- #27: Refactor
RequireRelativeHardcodingLib
&RequireWithRelativePath
cops. (@utkarsh2102) - #28: (Breaking) Rename
RequireRelativeHardcodingLib
cop toRequireHardcodingLib
. (@utkarsh2102) - #29: Improve offense messages for all the cops. (@utkarsh2102)
v0.4.0
New features:
- #16: Add new
RequireWithRelativePath
cop. (@utkarsh2102) - #18: Add new
BundlerSetupInTests
cop. (@utkarsh2102)
Changes:
- #19: Adapt
GemspecGit
cop to new API changes. (@utkarsh2102) - #20: Enhance documentation & host it on https://docs.rubocop.org/rubocop-packaging. (@utkarsh2102, @bbatsov)
(many thanks to @bbatsov for giving space and hosting it!)
v0.3.0
Bug fixes:
- #8:
RequireRelativeToLib
cop shouldn't flag offenses when calls are made fromlib/
. (@utkarsh2102) - #11:
RelativeRequireToLib
cop shouldn't checkgemspec
files. (@utkarsh2102)
Changes:
- #7: Use
CopsDocumentationGenerator
to generate documentation. (@utkarsh2102) - #13: Re-structure the documentation & introduce packaging-style-guide. (@utkarsh2102, @terceiro, @pravi)
- #14: (Breaking) Change cop name from
RelativeRequireToLib
toRequireRelativeHardcodingLib
. (@utkarsh2102) - #15: Use
double_quotes
instead ofsingle_quotes
in the entire codebase. (@utkarsh2102)
v0.2.0
New features:
- #4: Add new
RelativeRequireToLib
cop. (@utkarsh2102)
(thanks, @marcandre, @deivid-rodriguez, @terceiro)
v0.1.1
Bug fixes:
- #5: Fix false negative for
Packaging/GemspecGit
when the file is empty. (@utkarsh2102)