lesli 5.0.15 → 5.0.16
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/app/views/lesli/shared/dashboards/_show.html.erb +6 -4
- data/lib/lesli/version.rb +2 -2
- data/lib/tasks/lesli/dev.rake +0 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3df5368cbe7fef596fc11570d2b55dca003982b551fb55c46a4c492a4913e7e0
|
4
|
+
data.tar.gz: cc51e2812cad505575e7d1f131eb7d23ec59d45ba153d8b7c654c4a20fe5d0e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e50d7980d7380551ae202e58f5285b64e4dc97534950c30d81347a2ae9e85c82b3475f7435946ae20c34a2f473b7c10771f7b434f057043a84649d9fcfa2ba03
|
7
|
+
data.tar.gz: 9c316b8a9127f40f1b637f943eaec9299c532fb1bd91a5d1cb914bd599480499f5096c3eeb1064e4939a9e2a3888b7a77f6ab3f7e14d05cd5c138f329053c3e6
|
@@ -53,11 +53,13 @@ end
|
|
53
53
|
</div>
|
54
54
|
</section>
|
55
55
|
|
56
|
-
|
56
|
+
<%#= render(LesliView::Elements::Empty.new(text: "Empty dashboard")) if @dashboard[:components].blank? %>
|
57
|
+
|
58
|
+
<%= dd @dashboard %>
|
57
59
|
|
58
60
|
<div class="columns is-multiline is-variable is-4 dashboard-components">
|
59
|
-
|
60
|
-
|
61
|
-
|
61
|
+
<%# @dashboard[:components].each do |component| %>
|
62
|
+
<%#= render("#{controller.controller_path}/component-#{component}", { :component => component }) %>
|
63
|
+
<%# end %>
|
62
64
|
</div>
|
63
65
|
<% end %>
|
data/lib/lesli/version.rb
CHANGED
data/lib/tasks/lesli/dev.rake
CHANGED
@@ -43,24 +43,9 @@ namespace :lesli do
|
|
43
43
|
# Seed database (development only)
|
44
44
|
def welcome
|
45
45
|
|
46
|
-
# do not execute this task if we are at production level
|
47
|
-
return if Rails.env.production?
|
48
|
-
|
49
46
|
L2.br(4)
|
50
47
|
|
51
48
|
# print the lesli gems
|
52
49
|
Rake::Task['lesli:status'].invoke
|
53
|
-
|
54
|
-
password = Lesli.config.security.dig(:password)
|
55
|
-
password = password + Time.now.year.to_s + "$"
|
56
|
-
user = Lesli::User.first
|
57
|
-
|
58
|
-
L2.line
|
59
|
-
L2.m(" Owner user credentials (demo):")
|
60
|
-
L2.m(" username: #{ user.email }")
|
61
|
-
L2.m(" password: #{ password }")
|
62
|
-
L2.line
|
63
|
-
|
64
|
-
L2.cow "Enjoy your Lesli demo"
|
65
50
|
end
|
66
51
|
end
|