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

Reduce Rails Dependencies to Railties #33

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

BenMorganIO
Copy link

@BenMorganIO BenMorganIO commented Feb 25, 2023

Fixes #32

This PR removes a large amount of rails dependencies to what is required by heroicon.

The whole dummy application was not required. It even hid a configuration setup for Heroicon that set up a test. That has been fixed.

The process was fairly simple. Check the Gemfile.lock into git so that I can track dependency removal and explicitly add each rails dependency. Then I went and individually removed each one until I figured out what was really going on. The dummy application, which wasn't even used, required the rails deps. So I commented out loading the dummy application and some more active storage configs in the test helper and reran the tests. A single failure was noticed and it just needed a configuration setup.

−1,832 lines removed in exchange for +12 new lines.

@BenMorganIO
Copy link
Author

BenMorganIO commented Apr 13, 2023

Hey there, just bumping this.

@BenMorganIO
Copy link
Author

@bharget I'm sure you're very busy, but just giving this change another bump.

@jclusso
Copy link

jclusso commented Apr 25, 2024

@BenMorganIO I've forked this as mentioned in #37 and really liked this. If you open this against https://github.com/jclusso/heroicon-ruby, I'll get it merged in. This gem has way to many unnecessary dependencies.

@jclusso
Copy link

jclusso commented Apr 25, 2024

@BenMorganIO I've started work incorporating your changes into a PR. jclusso/heroicons#6

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.

Heroicon importing all of Rails
4 participants