From 7663d678dcdd3d338e388535f23f85774bfa4d7b Mon Sep 17 00:00:00 2001 From: rulingcom Date: Wed, 14 Oct 2026 14:02:59 +0800 Subject: [PATCH] Rails 7: run engine initializer in to_prepare; update gemspec author info --- active.gemspec | 6 +++--- lib/active/engine.rb | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/active.gemspec b/active.gemspec index c65f810..7624b1b 100644 --- a/active.gemspec +++ b/active.gemspec @@ -22,9 +22,9 @@ end Gem::Specification.new do |s| s.name = "active" s.version = Active::VERSION - s.authors = ["RulingDigital"] - s.email = ["orbit@rulingcom.com"] - s.homepage = "http://www.rulingcom.com" + s.authors = ["Orbitek"] + s.email = ["service@orbitek.co"] + s.homepage = "https://orbitek.co/" s.summary = "Actives for Orbit" s.description = "Actives for Orbit" s.license = "MIT" diff --git a/lib/active/engine.rb b/lib/active/engine.rb index 1ccc603..69fd350 100644 --- a/lib/active/engine.rb +++ b/lib/active/engine.rb @@ -1,6 +1,7 @@ module Active class Engine < ::Rails::Engine initializer "active" do + Rails.application.config.to_prepare do OrbitApp.registration "Active", :type => "ModuleApp" do module_label "act.active" base_url File.expand_path File.dirname(__FILE__) @@ -40,8 +41,8 @@ module Active :active_for_action=>{'admin/actives'=>'active_agreements'}, :available_for => 'managers' end - + end end end end -end \ No newline at end of file +end