lesli 5.1.6 → 5.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e24de4908312356f83644204fed2893d2b815f55587b892a232f0f2bb83fe84b
4
- data.tar.gz: 30c8bd8094421a25b182a4cd67b5c6f5ee5a38e83100cbaf5440bbb42d23dc31
3
+ metadata.gz: 30ffdeb6ee40bc732b261033e788707185261094e5b4a57980b547af782e8a6a
4
+ data.tar.gz: ade2417c6a3f8ee2ab7eb2a4588900b9258b97189c91ece2e371c36bbc6ac54f
5
5
  SHA512:
6
- metadata.gz: 0e638dbf98f29572fc6f174431c5b6d2b0b0ada5adbfceb4f533d2f53d64099ad5ca4eaa70664f74d3cb09a6fb355a08e2aa7648db43792f8e4c89eb45f1a052
7
- data.tar.gz: 0f54b0fa2c61de02365d8d021b16acf2c8aa06f7dc2f41b1656b861ba6e6b8f51953d9353a15eddda5eb1180d8e9aea97286722c6198461fddd23e8d671609ab
6
+ metadata.gz: e6f41c34eaac31db53c9203e0981bdbe1590a3ca50a54e882abb2990a1288072f61ede2a653deac537daeec908dc0eba9d7c508543ab5e471bad53fc3dc8f58c
7
+ data.tar.gz: 712b75ff2a16d3bdb84d1e37060ed1f013951ed1f9f522a43d800300d0e5b6213bba32a000f22bec5e5bd4b0c922ad59c9ddca42e35d8f3ac0a9f5ea27568475
@@ -46,8 +46,12 @@ module Lesli
46
46
  # build the text for the html document title
47
47
  # this helper works only for rails pages, for vue apps the title must be handled with JS
48
48
  def lesli_website_title
49
- # Use instance variable if set, otherwise construct a dynamic title
50
- title = @application_html_title || controller_path.delete_prefix("lesli_")
49
+
50
+ # Use instance variable if set,
51
+ return @application_html_title if @application_html_title.present?
52
+
53
+ # otherwise construct a dynamic title
54
+ title = controller_path.delete_prefix("lesli_")
51
55
 
52
56
  # Append action name unless it's "index"
53
57
  title += "/#{action_name}" unless action_name == "index"
@@ -35,6 +35,7 @@ Building a better future, one line of code at a time.
35
35
  <head>
36
36
  <%= render(partial: "lesli/partials/application-lesli-head") %>
37
37
  <%= render(partial: "lesli/partials/application-lesli-data") %>
38
+ <%= render(partial: "lesli/partials/application-lesli-turbo") %>
38
39
  <%= render(partial: "lesli/partials/application-lesli-assets") %>
39
40
  <%= render(partial: "lesli/partials/application-lesli-analytics") %>
40
41
  <% if content_for?(:head) %>
@@ -2,7 +2,7 @@
2
2
 
3
3
  Lesli
4
4
 
5
- Copyright (c) 2025, Lesli Technologies, S. A.
5
+ Copyright (c) 2026, Lesli Technologies, S. A.
6
6
 
7
7
  This program is free software: you can redistribute it and/or modify
8
8
  it under the terms of the GNU General Public License as published by
@@ -30,38 +30,28 @@ Building a better future, one line of code at a time.
30
30
  // ·
31
31
  %>
32
32
 
33
+
33
34
  <%# the charset attribute specifies the character encoding for the HTML document. %>
34
35
  <meta charset="utf-8">
35
36
 
36
37
 
37
- <%# this gives the browser instructions on how to control the page's dimensions and scaling. %>
38
- <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
39
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
40
-
41
-
42
38
  <%# defines the title of the document. %>
43
39
  <title><%= lesli_website_title %></title>
44
40
 
45
41
 
46
- <%# rails standard meta tags %>
47
- <%= csrf_meta_tags %>
48
- <%= lesli_favicon %>
49
-
50
-
51
- <%# enable turbo %>
52
- <meta name="turbo-prefetch" content="false">
53
- <meta name="view-transition" content="same-origin" />
54
-
42
+ <%# provide a short description of the page %>
43
+ <meta name="description" content="<%= lesli_website_meta_description %>">
55
44
 
56
- <%# Load custom head tags %>
57
- <%= yield :head %>
58
45
 
46
+ <%= lesli_favicon %>
59
47
 
60
48
 
49
+ <%# this gives the browser instructions on how to control the page's dimensions and scaling. %>
50
+ <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
51
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
61
52
 
62
- <%# provide a short description of the page %>
63
- <meta name="description" content="<%#= website_meta_description %>">
64
53
 
54
+ <%# Promote the iOS app when using the browser to use the app %>
65
55
  <% appstore_app_id = Rails.application.credentials.dig(:providers, :apple, :app_id) %>
66
56
  <% if appstore_app_id %>
67
57
  <meta name="apple-itunes-app" content="app-id=<%= appstore_app_id %>">
@@ -0,0 +1,41 @@
1
+ <%#
2
+
3
+ Lesli
4
+
5
+ Copyright (c) 2026, Lesli Technologies, S. A.
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see http://www.gnu.org/licenses/.
19
+
20
+ Lesli · Ruby on Rails SaaS Development Framework.
21
+
22
+ Made with ♥ by LesliTech
23
+ Building a better future, one line of code at a time.
24
+
25
+ @contact hello@lesli.tech
26
+ @website https://www.lesli.tech
27
+ @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
28
+
29
+ // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
30
+ // ·
31
+ %>
32
+
33
+
34
+ <%# rails standard meta tags %>
35
+ <%= csrf_meta_tags %>
36
+ <%= lesli_favicon %>
37
+
38
+
39
+ <%# enable turbo %>
40
+ <meta name="turbo-prefetch" content="false">
41
+ <meta name="view-transition" content="same-origin" />
data/lib/lesli/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Lesli
2
- VERSION = "5.1.6"
3
- BUILD = "1781749536"
2
+ VERSION = "5.1.8"
3
+ BUILD = "1781844207"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lesli
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.6
4
+ version: 5.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Lesli Development Team
@@ -223,6 +223,7 @@ files:
223
223
  - app/views/lesli/partials/_application-lesli-navigation.html.erb
224
224
  - app/views/lesli/partials/_application-lesli-notifications.html.erb
225
225
  - app/views/lesli/partials/_application-lesli-sidebar.html.erb
226
+ - app/views/lesli/partials/_application-lesli-turbo.html.erb
226
227
  - app/views/lesli/partials/turbo/_redirection.html.erb
227
228
  - app/views/lesli/shared/dashboards/edit.html.erb
228
229
  - app/views/lesli/shared/dashboards/show.html.erb