Skip to content

Commit

Permalink
Merge pull request #22763 from jrafanie/fix_locale_update_all_from_gi…
Browse files Browse the repository at this point in the history
…thub_actions

Fix locale update all from GitHub actions

(cherry picked from commit b009a9c)
  • Loading branch information
agrare authored and Fryguy committed Oct 31, 2023
1 parent b747820 commit 4d3581b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions config/initializers/zeitwerk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,4 @@
Rails.autoloaders.main.collapse(Rails.root.join("lib/manageiq/reporting/charting"))
Rails.autoloaders.main.collapse(Rails.root.join("lib/ansible/runner/credential"))
Rails.autoloaders.main.collapse(Rails.root.join("lib/pdf_generator"))

# requires qpid, which is an optional dependency because LOL mac
if RUBY_PLATFORM.include?("darwin")
message_handler_path = Pathname.new(Vmdb::Plugins.paths[ManageIQ::Providers::Nuage::Engine]).join("app/models/manageiq/providers/nuage/network_manager/event_catcher/messaging_handler.rb")
Rails.autoloaders.main.ignore(message_handler_path)
end
end
2 changes: 1 addition & 1 deletion lib/tasks/locale.rake
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ namespace :locale do
end

desc "Extract model attribute names and virtual column names"
task "store_model_attributes" do
task "store_model_attributes" => :environment do
require 'gettext_i18n_rails/model_attributes_finder'
require_relative 'model_attribute_override.rb'

Expand Down

0 comments on commit 4d3581b

Please sign in to comment.