Skip to content

Move IconBuilders into The engine#190

Merged
OutlawAndy merged 5 commits into
two-point-ohfrom
dont-generate-icon-builders
May 17, 2026
Merged

Move IconBuilders into The engine#190
OutlawAndy merged 5 commits into
two-point-ohfrom
dont-generate-icon-builders

Conversation

@OutlawAndy
Copy link
Copy Markdown
Member

@OutlawAndy OutlawAndy commented Apr 28, 2026

Why?

Adding a top level directory for 'app/icon_builders' for a peripheral concept like a view helper is not ideal. And while the helper itself is very much application specific, maintaining the icon builders themselves doesn't need to be the responsibility of the consuming application.

What Changed

What changed in this PR?

  • Move icon builders to lib/rolemodel/optics
  • Add --install-builders (-i) option
  • Skip builder install unless options.install_builders?
  • Add documentation & additional specs

Pre-merge checklist

  • Update relevant READMEs
  • Run bin/bump_version or bin/bump_version --patch

Screenshots

Main (-zsh) — ~CODERoleModelrolemodel_railsexample_rails_current 04 29 2026@114313 Main (-zsh) — ~CODERoleModelrolemodel_railsexample_rails_current 04 29 2026@114925 icon_builder rb — example_rails_current 04 29 2026@115116 Main (ruby) — ~CODERoleModelrolemodel_railsexample_rails_current 04 29 2026@115151

- Move icon builders to lib/rolemodel/optics
- Add rolemodel/optics to engine paths
- Add Rolemodel::Optics module to autoload icon builders
- Update Icon Generator & specs
@OutlawAndy OutlawAndy self-assigned this Apr 28, 2026
@OutlawAndy OutlawAndy changed the base branch from master to two-point-oh May 17, 2026 02:28
@OutlawAndy OutlawAndy merged commit b15047f into two-point-oh May 17, 2026
2 checks passed
@OutlawAndy OutlawAndy deleted the dont-generate-icon-builders branch May 17, 2026 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants