Update rubocop 1.62.1 → 1.63.0 (minor) #1302
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop (1.62.1 → 1.63.0) · Repo · Changelog
Release Notes
1.63.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 75 commits:
Cut 1.63
Update Changelog
[Fix #11878] Add new `Style/MapIntoArray` cop
Fix rubocop#12547 : fix text
Fix rubocop#12547 : drop the quotes around the URL
Fix rubocop#12547 : add a changelog
Fix rubocop#12547 : fix rspec
Fix rubocop#12547 : Added comment with suggestion to bring Rubocop up to the latest version in case of 'Infinite loop detected' error.
Run tests with Prism 0.25+
Merge pull request #12816 from artur-intech/master
Exclude `Rakefile.rb` from `Naming/FileName` check
Merge pull request #12820 from ydah/support-more-debugger-entry-point
Merge pull request #12821 from koic/workaround_for_prism_25
Workaround for incompatibilities between Prism 0.24.0 and 0.25.0
Tweak a character in a spec
Add support more Capybara debugger entry points for `Lint/Debugger`
Make `rubocop -V` display rubocop-rspec_rails version when using it
Add .vscode to .gitignore
Use RuboCop RSpec 2.29
Replace regex with `Bundler::LockfileParser`
Use RuboCop RSpec 2.28
Allow `AllCops/SomeParameter` for valid cop name spec
[Fix #11920] Skip files that don't satisfy gem version reqs
Add new `requires_gem` API
Add new `Config#gem_versions_in_target` API
Add method for retrieving locked gem versions
Parameterize lockfile path of `RuboCop::Lockfile`
Document `RuboCop::Lockfile`
[Fix #12676] Adjust offending range in LSP
Merge pull request #12813 from ydah/add-rubocop-rspec_rails
Respect RFC 3092
Add rubocop-rspec_rails to suggested extensions and extension doc
Use `RESTRICT_ON_SEND` for `Style/RedundantCurrentDirectoryInPath`
Use RuboCop Performance 1.21
Use `block_literal?`
Remove useless `require 'timeout'`
Merge pull request #12812 from koic/fix_false_positives_for_style_redundant_argument
[Fix #12794] Fix false positives for `Style/RedundantArgument`
[Fix #12793] Fix false positives for `Style/RedundantLineContinuation`
Update lib/rubocop/cop/mixin/safe_assignment.rb
[Fix #12731] Treat csend the same way as send for setter methods
Remove unnecessary condition
Return global offenses for `Style/Copyright` when the file is empty.
Merge pull request #12811 from Earlopain/tweakinging-profiling-docs
Small tweaks to profiling docs
Merge pull request #12808 from koic/fix_false_positives_for_naming_block_forwarding
Merge pull request #12806 from koic/fix_false_positive_for_style_redundant_line_continuation
[Fix #12807] Fix false positives for `Naming/BlockForwarding`
Fix false positives for `Style/RedundantLineContinuation`
Merge pull request #12803 from koic/fix_incorrect_autocorrect_for_style_collection_compact
Merge pull request #12802 from Earlopain/global-offenses-for-filename-issues
Return global offenses for `Naming/FileName` and `Naming/InclusiveLanguage`
[Fix #12801] Fix incorrect autocorrect for `Style/CollectionCompact`
[Fix #12797] Fix false positives for `Style/RedundantLineContinuation`
Merge pull request #12800 from sambostock/handle-empty-obsoletions-config
Handle empty obsoletion config
Merge pull request #12796 from koic/fix_false_positives_for_style_eval_with_location
Fix false positives for `Style/EvalWithLocation`
Merge pull request #12776 from Earlopain/testing-tests
Add tests for `expect_no_corrections` and `expect_correction` loop behaviour
Merge pull request #12789 from boardfish/redundant-percent-q-multiline
[Fix #12786] Make Style/RedundantPercentQ handle multiline source safely
Merge pull request #12790 from koic/fix_a_false_positive_for_lint_redundant_with_index
[Fix #12769] Fix a false positive for `Lint/RedundantWithIndex`
Merge pull request #12782 from Earlopain/fix-error-for-style-alias-spec
Fix an error for `Style/Alias` when calling `alias_method` with fewer than 2 arguments.
Merge pull request #12781 from Earlopain/fix-error-for-style-exact-regexp-match
Merge pull request #12780 from Earlopain/fix-error-for-style-redundant-each
Fix an error for `Style/ExactRegexpMatch` when calling `match` without a receiver
Fix an error for `Style/RedundantEach` when using `reverse_each.each` without a block
Add support for `InternalAffairs/ExampleDescription` when using "registers no offense"
Use 'registers no offense' instead of 'register no offense'
[Fix #12721] Add `DebuggerRequires` to `Lint/Debugger`
Fix a description of example for `Lint/UselessTimes`
Reset the docs version
✳️ json (2.7.1 → 2.7.2) · Repo · Changelog
Release Notes
2.7.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 21 commits:
Bump up 2.7.2
Merge pull request #578 from flori/warn-bundled-gems
Warn to install ostruct if json couldn't load it
Merge pull request #577 from tompng/autoload_generic_object
Merge pull request #576 from headius/no_19_jruby_methods
Autoload GenericObject to avoid require ostruct warning in Ruby 3.4
Remove references to "19" methods in JRuby
Merge pull request #575 from flori/refine-ci
Exclude 2.3-2.5 on macos-14 iamge
Added JRuby 9.4
TruffleRuby 24 is broken
Added latest stable versions of macOS
macOS 11 is EOL today
Merge pull request #574 from peterzhu2118/generator-mem-leak
Fix memory leak when exception is raised during JSON generation
Merge pull request #571 from mperham/patch-1
Update README.md
Merge pull request #565 from flori/optional-ostruct
Make OpenStruct support as optional
Merge pull request #561 from jhawthorn/rb_sym2str
Use rb_sym2str instead of SYM2ID
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands