brick 1.0.116 → 1.0.117
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/lib/brick/frameworks/rails/engine.rb +15 -0
- data/lib/brick/version_number.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ed704f637bf6db73f5856be2959ba3490eb721e6de052008914d12cd029a673
|
|
4
|
+
data.tar.gz: 327a383fc224aebce1c96ba96b02c8a8a8604136bf61355b13b0029c203ff5c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eec983fb53ff9e5f010473e7a7f1b4f1b6d07f4b8d166f4dccb66b701565a61fb91ebf30c84145dffd585e83ce13bb86c7746906b2751bbb6702ee2dc09eb7a4
|
|
7
|
+
data.tar.gz: 339edb3796933184d06de44def59b3ad5fd7d1c37995a73ffab4d62e7bb5dac0d8b63c28cb387e951e9899524ca8513fa938848449460aa234d901c28532f6c5
|
|
@@ -350,6 +350,21 @@ window.addEventListener(\"popstate\", linkSchemas);
|
|
|
350
350
|
end
|
|
351
351
|
end
|
|
352
352
|
end
|
|
353
|
+
# Build out the main dashboard with default boilerplate if it's missing
|
|
354
|
+
if (namespace = ::ActiveAdmin.application.namespaces.names.first&.to_s) &&
|
|
355
|
+
!Object.const_defined?("#{namespace.camelize}::Dashboard")
|
|
356
|
+
::ActiveAdmin.register_page "Dashboard" do
|
|
357
|
+
menu priority: 1, label: proc { I18n.t("active_admin.dashboard") }
|
|
358
|
+
content title: proc { I18n.t("active_admin.dashboard") } do
|
|
359
|
+
div class: "blank_slate_container", id: "dashboard_default_message" do
|
|
360
|
+
span class: "blank_slate" do
|
|
361
|
+
span I18n.t("active_admin.dashboard_welcome.welcome")
|
|
362
|
+
small I18n.t("active_admin.dashboard_welcome.call_to_action")
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
end
|
|
366
|
+
end
|
|
367
|
+
end
|
|
353
368
|
end
|
|
354
369
|
|
|
355
370
|
# Forest Admin compatibility
|
data/lib/brick/version_number.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.117
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lorin Thwaits
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-02-
|
|
11
|
+
date: 2023-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|