Rails 7: run engine initializer in to_prepare; update gemspec author info

This commit is contained in:
rulingcom committed 2026-10-14 14:03:44 +08:00
1 parent a90863cb49
commit 66b5c50bf7
2 files changed
+5 -3

No files matched your search

+2
View File
@@ -1,6 +1,7 @@
module Space
class Engine < ::Rails::Engine
initializer "space" do
Rails.application.config.to_prepare do
OrbitApp.registration "Space", :type => "ModuleApp" do
module_label "space.space"
base_url File.expand_path File.dirname(__FILE__)
@@ -26,6 +27,7 @@ module Space
:active_for_category => 'Announcement',
:available_for => 'managers'
end
end
end
end
end
+3 -3
View File
@@ -19,9 +19,9 @@ end
Gem::Specification.new do |s|
s.name = "space"
s.version = Space::VERSION
s.authors = ["Harry Bomrah"]
s.email = ["harry@rulingcom.com"]
s.homepage = "http://www.rulingcom.com"
s.authors = ["Orbitek"]
s.email = ["service@orbitek.co"]
s.homepage = "https://orbitek.co/"
s.summary = "Construction layout module."
s.description = "Construction layout module."
s.license = "MIT"