Project

General

Profile

Refactor #33890

Feature #29991: Enable Zeitwerk autoload mode for Rails 6+

Refactor #33886: Fix early loads of constants

Require foreman/gettext directly

Added by Ondřej Ezr 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

initializers/1_fast_gettext uses some foreman constants, that do not need to be autoloaded, just require them.

Associated revisions

Revision c7a0068f (diff)
Added by Leos Stejskal 6 months ago

Fixes #33890 - Require Foreman::Gettext in initializers

Fix deprecation warning the about initialization of auto-loaded constants

History

#1 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8931 added

#2 Updated by The Foreman Bot 6 months ago

  • Fixed in Releases 3.2.0 added

#3 Updated by Leos Stejskal 6 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF