Skip to content

Add RuboCop performance#544

Merged
tagliala merged 2 commits intoactiveadmin:masterfrom
tagliala:chore/add-rubocop-performance
Oct 25, 2023
Merged

Add RuboCop performance#544
tagliala merged 2 commits intoactiveadmin:masterfrom
tagliala:chore/add-rubocop-performance

Conversation

@tagliala
Copy link
Copy Markdown
Contributor

@tagliala tagliala commented Oct 24, 2023

Autofix save RuboCop performance offenses

  • Performance/BlockGivenWithExplicitBlock
  • Performance/StringReplacement

@tagliala tagliala force-pushed the chore/add-rubocop-performance branch 2 times, most recently from d55a7f7 to 3bb9020 Compare October 24, 2023 21:26
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4cfe3a2) 92.39% compared to head (dc30d9c) 92.39%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #544   +/-   ##
=======================================
  Coverage   92.39%   92.39%           
=======================================
  Files          17       17           
  Lines         460      460           
=======================================
  Hits          425      425           
  Misses         35       35           
Files Coverage Δ
lib/arbre/context.rb 100.00% <100.00%> (ø)
lib/arbre/element/builder_methods.rb 100.00% <100.00%> (ø)
lib/arbre/html/tag.rb 93.68% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread gemfiles/rails_61/Gemfile Outdated
@tagliala tagliala force-pushed the chore/add-rubocop-performance branch 2 times, most recently from e1b460f to 5ddfaa8 Compare October 25, 2023 08:03
Copy link
Copy Markdown
Member

@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread .rubocop.yml
Also removes RuboCop from `/gemfiles`
- Performance/BlockGivenWithExplicitBlock
- Performance/StringReplacement
@tagliala tagliala force-pushed the chore/add-rubocop-performance branch from 5ddfaa8 to dc30d9c Compare October 25, 2023 13:56
Copy link
Copy Markdown
Member

@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tagliala thanks! You are all set to merge here.

@tagliala tagliala merged commit 181e9eb into activeadmin:master Oct 25, 2023
@tagliala tagliala deleted the chore/add-rubocop-performance branch October 25, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants