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 generator for initializer generation #2286

Merged
merged 4 commits into from
Apr 15, 2024
Merged

Conversation

st0012
Copy link
Collaborator

@st0012 st0012 commented Mar 31, 2024

Usage

$ bin/rails generate sentry 
$ bin/rails generate sentry --dsn my_dsn

Implements #2218

Copy link

codecov bot commented Mar 31, 2024

Codecov Report

Merging #2286 (d9c2ae7) into master (0b318c0) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2286      +/-   ##
==========================================
- Coverage   98.72%   98.72%   -0.01%     
==========================================
  Files         200      202       +2     
  Lines       13253    13282      +29     
==========================================
+ Hits        13084    13112      +28     
- Misses        169      170       +1     
Components Coverage Δ
sentry-ruby 99.10% <ø> (ø)
sentry-rails 97.37% <100.00%> (+0.03%) ⬆️
sentry-sidekiq 96.98% <ø> (ø)
sentry-resque 96.76% <ø> (-0.33%) ⬇️
sentry-delayed_job 98.91% <ø> (ø)
sentry-opentelemetry 100.00% <ø> (ø)
Files Coverage Δ
sentry-rails/lib/generators/sentry_generator.rb 100.00% <100.00%> (ø)
sentry-rails/spec/sentry/generator_spec.rb 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@st0012 st0012 force-pushed the support-sentry-generator branch from b2a2932 to a19a3b9 Compare April 6, 2024 19:44
@st0012 st0012 requested a review from sl0thentr0py April 6, 2024 19:49
@st0012 st0012 marked this pull request as ready for review April 6, 2024 19:49
@st0012 st0012 force-pushed the support-sentry-generator branch from 71e0d9d to d9c2ae7 Compare April 14, 2024 11:17
@st0012 st0012 requested a review from sl0thentr0py April 14, 2024 11:27
@sl0thentr0py sl0thentr0py merged commit 02538e4 into master Apr 15, 2024
123 of 124 checks passed
@sl0thentr0py sl0thentr0py deleted the support-sentry-generator branch April 15, 2024 11:37
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.

2 participants