Skip to content

Commit

Permalink
Update rubocop and ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
360dgries committed Oct 14, 2024
1 parent 070d69b commit 0aff214
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
8 changes: 1 addition & 7 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.4
TargetRubyVersion: 3.0
Exclude:
- '*.gemspec'
- 'Gemfile*'
Expand All @@ -10,9 +10,6 @@ AllCops:
- 'lib/tasks/*'
- 'vendor/**/*'

Documentation:
Enabled: false

Metrics:
Enabled: false

Expand All @@ -22,8 +19,5 @@ Style:
Layout:
Enabled: false

Performance/Casecmp:
Enabled: false

Naming:
Enabled: false
14 changes: 1 addition & 13 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-03-22 01:56:17 -0400 using RuboCop version 0.52.1.
# on 2024-10-14 14:56:48 UTC using RuboCop version 1.23.0.
# 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: 4
# Cop supports --auto-correct.
Performance/RegexpMatch:
Exclude:
- 'lib/fhir_client/model/client_reply.rb'

# Offense count: 197
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 210
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ source 'https://rubygems.org'
gemspec

group :test do
gem 'rubocop', '~> 0.52.1', require: false
gem 'rubocop', '~> 1.23.0', require: false
gem 'awesome_print', require: 'ap'
end

0 comments on commit 0aff214

Please sign in to comment.