Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RuboCop performance #544

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

tagliala
Copy link
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

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.

@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
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!

.rubocop.yml Show resolved Hide resolved
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
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
19 checks passed
@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