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

Prepare Mastodon for zeitwerk autoloader #15917

Merged
merged 2 commits into from
Mar 19, 2021

Conversation

ClearlyClaire
Copy link
Contributor

Add inflections and rename/move a few classes.

In particular, app/lib/exceptions.rb and app/lib/sanitize_config.rb were manually loaded while still in autoload paths.

@ClearlyClaire ClearlyClaire requested a review from Gargron March 17, 2021 13:58
@ClearlyClaire ClearlyClaire force-pushed the features/zeitwerk-prep branch 2 times, most recently from 258f0bf to b5247b5 Compare March 17, 2021 15:37
@ClearlyClaire ClearlyClaire changed the title Prepare Mastodon for zeitwerk work Prepare Mastodon for zeitwerk autoloader Mar 17, 2021
@ClearlyClaire ClearlyClaire mentioned this pull request Mar 17, 2021
10 tasks
Add inflections and rename/move a few classes.

In particular, app/lib/exceptions.rb and app/lib/sanitize_config.rb
were manually loaded while still in autoload paths.
@ClearlyClaire ClearlyClaire force-pushed the features/zeitwerk-prep branch from b5247b5 to e3434ef Compare March 18, 2021 11:53
@Gargron Gargron merged commit a4dcaef into mastodon:main Mar 19, 2021
chrisguida pushed a commit to Start9Labs/mastodon that referenced this pull request Feb 26, 2022
* Prepare Mastodon for zeitwerk autoloader (Rails 6)

Add inflections and rename/move a few classes.

In particular, app/lib/exceptions.rb and app/lib/sanitize_config.rb
were manually loaded while still in autoload paths.

* Add inflection for Url → URL
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