lesli 5.1.3 → 5.1.4
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/assets/stylesheets/lesli/application.css +1 -192
- data/config/initializers/lesli.rb +3 -3
- data/config/routes.rb +0 -9
- data/db/seeds.rb +1 -2
- data/lib/lesli/version.rb +2 -2
- data/lib/tasks/lesli/db.rake +4 -3
- data/lib/tasks/lesli/resources.rake +1 -1
- data/lib/tasks/lesli_tasks.rake +2 -5
- data/readme.md +2 -2
- 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: 71ebbe94118fce8c34a6bbeb15742f980113428c4f1ee646dad96e5856661f09
|
|
4
|
+
data.tar.gz: 0d33f3d740d6de2ec3b71aea013ea9e5eb9f2e38bcf02fd44580e289d0ffa4cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 274fe8ca8eedb82d999f9a3466d71f36b0649b9e828a52b7af913dd0d9e98f08d7d0b558cad7229fe11e5f4b06c7757df9cedae40a09e9830545ac262fdffa79
|
|
7
|
+
data.tar.gz: 12815015c7a3c7cfc3073839cfc8c0321e517239a3e4f781eeba12423fb17c45f9ac3f51e5d28b2cc7255c2169248a27bc64204f8a411969dca5b14c363e8694
|
|
@@ -1,192 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/*
|
|
3
|
-
Lesli
|
|
4
|
-
|
|
5
|
-
Copyright (c) 2025, 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
|
-
Lesli
|
|
34
|
-
|
|
35
|
-
Copyright (c) 2025, Lesli Technologies, S. A.
|
|
36
|
-
|
|
37
|
-
This program is free software: you can redistribute it and/or modify
|
|
38
|
-
it under the terms of the GNU General Public License as published by
|
|
39
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
40
|
-
(at your option) any later version.
|
|
41
|
-
|
|
42
|
-
This program is distributed in the hope that it will be useful,
|
|
43
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
44
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
45
|
-
GNU General Public License for more details.
|
|
46
|
-
|
|
47
|
-
You should have received a copy of the GNU General Public License
|
|
48
|
-
along with this program. If not, see http://www.gnu.org/licenses/.
|
|
49
|
-
|
|
50
|
-
Lesli · Ruby on Rails SaaS Development Framework.
|
|
51
|
-
|
|
52
|
-
Made with ♥ by LesliTech
|
|
53
|
-
Building a better future, one line of code at a time.
|
|
54
|
-
|
|
55
|
-
@contact hello@lesli.tech
|
|
56
|
-
@website https://www.lesli.tech
|
|
57
|
-
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
|
58
|
-
|
|
59
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
|
60
|
-
// ·
|
|
61
|
-
*/
|
|
62
|
-
/**
|
|
63
|
-
Lesli
|
|
64
|
-
|
|
65
|
-
Copyright (c) 2025, Lesli Technologies, S. A.
|
|
66
|
-
|
|
67
|
-
This program is free software: you can redistribute it and/or modify
|
|
68
|
-
it under the terms of the GNU General Public License as published by
|
|
69
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
70
|
-
(at your option) any later version.
|
|
71
|
-
|
|
72
|
-
This program is distributed in the hope that it will be useful,
|
|
73
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
74
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
75
|
-
GNU General Public License for more details.
|
|
76
|
-
|
|
77
|
-
You should have received a copy of the GNU General Public License
|
|
78
|
-
along with this program. If not, see http://www.gnu.org/licenses/.
|
|
79
|
-
|
|
80
|
-
Lesli - SCSS Utilities for websites, apps and web applications
|
|
81
|
-
|
|
82
|
-
Made with ♥ by LesliTech
|
|
83
|
-
Building a better future, one line of code at a time.
|
|
84
|
-
|
|
85
|
-
@contact hello@lesli.tech
|
|
86
|
-
@website https://www.lesli.tech
|
|
87
|
-
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
|
88
|
-
|
|
89
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
|
90
|
-
// ·
|
|
91
|
-
*/
|
|
92
|
-
/*
|
|
93
|
-
Lesli
|
|
94
|
-
|
|
95
|
-
Copyright (c) 2025, Lesli Technologies, S. A.
|
|
96
|
-
|
|
97
|
-
This program is free software: you can redistribute it and/or modify
|
|
98
|
-
it under the terms of the GNU General Public License as published by
|
|
99
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
100
|
-
(at your option) any later version.
|
|
101
|
-
|
|
102
|
-
This program is distributed in the hope that it will be useful,
|
|
103
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
104
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
105
|
-
GNU General Public License for more details.
|
|
106
|
-
|
|
107
|
-
You should have received a copy of the GNU General Public License
|
|
108
|
-
along with this program. If not, see http://www.gnu.org/licenses/.
|
|
109
|
-
|
|
110
|
-
Lesli - SCSS Utilities for websites, apps and web applications
|
|
111
|
-
|
|
112
|
-
Made with ♥ by LesliTech
|
|
113
|
-
Building a better future, one line of code at a time.
|
|
114
|
-
|
|
115
|
-
@contact hello@lesli.tech
|
|
116
|
-
@website https://www.lesli.tech
|
|
117
|
-
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
|
118
|
-
|
|
119
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
|
120
|
-
// ·
|
|
121
|
-
*/
|
|
122
|
-
/**
|
|
123
|
-
Lesli
|
|
124
|
-
|
|
125
|
-
Copyright (c) 2025, Lesli Technologies, S. A.
|
|
126
|
-
|
|
127
|
-
This program is free software: you can redistribute it and/or modify
|
|
128
|
-
it under the terms of the GNU General Public License as published by
|
|
129
|
-
the Free Software Foundation, either version 3 of the License, or
|
|
130
|
-
(at your option) any later version.
|
|
131
|
-
|
|
132
|
-
This program is distributed in the hope that it will be useful,
|
|
133
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
134
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
135
|
-
GNU General Public License for more details.
|
|
136
|
-
|
|
137
|
-
You should have received a copy of the GNU General Public License
|
|
138
|
-
along with this program. If not, see http://www.gnu.org/licenses/.
|
|
139
|
-
|
|
140
|
-
Lesli - SCSS Utilities for websites, apps and web applications
|
|
141
|
-
|
|
142
|
-
Made with ♥ by LesliTech
|
|
143
|
-
Building a better future, one line of code at a time.
|
|
144
|
-
|
|
145
|
-
@contact hello@lesli.tech
|
|
146
|
-
@website https://www.lesli.tech
|
|
147
|
-
@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html
|
|
148
|
-
|
|
149
|
-
// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~
|
|
150
|
-
// ·
|
|
151
|
-
*/
|
|
152
|
-
body.lesli.apps.show .lesli-element-header {
|
|
153
|
-
margin-bottom: 5rem !important;
|
|
154
|
-
}
|
|
155
|
-
body.lesli.apps.show .engines {
|
|
156
|
-
gap: 24px;
|
|
157
|
-
margin-inline-end: auto;
|
|
158
|
-
margin-inline-start: auto;
|
|
159
|
-
}
|
|
160
|
-
body.lesli.apps.show .engines a {
|
|
161
|
-
flex-basis: 318px;
|
|
162
|
-
text-align: center;
|
|
163
|
-
padding: 2rem 0.4rem 2.8rem;
|
|
164
|
-
border: white 1px solid;
|
|
165
|
-
border-radius: 6px;
|
|
166
|
-
background-color: white;
|
|
167
|
-
transition: all ease-in-out 0.2s;
|
|
168
|
-
box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
|
|
169
|
-
}
|
|
170
|
-
body.lesli.apps.show .engines a:hover {
|
|
171
|
-
border-color: var(--lesli-color-primary);
|
|
172
|
-
transform: translateY(-2px);
|
|
173
|
-
}
|
|
174
|
-
body.lesli.apps.show .engines a.is-active {
|
|
175
|
-
background-color: #F0F4FF;
|
|
176
|
-
border-color: var(--lesli-color-primary);
|
|
177
|
-
}
|
|
178
|
-
body.lesli.apps.show .engines a svg {
|
|
179
|
-
margin-right: 0.4rem;
|
|
180
|
-
fill: var(--lesli-color-primary);
|
|
181
|
-
}
|
|
182
|
-
body.lesli.apps.show .engines a p {
|
|
183
|
-
font-size: 14;
|
|
184
|
-
font-family: "OpenSans";
|
|
185
|
-
}
|
|
186
|
-
body.lesli.apps.show .engines a span {
|
|
187
|
-
font-weight: 600;
|
|
188
|
-
font-size: 20px;
|
|
189
|
-
}
|
|
190
|
-
body.lesli.apps.show .engines a span, body.lesli.apps.show .engines a p {
|
|
191
|
-
color: var(--lesli-color-primary);
|
|
192
|
-
}
|
|
1
|
+
body.lesli.apps.show .lesli-element-header{margin-bottom:5rem !important}body.lesli.apps.show .engines{gap:24px;margin-inline-end:auto;margin-inline-start:auto}body.lesli.apps.show .engines a{flex-basis:318px;text-align:center;padding:2rem .4rem 2.8rem;border:#fff 1px solid;border-radius:6px;background-color:#fff;transition:all ease-in-out .2s;box-shadow:rgba(9,30,66,.25) 0px 4px 8px -2px,rgba(9,30,66,.08) 0px 0px 0px 1px}body.lesli.apps.show .engines a:hover{border-color:var(--lesli-color-primary);transform:translateY(-2px)}body.lesli.apps.show .engines a.is-active{background-color:#f0f4ff;border-color:var(--lesli-color-primary)}body.lesli.apps.show .engines a svg{margin-right:.4rem;fill:var(--lesli-color-primary)}body.lesli.apps.show .engines a p{font-size:14;font-family:"OpenSans"}body.lesli.apps.show .engines a span{font-weight:600;font-size:20px}body.lesli.apps.show .engines a span,body.lesli.apps.show .engines a p{color:var(--lesli-color-primary)}
|
|
@@ -45,7 +45,7 @@ Lesli.configure do |config|
|
|
|
45
45
|
config.company = {
|
|
46
46
|
name: "Lesli",
|
|
47
47
|
email: "hello@lesli.tech",
|
|
48
|
-
tagline: "The Open SaaS Development
|
|
48
|
+
tagline: "The Open-Source SaaS Development Framework for Ruby on Rails."
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
|
|
@@ -86,12 +86,12 @@ Lesli.configure do |config|
|
|
|
86
86
|
|
|
87
87
|
# Customize the color palette and layout.
|
|
88
88
|
config.theme = {
|
|
89
|
-
color_primary: "#
|
|
89
|
+
color_primary: "#245F93",
|
|
90
90
|
color_sidebar: "#ffffff",
|
|
91
91
|
color_header: "transparent",
|
|
92
92
|
color_footer: "transparent",
|
|
93
93
|
color_background: "#eef2f6",
|
|
94
|
-
color_sidebar_hover: "#
|
|
94
|
+
color_sidebar_hover: "#E3EEF6"
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
data/config/routes.rb
CHANGED
|
@@ -37,15 +37,6 @@ Lesli::Engine.routes.draw do
|
|
|
37
37
|
|
|
38
38
|
resource :about, only: [:show]
|
|
39
39
|
|
|
40
|
-
resources :users, only: [] do
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
resources :roles, only: [] do
|
|
44
|
-
collection do
|
|
45
|
-
get :list
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
|
|
49
40
|
resources :resources, only: [:index]
|
|
50
41
|
|
|
51
42
|
get :language, to: "apps#language"
|
data/db/seeds.rb
CHANGED
data/lib/lesli/version.rb
CHANGED
data/lib/tasks/lesli/db.rake
CHANGED
|
@@ -115,7 +115,7 @@ namespace :lesli do
|
|
|
115
115
|
def seed
|
|
116
116
|
|
|
117
117
|
# print a message to let the users show the action running
|
|
118
|
-
Termline.
|
|
118
|
+
Termline.info("Seed the Lesli database")
|
|
119
119
|
|
|
120
120
|
# load Lesli* gems seeders
|
|
121
121
|
LesliSystem.engines.each do |engine, data|
|
|
@@ -125,13 +125,14 @@ namespace :lesli do
|
|
|
125
125
|
|
|
126
126
|
# load main app seeders
|
|
127
127
|
Rake::Task['db:seed'].invoke
|
|
128
|
-
Termline.info("
|
|
128
|
+
Termline.info("Loading seeds for: Main app")
|
|
129
|
+
Termline.br(2)
|
|
129
130
|
end
|
|
130
131
|
|
|
131
132
|
def prepare
|
|
132
133
|
|
|
133
134
|
# print a message to let the users show the action running
|
|
134
|
-
Termline.
|
|
135
|
+
Termline.info("Prepare the Lesli database")
|
|
135
136
|
|
|
136
137
|
# scan rails routes to build the controllers index
|
|
137
138
|
Rake::Task['lesli:resources:build'].invoke
|
|
@@ -36,8 +36,8 @@ namespace :lesli do
|
|
|
36
36
|
|
|
37
37
|
desc "Scan new routes added and create role privileges"
|
|
38
38
|
task build: :environment do
|
|
39
|
-
Termline.info("Lesli: Registering engines, controllers and actions")
|
|
40
39
|
Lesli::ResourceService.new.build
|
|
40
|
+
Termline.success("Lesli: Registering engines, controllers and actions")
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
end
|
data/lib/tasks/lesli_tasks.rake
CHANGED
|
@@ -66,15 +66,12 @@ namespace :lesli do
|
|
|
66
66
|
Termline.br(2)
|
|
67
67
|
|
|
68
68
|
# core information
|
|
69
|
-
Termline.
|
|
69
|
+
Termline.info(instance, tag:'Instance:', time:false)
|
|
70
|
+
Termline.info(Rails.env, tag:'Environment:', time:false)
|
|
70
71
|
Termline.br()
|
|
71
72
|
|
|
72
73
|
# print list of engines
|
|
73
74
|
Termline.table(engines)
|
|
74
75
|
Termline.br(2)
|
|
75
|
-
|
|
76
|
-
Termline.info "Environment: " + Rails.env
|
|
77
|
-
Termline.br(2)
|
|
78
|
-
|
|
79
76
|
end
|
|
80
77
|
end
|
data/readme.md
CHANGED
|
@@ -148,8 +148,8 @@ along with this program. If not, see http://www.gnu.org/licenses/.
|
|
|
148
148
|
<br />
|
|
149
149
|
<br />
|
|
150
150
|
|
|
151
|
-
<div align="center" class="has-text-centered"
|
|
152
|
-
<img width="
|
|
151
|
+
<div align="center" class="has-text-centered">>
|
|
152
|
+
<img width="80" alt="Lesli logo" src="https://cdn.lesli.tech/lesli/brand/app-icon.svg" />
|
|
153
153
|
<h3 align="center" class="mt-0">
|
|
154
154
|
The Open-Source SaaS Development Framework for Ruby on Rails.
|
|
155
155
|
</h3>
|