Skip to content

Commit

Permalink
style(rubocop): update rubocop and apply corrections
Browse files Browse the repository at this point in the history
Disable Performance/StringIdentifierArgument because of
rubocop/rubocop-performance#278
breaking the specs.
  • Loading branch information
gildesmarais committed Dec 30, 2021
1 parent 84695b2 commit efb5e72
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ AllCops:
Exclude:
- vendor/**/*

Performance/StringIdentifierArgument:
Enabled: false

Metrics/BlockLength:
Exclude:
- "**/*_spec.rb"
Expand Down
21 changes: 10 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ GEM
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
parallel (1.20.1)
parser (3.0.2.0)
parallel (1.21.0)
parser (3.0.3.2)
ast (~> 2.4.1)
public_suffix (4.0.6)
racc (1.5.2)
rainbow (3.0.0)
regexp_parser (2.1.1)
regexp_parser (2.2.0)
reverse_markdown (2.0.0)
nokogiri
rexml (3.2.5)
Expand All @@ -93,23 +93,22 @@ GEM
rspec-support (3.10.2)
rss (0.2.9)
rexml
rubocop (1.18.4)
rubocop (1.24.0)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.8.0, < 2.0)
rubocop-ast (>= 1.15.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.8.0)
rubocop-ast (1.15.1)
parser (>= 3.0.1.1)
rubocop-performance (1.11.4)
rubocop-performance (1.13.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.4.0)
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
rubocop-rspec (2.7.0)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.5)
sanitize (6.0.0)
Expand All @@ -119,7 +118,7 @@ GEM
to_regexp (0.2.1)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unicode-display_width (2.0.0)
unicode-display_width (2.1.0)
vcr (6.0.0)
yard (0.9.26)
zeitwerk (2.4.2)
Expand Down
1 change: 1 addition & 0 deletions html2rss.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['changelog_uri'] = 'https://github.com/html2rss/html2rss/blob/master/CHANGELOG.md'
spec.metadata['rubygems_mfa_required'] = 'true'
else
raise 'RubyGems 2.0 or newer is required to protect against ' \
'public gem pushes.'
Expand Down

0 comments on commit efb5e72

Please sign in to comment.