fractaledmind / solid_errors

database-backed, app-internal exception tracker for Rails applications
MIT License
332 stars 17 forks source link

Declare dependency only for Rails used parts #32

Closed everton closed 7 months ago

everton commented 9 months ago

Since you are declaring rails as your dependency, this brings all rails sub-gems (actioncable, actiontext, etc) with it.

In projects not using the full rails stack, this brings a few unused dependencies.

I believe your gem doesn't really use all these dependencies. Looking through the code I can see:

If you feel this is ok, I can work in a PR to change it.

(Also, if there is any other dependency I'm missing here, just let me know about it)