Skip to content

Restore Rubocop TargetRubyVersion - #1031

Merged
andrykonchin merged 2 commits into
masterfrom
ak/restore-rubocop-target-ruby-version
Jul 26, 2026
Merged

Restore Rubocop TargetRubyVersion#1031
andrykonchin merged 2 commits into
masterfrom
ak/restore-rubocop-target-ruby-version

Conversation

@andrykonchin

@andrykonchin andrykonchin commented Jul 26, 2026

Copy link
Copy Markdown
Member

Restores TargetRubyVersion: 2.3 in .rubocop.yml.

Because we support Ruby 2.3, suggestions to use newer Ruby core methods and syntax are not viable. Specifying the target version resolves 123 false-positive RuboCop offenses (e.g., Naming/BlockForwarding, Style/MapToHash, Style/CollectionCompact, Performance/Sum, and Lint/RedundantDirGlobSort`).

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Health
dynamoid 93%
Summary 93% (4140 / 4449)

Minimum allowed line rate is 90%

@andrykonchin
andrykonchin merged commit c6246ab into master Jul 26, 2026
80 checks passed
@andrykonchin
andrykonchin deleted the ak/restore-rubocop-target-ruby-version branch July 27, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant