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

Rename from Heroicon to Heroicons and lots of clean up #6

Merged
merged 16 commits into from
Apr 25, 2024

Conversation

jclusso
Copy link
Owner

@jclusso jclusso commented Apr 25, 2024

Breaking Changes:

  • Heroicon has been renamed to Heroicons. This only impacts the namespace and not the actual helper. The helper remains as heroicon.

    Users will need to do the following:

    1. Remove the previously created helpers/heroicon_helper.rb
    2. Rename initializers/heroicon.rb to initializers/heroicons.rb and update Heroicon.configure... to Heroicons.configure....
  • Drop support below Ruby 2.7 and Rails 6.1.

Other Changes:

BenMorganIO and others added 12 commits February 25, 2023 14:12
…s_deps

* ben/reduce-rails-deps:
  ignore Gemfile.lock
  remove Gemfile.lock
  remove remaining rails dependencies and isolate down to railties
  remove activejob
  remove actionmailer
  remove activestorage
  remove actiontext
  remove actionmailbox
  remove actioncable
  add Gemfile to track rails deps reduction
**Breaking Changes:**: `Heroicon` has been renamed to `Heroicons`. This only impacts the namespace and not the actual helper. The helper remains as `heroicon`.

**Other Changes:**
- No longer need to generate helper which includes the engine. We simply hook into `ActiveSupport.on_load` to make `heroicon` work.
- Eliminated a lot of uncessary stuff and simplified the gem a bit.
- Updated the CI
@jclusso jclusso changed the title add Gemfile to track rails deps reduction Rename from Heroicon to Heroicons and lots of clean up Apr 25, 2024
@jclusso jclusso requested a review from simmerz April 25, 2024 17:23
@jclusso
Copy link
Owner Author

jclusso commented Apr 25, 2024

@simmerz sorry for requesting the review. Just noticed the CI failing. Odd error I'm not familiar with. Don't have a lot of experience using Appraisals.

jclusso added 3 commits April 25, 2024 13:54
- Drop support for ancient Ruby and Rails versions. Only supporting Ruby 2.7+ and Rails 6.1+ going forward.
@jclusso
Copy link
Owner Author

jclusso commented Apr 25, 2024

I got it all working. If you have a chance, let me know your thoughts @simmerz!

…g actually has changed with icons since 2.1.1.
@simmerz
Copy link
Collaborator

simmerz commented Apr 25, 2024

Nice work. Looks good to me. I've not done a lot with Appraisals either, but it all makes sense :)

@jclusso jclusso merged commit e7c5346 into master Apr 25, 2024
12 checks passed
@jclusso jclusso deleted the rename_namespace_and_clean_up branch April 25, 2024 21:22
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.

3 participants