Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
eitoball committed Jan 21, 2024
1 parent 491fc28 commit 805f6cd
Show file tree
Hide file tree
Showing 24 changed files with 396 additions and 213 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.5', '2.6', '2.7', '3.0', 'head', 'jruby-9.2.10.0']
ruby: ['3.0', '3.1', '3.2', '3.3', 'head', 'jruby-9.4.5.0']
gemfile: ['1.14.0', '1.15.0', '1.16.1', '1.17.0', '1.18.4', '1.19.1']
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.ruby == 'head' }}
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rubocop_${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec spec
- run: bundle exec rspec spec
9 changes: 0 additions & 9 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,3 @@ inherit_from: .rubocop_todo.yml

AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.2

Style/FrozenStringLiteralComment:
SupportedStyles:
- when_needed

Style/FileName:
Exclude:
- Appraisals
122 changes: 109 additions & 13 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,120 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-01-21 08:48:58 UTC using RuboCop version 1.60.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 1
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Max: 42
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'rubocop-checkstyle_formatter.gemspec'

# Offense count: 9
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 111
# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterMagicComment:
Exclude:
- 'lib/rubocop/formatter/checkstyle_formatter.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
Exclude:
- 'Gemfile'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Keywords.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 52

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Keywords, RequireColon.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
Style/CommentAnnotation:
Exclude:
- 'lib/rubocop/formatter/checkstyle_formatter.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/CommentIndentation:
# This cop supports safe autocorrection (--autocorrect).
Style/Encoding:
Exclude:
- 'Rakefile'
- 'lib/rubocop/formatter/checkstyle_formatter.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/ExpandPathArguments:
Exclude:
- 'rubocop-checkstyle_formatter.gemspec'

# Offense count: 10
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Style/FrozenStringLiteralComment:
Exclude:
- 'Gemfile'
- 'Rakefile'
- 'gemfiles/rubocop_1.20.0.gemfile'
- 'gemfiles/rubocop_1.25.1.gemfile'
- 'gemfiles/rubocop_1.30.1.gemfile'
- 'gemfiles/rubocop_1.35.1.gemfile'
- 'gemfiles/rubocop_1.40.0.gemfile'
- 'gemfiles/rubocop_1.45.1.gemfile'
- 'gemfiles/rubocop_1.50.2.gemfile'
- 'lib/rubocop/formatter/checkstyle_formatter.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Exclude:
- 'spec/rubocop/formatter/checkstyle_formatter_spec.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: short, verbose
Style/PreferredHashMethods:
Exclude:
- 'lib/rubocop/formatter/checkstyle_formatter.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Style/StderrPuts:
Exclude:
- 'Rakefile'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Exclude:
- 'lib/rubocop/formatter/checkstyle_formatter.rb'

# Offense count: 28
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Style/StringLiterals:
Exclude:
- 'gemfiles/rubocop_1.20.0.gemfile'
- 'gemfiles/rubocop_1.25.1.gemfile'
- 'gemfiles/rubocop_1.30.1.gemfile'
- 'gemfiles/rubocop_1.35.1.gemfile'
- 'gemfiles/rubocop_1.40.0.gemfile'
- 'gemfiles/rubocop_1.45.1.gemfile'
- 'gemfiles/rubocop_1.50.2.gemfile'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 136
15 changes: 9 additions & 6 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# frozen_string_literal: true

[
'1.14.0',
'1.15.0',
'1.16.1',
'1.17.0',
'1.18.4',
'1.19.1'
'1.20.0',
'1.25.1',
'1.30.1',
'1.35.1',
'1.40.0',
'1.45.1',
'1.50.2'
].each do |version|
appraise "rubocop-#{version}" do
gem 'rubocop', version
Expand Down
7 changes: 0 additions & 7 deletions gemfiles/rubocop_1.18.4.gemfile

This file was deleted.

64 changes: 0 additions & 64 deletions gemfiles/rubocop_1.18.4.gemfile.lock

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/rubocop_1.19.1.gemfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "rubocop", "1.14.0"
gem "rubocop", "1.20.0"

gemspec path: "../"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: ..
specs:
rubocop-checkstyle_formatter (0.5.0)
rubocop (>= 1.14.0)
rubocop (>= 1.20.0)

GEM
remote: https://rubygems.org/
Expand All @@ -12,14 +12,16 @@ GEM
rake
thor (>= 0.14.0)
ast (2.4.2)
diff-lcs (1.4.4)
parallel (1.20.1)
parser (3.0.2.0)
diff-lcs (1.5.0)
parallel (1.24.0)
parser (3.3.0.4)
ast (~> 2.4.1)
rainbow (3.0.0)
rake (13.0.6)
regexp_parser (2.1.1)
rexml (3.2.5)
racc
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
regexp_parser (2.9.0)
rexml (3.2.6)
rspec (3.5.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
Expand All @@ -33,7 +35,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
rubocop (1.19.1)
rubocop (1.20.0)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
Expand All @@ -42,23 +44,23 @@ GEM
rubocop-ast (>= 1.9.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.10.0)
parser (>= 3.0.1.1)
ruby-progressbar (1.11.0)
thor (1.1.0)
unicode-display_width (2.0.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
ruby-progressbar (1.13.0)
thor (1.3.0)
unicode-display_width (2.5.0)

PLATFORMS
java
ruby
x86_64-darwin-22

DEPENDENCIES
appraisal (~> 2.4.1)
bundler (>= 2.2.10)
rake (>= 12.3.3)
rspec (~> 3.5.0)
rubocop (= 1.19.1)
rubocop (= 1.20.0)
rubocop-checkstyle_formatter!

BUNDLED WITH
2.2.25
2.5.5
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source "https://rubygems.org"

gem "rubocop", "1.16.1"
gem "rubocop", "1.25.1"

gemspec path: "../"
Loading

0 comments on commit 805f6cd

Please sign in to comment.