Skip to content

Commit

Permalink
update rubocop to ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudrien committed Jan 30, 2025
1 parent a819169 commit 3ab5183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AllCops:
SuggestExtensions: false
NewCops: enable
TargetRubyVersion: 2.5
TargetRubyVersion: 3.0
Include:
- '**/Gemfile'
- lib/**/*.rb
Expand Down
5 changes: 1 addition & 4 deletions lib/gemirro/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ class Utils
:stored_gems
)

# rubocop:disable Layout/LineLength
URI_REGEXP = /^(.*)-(\d+(?:\.\d+){1,4}.*?)(?:-(x86-(?:(?:mswin|mingw)(?:32|64)).*?|java))?\.(gem(?:spec\.rz)?)$/.freeze
# rubocop:enable Layout/LineLength

URI_REGEXP = /^(.*)-(\d+(?:\.\d+){1,4}.*?)(?:-(x86-(?:(?:mswin|mingw)(?:32|64)).*?|java))?\.(gem(?:spec\.rz)?)$/
GEMSPEC_TYPE = 'gemspec.rz'
GEM_TYPE = 'gem'

Expand Down

0 comments on commit 3ab5183

Please sign in to comment.