Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates std-perf to 1.3.0 and rubocop to 1.59.0 #596

Merged
merged 2 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
ruby-version: [2.7, '3.0', 3.1, 3.2, head]
ruby-version: [2.7, '3.0', 3.1, 3.2, 3.3]

runs-on: ${{ matrix.os }}

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## Unreleased

* Updates rubocop to [1.59.0](https://github.com/rubocop/rubocop/releases/tag/v1.59.0)
* Updates standard-performance to [1.3.0](https://github.com/standardrb/standard-performance/releases/tag/v1.3.0)

## 1.32.1

* Fixes regeneration of TODO files ot avoid missing already-ignored rules [#587](https://github.com/standardrb/standard/pull/587)
Expand Down
22 changes: 11 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ PATH
standard (1.32.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.57.2)
rubocop (~> 1.59.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.2)
standard-performance (~> 1.3)

GEM
remote: https://rubygems.org/
Expand All @@ -31,22 +31,22 @@ GEM
rake (13.0.6)
regexp_parser (2.8.2)
rexml (3.2.6)
rubocop (1.57.2)
rubocop (1.59.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-performance (1.20.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
Expand All @@ -57,9 +57,9 @@ GEM
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.2.1)
standard-performance (1.3.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.19.1)
rubocop-performance (~> 1.20.1)
unicode-display_width (2.5.0)

PLATFORMS
Expand All @@ -76,4 +76,4 @@ DEPENDENCIES
standard!

BUNDLED WITH
2.4.21
2.4.12
12 changes: 12 additions & 0 deletions config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -586,12 +586,18 @@ Lint/InheritException:
Lint/InterpolationCheck:
Enabled: true

Lint/ItWithoutArgumentsInBlock:
Enabled: true

Lint/LambdaWithoutLiteralBlock:
Enabled: false

Lint/LiteralAsCondition:
Enabled: true

Lint/LiteralAssignmentInCondition:
Enabled: true

Lint/LiteralInInterpolation:
Enabled: true

Expand Down Expand Up @@ -977,6 +983,9 @@ Style/ArgumentsForwarding:
Style/ArrayCoercion:
Enabled: false

Style/ArrayFirstLast:
Enabled: false

Style/ArrayIntersect:
Enabled: false

Expand Down Expand Up @@ -1712,6 +1721,9 @@ Style/Strip:
Style/StructInheritance:
Enabled: false

Style/SuperWithArgsParentheses:
Enabled: true

Style/SwapValues:
Enabled: false

Expand Down
4 changes: 2 additions & 2 deletions standard.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"

spec.add_dependency "rubocop", "~> 1.57.2"
spec.add_dependency "rubocop", "~> 1.59.0"

spec.add_dependency "lint_roller", "~> 1.0"
spec.add_dependency "standard-custom", "~> 1.0.0"
spec.add_dependency "standard-performance", "~> 1.2"
spec.add_dependency "standard-performance", "~> 1.3"

# not semver: first three are lsp protocol version, last is patch
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
Expand Down