Skip to content

Commit

Permalink
update some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Nov 30, 2024
1 parent 2e2dcf5 commit d9869d1
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 172 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:

matrix:
ruby-version:
- '2.4'
- '2.5'
- '2.6'
- '2.7'
Expand Down
153 changes: 0 additions & 153 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,156 +80,3 @@ Style/TrailingCommaInHashLiteral:

Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: "comma"

Gemspec/DateAssignment: # new in 1.10
Enabled: true

Layout/LineEndStringConcatenationIndentation: # new in 1.18
Enabled: true

Layout/SpaceBeforeBrackets: # new in 1.7
Enabled: true

Lint/AmbiguousAssignment: # new in 1.7
Enabled: true

Lint/AmbiguousOperatorPrecedence: # new in 1.21
Enabled: true

Lint/AmbiguousRange: # new in 1.19
Enabled: true

Lint/DeprecatedConstants: # new in 1.8
Enabled: true

Lint/DuplicateBranch: # new in 1.3
Enabled: true

Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
Enabled: true

Lint/EmptyBlock: # new in 1.1
Enabled: true

Lint/EmptyClass: # new in 1.3
Enabled: true

Lint/EmptyInPattern: # new in 1.16
Enabled: true

Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
Enabled: true

Lint/LambdaWithoutLiteralBlock: # new in 1.8
Enabled: true

Lint/NoReturnInBeginEndBlocks: # new in 1.2
Enabled: true

Lint/NumberedParameterAssignment: # new in 1.9
Enabled: true

Lint/OrAssignmentToConstant: # new in 1.9
Enabled: true

Lint/RedundantDirGlobSort: # new in 1.8
Enabled: true

Lint/RequireRelativeSelfPath: # new in 1.22
Enabled: true

Lint/SymbolConversion: # new in 1.9
Enabled: true

Lint/ToEnumArguments: # new in 1.1
Enabled: true

Lint/TripleQuotes: # new in 1.9
Enabled: true

Lint/UnexpectedBlockArity: # new in 1.5
Enabled: true

Lint/UnmodifiedReduceAccumulator: # new in 1.1
Enabled: true

Lint/UselessRuby2Keywords: # new in 1.23
Enabled: true

Naming/BlockForwarding: # new in 1.24
Enabled: true

Security/IoMethods: # new in 1.22
Enabled: true

Style/ArgumentsForwarding: # new in 1.1
Enabled: true

Style/CollectionCompact: # new in 1.2
Enabled: true

Style/DocumentDynamicEvalDefinition: # new in 1.1
Enabled: true

Style/EndlessMethod: # new in 1.8
Enabled: true

Style/FileRead: # new in 1.24
Enabled: true

Style/FileWrite: # new in 1.24
Enabled: true

Style/HashConversion: # new in 1.10
Enabled: true

Style/HashExcept: # new in 1.7
Enabled: true

Style/IfWithBooleanLiteralBranches: # new in 1.9
Enabled: true

Style/InPatternThen: # new in 1.16
Enabled: true

Style/MapToHash: # new in 1.24
Enabled: true

Style/MultilineInPatternThen: # new in 1.16
Enabled: true

Style/NegatedIfElseCondition: # new in 1.2
Enabled: true

Style/NestedFileDirname: # new in 1.26
Enabled: true

Style/NilLambda: # new in 1.3
Enabled: true

Style/NumberedParameters: # new in 1.22
Enabled: true

Style/NumberedParametersLimit: # new in 1.22
Enabled: true

Style/OpenStructUse: # new in 1.23
Enabled: true

Style/QuotedSymbols: # new in 1.16
Enabled: true

Style/RedundantArgument: # new in 1.4
Enabled: true

Style/RedundantSelfAssignmentBranch: # new in 1.19
Enabled: true

Style/SelectByRegexp: # new in 1.22
Enabled: true

Style/StringChars: # new in 1.12
Enabled: true

Style/SwapValues: # new in 1.1
Enabled: true
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 2.7.1
ruby 3.3
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source "https://rubygems.org"

gemspec

gem "logger"
gem "rake", ">= 11"

# Use local copy of simplecov in development if you want to
Expand Down
34 changes: 19 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,44 @@ GEM
ast (2.4.2)
concurrent-ruby (1.3.4)
docile (1.4.1)
execjs (2.9.1)
execjs (2.10.0)
ffi (1.17.0)
json (2.7.2)
json (2.7.2-java)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-java)
json (2.8.2)
json (2.8.2-java)
language_server-protocol (3.17.0.3)
logger (1.6.1)
minitest (5.25.1)
minitest (5.25.2)
parallel (1.26.3)
parser (3.3.5.0)
parser (3.3.6.0)
ast (~> 2.4.1)
racc
racc (1.8.1)
racc (1.8.1-java)
rack (3.1.7)
rack (3.1.8)
rainbow (3.1.1)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
regexp_parser (2.9.2)
rubocop (1.66.1)
regexp_parser (2.9.3)
rubocop (1.69.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
rubocop-ast (>= 1.36.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.36.2)
parser (>= 3.3.1.0)
rubocop-minitest (0.36.0)
rubocop (>= 1.61, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-performance (1.21.1)
rubocop-performance (1.23.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rake (0.6.0)
Expand All @@ -68,9 +70,11 @@ GEM
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
uglifier (4.2.0)
uglifier (4.2.1)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.5.0)
unicode-display_width (3.1.2)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)

PLATFORMS
arm64-darwin-22
Expand All @@ -92,4 +96,4 @@ DEPENDENCIES
uglifier

BUNDLED WITH
2.4.3
2.5.23
2 changes: 1 addition & 1 deletion lib/simplecov-html.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

module SimpleCov
module Formatter
class HTMLFormatter # rubocop:disable Metrics/ClassLength
class HTMLFormatter
def initialize
@branch_coverage = SimpleCov.branch_coverage?
@method_coverage = SimpleCov.method_coverage?
Expand Down
2 changes: 1 addition & 1 deletion simplecov-html.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
gem.summary = gem.description
gem.license = "MIT"

gem.required_ruby_version = ">= 2.6"
gem.required_ruby_version = ">= 2.5"

gem.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
Expand Down

0 comments on commit d9869d1

Please sign in to comment.