Skip to content

Inline global method#1213

Merged
st0012 merged 1 commit intogetsentry:masterfrom
tricknotes:remove-global-method
Jan 17, 2021
Merged

Inline global method#1213
st0012 merged 1 commit intogetsentry:masterfrom
tricknotes:remove-global-method

Conversation

@tricknotes
Copy link
Copy Markdown
Contributor

It is a good practice to avoid global method definition.
When method is defined in globally, this method can be called from outside of gem.
It may affect other gems that have the same named method.

It is a good practice to avoid global method definition.
When method is defined in globally, this method can be called from
outside of gem.
Also, it may affect other gems that have the same named method.
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 17, 2021

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.52%. Comparing base (30aad0a) to head (ea0a49f).
⚠️ Report is 1117 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1213      +/-   ##
==========================================
+ Coverage   97.92%   98.52%   +0.60%     
==========================================
  Files         193       98      -95     
  Lines        8238     4407    -3831     
==========================================
- Hits         8067     4342    -3725     
+ Misses        171       65     -106     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

yeah I think your approach is much better, thanks for the suggestion 👍

@st0012 st0012 added this to the 4.1.5 milestone Jan 17, 2021
@st0012 st0012 merged commit fec3fe0 into getsentry:master Jan 17, 2021
@tricknotes
Copy link
Copy Markdown
Contributor Author

Thanks for your quick review too!

@tricknotes tricknotes deleted the remove-global-method branch January 18, 2021 09:14
@st0012 st0012 modified the milestones: 4.1.5, sentry-ruby-4.1.5 Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants