railsui 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/railsui/engine.rb +0 -7
- data/lib/railsui/version.rb +1 -1
- metadata +2 -3
- data/app/helpers/railsui/host_route_fallback_helper.rb +0 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 162d671c72738f5093d356e423c0bccce6b085fa52d2ac5991960230d15511a6
|
|
4
|
+
data.tar.gz: 0ec549b23aad498b474aa09c2a7d11addb06cf55ac09a4789621b257d2d1562f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3915e05c35cbc3e807363556945f68bdd23015ea1b74bf2d30670838cf147f08ae621d5b1dc2e595f48e261c0ffc72292a97cf9493a7f8d880378ce590fb0ca
|
|
7
|
+
data.tar.gz: 489c6256d08987a8ec8a5f5dbf1dfe3154a0ffc31eb4ee67f474f7c1a01c1a215838f879e953c99607d4549af236dda4a13303e964bb5d6f12b4f44058364554
|
data/Gemfile.lock
CHANGED
data/lib/railsui/engine.rb
CHANGED
|
@@ -14,13 +14,6 @@ module Railsui
|
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
-
initializer "my_engine.view_helpers" do
|
|
18
|
-
ActiveSupport.on_load(:action_view) do
|
|
19
|
-
# automatic main_app where it counts
|
|
20
|
-
include Railsui::HostRouteFallbackHelper
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
|
|
24
17
|
initializer "railsui.setup" do |app|
|
|
25
18
|
config.assets.precompile << "railsui_manifest.js" if Rails.env.development?
|
|
26
19
|
end
|
data/lib/railsui/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: railsui
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andy Leverenz
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-
|
|
10
|
+
date: 2025-12-01 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rails
|
|
@@ -777,7 +777,6 @@ files:
|
|
|
777
777
|
- app/controllers/railsui/systems_controller.rb
|
|
778
778
|
- app/helpers/railsui/application_helper.rb
|
|
779
779
|
- app/helpers/railsui/framework_helper.rb
|
|
780
|
-
- app/helpers/railsui/host_route_fallback_helper.rb
|
|
781
780
|
- app/helpers/railsui/mail_helper.rb
|
|
782
781
|
- app/javascript/application.js
|
|
783
782
|
- app/javascript/controllers/alert_controller.js
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
module Railsui
|
|
2
|
-
module HostRouteFallbackHelper
|
|
3
|
-
def main_app
|
|
4
|
-
Rails.application.routes.url_helpers
|
|
5
|
-
end
|
|
6
|
-
|
|
7
|
-
def method_missing(name, *args, &blk)
|
|
8
|
-
if name.to_s.end_with?('_path', '_url') && main_app.respond_to?(name)
|
|
9
|
-
return main_app.public_send(name, *args, &blk)
|
|
10
|
-
end
|
|
11
|
-
super
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
def respond_to_missing?(name, include_private = false)
|
|
15
|
-
(name.to_s.end_with?('_path', '_url') && main_app.respond_to?(name)) || super
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|