lesli 5.1.5 → 5.1.7

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: bd600233e472fba7d3b651847b258f0c23b24d3209825a4b74af2234c86af7fa
4
- data.tar.gz: 94fcf1d7a7886c29f6332e00b0923591b652ab528d91e9f29eb6153b9a924f94
3
+ metadata.gz: ba005986f04903794b5e62b741f025fddadc597d154a604f18007e7731db76d4
4
+ data.tar.gz: b3d4e43841468858bef0b7d75286e1b37371f51ab486b939eb35ecb27c84c060
5
5
  SHA512:
6
- metadata.gz: 90e2dde65d2a105836d3792d1b52f0fd94722e36fdbad3fe9c8c44b910367ae82821aff1318df07711c023e93c3dcd169d108c8fa5a7f73171b49578d6fe5dc9
7
- data.tar.gz: f10fa64f5d974f26a5c69f9317a3ebd50f4c7ab1cecff199a74a7f8c270f551145112deeb91c0087f2a035858a7242d2af3fdf72f96e9c1eab7a02b38dd8d143
6
+ metadata.gz: 573cddbd8075abec82e8f752efe485b0730a2adf6f77a051e136243d05c56aef764b09c7e482044172ea91081184363ac1a99cef1ddb99ff3aa7af6b123f220e
7
+ data.tar.gz: 1dbef4fc53e94097ccadcadadc1a2669fe3314506b6b553e487aa71b50b4ddc0c00afee602e58548a938fccc3efffdc6adbb204fa0c241378d5112b6a5883ff5
@@ -35,8 +35,12 @@ 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") %>
41
+ <% if content_for?(:head) %>
42
+ <%= yield :head %>
43
+ <% end %>
40
44
  </head>
41
45
  <body class="<%= lesli_application_body_class() %>">
42
46
  <%= render(partial: "lesli/partials/application-lesli-header") %>
@@ -35,10 +35,9 @@ Building a better future, one line of code at a time.
35
35
  <!DOCTYPE html>
36
36
  <html lang="en">
37
37
  <head>
38
+ <%= render(partial: "lesli/partials/application-lesli-head") %>
38
39
  <% if content_for?(:head) %>
39
40
  <%= yield :head %>
40
- <% else %>
41
- <%= render(partial: "lesli/partials/application-lesli-head") %>
42
41
  <% end %>
43
42
  </head>
44
43
  <body class="<%= lesli_application_body_class() %>">
@@ -36,8 +36,7 @@ Building a better future, one line of code at a time.
36
36
  <% tracking_id = Rails.application.credentials.dig(:providers, :google, :tag_manager) || ENV["PROVIDERS_GOOGLE_TAG_MANAGER"] %>
37
37
 
38
38
  <% # check if analytics is enabled in the settings file %>
39
- <% enable_analytics = Lesli.config.audit.dig(:enable_analytics) %>
40
- <% if Rails.env.production? && enable_analytics && tracking_id %>
39
+ <% if Rails.env.production? && tracking_id %>
41
40
 
42
41
  <% unless protected_controllers.include?(controller_name) %>
43
42
 
@@ -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,6 +30,7 @@ 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
 
@@ -39,29 +40,7 @@ Building a better future, one line of code at a time.
39
40
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
40
41
 
41
42
 
42
- <%# defines the title of the document. %>
43
- <title><%= lesli_website_title %></title>
44
-
45
-
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
-
55
-
56
- <%# Load custom head tags %>
57
- <%= yield :head %>
58
-
59
-
60
-
61
-
62
- <%# provide a short description of the page %>
63
- <meta name="description" content="<%#= website_meta_description %>">
64
-
43
+ <%# Promote the iOS app when using the browser to use the app %>
65
44
  <% appstore_app_id = Rails.application.credentials.dig(:providers, :apple, :app_id) %>
66
45
  <% if appstore_app_id %>
67
46
  <meta name="apple-itunes-app" content="app-id=<%= appstore_app_id %>">
@@ -0,0 +1,49 @@
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
+ <%# defines the title of the document. %>
35
+ <title><%= lesli_website_title %></title>
36
+
37
+
38
+ <%# provide a short description of the page %>
39
+ <meta name="description" content="<%#= website_meta_description %>">
40
+
41
+
42
+ <%# rails standard meta tags %>
43
+ <%= csrf_meta_tags %>
44
+ <%= lesli_favicon %>
45
+
46
+
47
+ <%# enable turbo %>
48
+ <meta name="turbo-prefetch" content="false">
49
+ <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.5"
3
- BUILD = "1780272810"
2
+ VERSION = "5.1.7"
3
+ BUILD = "1781749536"
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.5
4
+ version: 5.1.7
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