lesli_mailer 0.1.0
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 +7 -0
- data/Rakefile +5 -0
- data/app/assets/config/lesli_mailer_manifest.js +1 -0
- data/app/assets/images/lesli_mailer/mailer-logo.svg +7 -0
- data/app/assets/stylesheets/lesli_mailer/application.css +15 -0
- data/app/controllers/lesli_mailer/accounts_controller.rb +60 -0
- data/app/controllers/lesli_mailer/application_controller.rb +4 -0
- data/app/controllers/lesli_mailer/dashboards_controller.rb +4 -0
- data/app/helpers/lesli_mailer/accounts_helper.rb +4 -0
- data/app/helpers/lesli_mailer/application_helper.rb +4 -0
- data/app/helpers/lesli_mailer/dashboards_helper.rb +4 -0
- data/app/jobs/lesli_mailer/application_job.rb +4 -0
- data/app/mailers/lesli_mailer/application_mailer.rb +6 -0
- data/app/models/lesli_mailer/account.rb +12 -0
- data/app/models/lesli_mailer/application_record.rb +5 -0
- data/app/models/lesli_mailer/dashboard.rb +8 -0
- data/app/views/lesli_mailer/accounts/_account.html.erb +2 -0
- data/app/views/lesli_mailer/accounts/_form.html.erb +17 -0
- data/app/views/lesli_mailer/accounts/edit.html.erb +10 -0
- data/app/views/lesli_mailer/accounts/index.html.erb +14 -0
- data/app/views/lesli_mailer/accounts/new.html.erb +9 -0
- data/app/views/lesli_mailer/accounts/show.html.erb +10 -0
- data/app/views/lesli_mailer/dashboards/_dashboard.html.erb +2 -0
- data/app/views/lesli_mailer/dashboards/_form.html.erb +17 -0
- data/app/views/lesli_mailer/dashboards/edit.html.erb +10 -0
- data/app/views/lesli_mailer/dashboards/index.html.erb +14 -0
- data/app/views/lesli_mailer/dashboards/new.html.erb +9 -0
- data/app/views/lesli_mailer/dashboards/show.html.erb +1 -0
- data/app/views/lesli_mailer/emails/lesli/devise/confirmation_instructions.html.erb +122 -0
- data/app/views/lesli_mailer/emails/lesli/devise/reset_password_instructions.html.erb +122 -0
- data/app/views/lesli_mailer/emails/lesli/devise/welcome.html.erb +122 -0
- data/config/routes.rb +3 -0
- data/db/migrate/0205000110_create_lesli_mailer_accounts.rb +5 -0
- data/db/migrate/0205003010_create_lesli_mailer_dashboards.rb +5 -0
- data/lib/lesli_mailer/engine.rb +57 -0
- data/lib/lesli_mailer/version.rb +4 -0
- data/lib/lesli_mailer.rb +6 -0
- data/lib/lesli_mailer_builder/lesli/appstore.mjml +64 -0
- data/lib/lesli_mailer_builder/lesli/copy.mjml +43 -0
- data/lib/lesli_mailer_builder/lesli/debug.mjml +46 -0
- data/lib/lesli_mailer_builder/lesli/devise/confirmation_instructions.mjml +70 -0
- data/lib/lesli_mailer_builder/lesli/devise/reset_password_instructions.mjml +74 -0
- data/lib/lesli_mailer_builder/lesli/devise/welcome.mjml +79 -0
- data/lib/lesli_mailer_builder/lesli/footer.mjml +41 -0
- data/lib/lesli_mailer_builder/lesli/head.mjml +53 -0
- data/lib/lesli_mailer_builder/lesli/header.mjml +37 -0
- data/lib/lesli_mailer_builder/lesli/logo.mjml +48 -0
- data/lib/lesli_mailer_builder/lesli/social.mjml +50 -0
- data/lib/lesli_mailer_emails/lesli/devise/confirmation_instructions.html +122 -0
- data/lib/lesli_mailer_emails/lesli/devise/reset_password_instructions.html +122 -0
- data/lib/lesli_mailer_emails/lesli/devise/welcome.html +122 -0
- data/lib/lesli_mailer_previews/devise_mailer_preview.rb +54 -0
- data/lib/tasks/lesli_mailer_tasks.rake +4 -0
- data/license +674 -0
- data/readme.md +83 -0
- metadata +114 -0
data/readme.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<div align="center" class="documentation-header">
|
|
2
|
+
<img width="100" alt="Lesli logo" src="./app/assets/images/lesli_mailer/mailer-logo.svg" />
|
|
3
|
+
<h3 align="center">Ruby on Rails SaaS Development Framework.</h3>
|
|
4
|
+
</div>
|
|
5
|
+
|
|
6
|
+
<br />
|
|
7
|
+
<hr/>
|
|
8
|
+
|
|
9
|
+
<div align="center" class="documentation-statics">
|
|
10
|
+
<a target="blank" href="https://github.com/LesliTech/LesliMailer/actions">
|
|
11
|
+
<img alt="Tests passing" src="https://img.shields.io/badge/Tests-passing-green?style=for-the-badge&logo=github">
|
|
12
|
+
</a>
|
|
13
|
+
<a target="blank" href="https://rubygems.org/gems/lesli_mailer">
|
|
14
|
+
<img alt="Gem Version" src="https://img.shields.io/gem/v/lesli_mailer?style=for-the-badge&logo=ruby">
|
|
15
|
+
</a>
|
|
16
|
+
<a target="blank" href="https://codecov.io/github/LesliTech/LesliMailer">
|
|
17
|
+
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/LesliTech/LesliMailer?style=for-the-badge&logo=codecov">
|
|
18
|
+
</a>
|
|
19
|
+
<a target="blank" href="https://sonarcloud.io/project/overview?id=LesliTech_LesliMailer">
|
|
20
|
+
<img alt="Sonar Quality Gate" src="https://img.shields.io/sonar/quality_gate/LesliTech_LesliMailer?server=https%3A%2F%2Fsonarcloud.io&style=for-the-badge&logo=sonarqubecloud&label=Quality">
|
|
21
|
+
</a>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<hr/>
|
|
25
|
+
<br />
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Quick start
|
|
29
|
+
|
|
30
|
+
```shell
|
|
31
|
+
# Add LesliMailer engine gem
|
|
32
|
+
bundle add lesli_mailer
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
```shell
|
|
36
|
+
# Setup & initialize the database
|
|
37
|
+
rake lesli:db:setup
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
```ruby
|
|
41
|
+
# Load LesliMailer engine
|
|
42
|
+
Rails.application.routes.draw do
|
|
43
|
+
mount LesliMailer::Engine => "/mailer"
|
|
44
|
+
end
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Lesli Documentation
|
|
49
|
+
* [website](https://www.lesli.dev/)
|
|
50
|
+
* [documentation](https://www.lesli.dev/engines/mailer/)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Get in touch with Lesli
|
|
54
|
+
|
|
55
|
+
* [Email: hello@lesli.tech](hello@lesli.tech)
|
|
56
|
+
* [Website: https://www.lesli.tech](https://www.lesli.tech)
|
|
57
|
+
* [Twitter: @LesliTech](https://twitter.com/LesliTech)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### License
|
|
61
|
+
-------
|
|
62
|
+
Copyright (c) 2025, Lesli Technologies, S. A.
|
|
63
|
+
|
|
64
|
+
This program is free software: you can redistribute it and/or modify
|
|
65
|
+
it under the terms of the GNU General Public License as published by
|
|
66
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
67
|
+
(at your option) any later version.
|
|
68
|
+
|
|
69
|
+
This program is distributed in the hope that it will be useful,
|
|
70
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
71
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
72
|
+
GNU General Public License for more details.
|
|
73
|
+
|
|
74
|
+
You should have received a copy of the GNU General Public License
|
|
75
|
+
along with this program. If not, see http://www.gnu.org/licenses/.
|
|
76
|
+
|
|
77
|
+
<hr />
|
|
78
|
+
<br />
|
|
79
|
+
|
|
80
|
+
<div align="center" class="has-text-centered">
|
|
81
|
+
<img width="200" alt="Lesli logo" src="https://cdn.lesli.tech/lesli/brand/app-logo.svg" />
|
|
82
|
+
<h4 align="center" class="mt-0">Ruby on Rails SaaS Development Framework.</h4>
|
|
83
|
+
</div>
|
metadata
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: lesli_mailer
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- The Lesli Development Team
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: lesli
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '5'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '5'
|
|
26
|
+
description: "LesliMailer provides a flexible and extendable mailing \nsystem designed
|
|
27
|
+
for applications built on top of The Lesli Framework.\n"
|
|
28
|
+
email:
|
|
29
|
+
- hello@lesli.tech
|
|
30
|
+
executables: []
|
|
31
|
+
extensions: []
|
|
32
|
+
extra_rdoc_files: []
|
|
33
|
+
files:
|
|
34
|
+
- Rakefile
|
|
35
|
+
- app/assets/config/lesli_mailer_manifest.js
|
|
36
|
+
- app/assets/images/lesli_mailer/mailer-logo.svg
|
|
37
|
+
- app/assets/stylesheets/lesli_mailer/application.css
|
|
38
|
+
- app/controllers/lesli_mailer/accounts_controller.rb
|
|
39
|
+
- app/controllers/lesli_mailer/application_controller.rb
|
|
40
|
+
- app/controllers/lesli_mailer/dashboards_controller.rb
|
|
41
|
+
- app/helpers/lesli_mailer/accounts_helper.rb
|
|
42
|
+
- app/helpers/lesli_mailer/application_helper.rb
|
|
43
|
+
- app/helpers/lesli_mailer/dashboards_helper.rb
|
|
44
|
+
- app/jobs/lesli_mailer/application_job.rb
|
|
45
|
+
- app/mailers/lesli_mailer/application_mailer.rb
|
|
46
|
+
- app/models/lesli_mailer/account.rb
|
|
47
|
+
- app/models/lesli_mailer/application_record.rb
|
|
48
|
+
- app/models/lesli_mailer/dashboard.rb
|
|
49
|
+
- app/views/lesli_mailer/accounts/_account.html.erb
|
|
50
|
+
- app/views/lesli_mailer/accounts/_form.html.erb
|
|
51
|
+
- app/views/lesli_mailer/accounts/edit.html.erb
|
|
52
|
+
- app/views/lesli_mailer/accounts/index.html.erb
|
|
53
|
+
- app/views/lesli_mailer/accounts/new.html.erb
|
|
54
|
+
- app/views/lesli_mailer/accounts/show.html.erb
|
|
55
|
+
- app/views/lesli_mailer/dashboards/_dashboard.html.erb
|
|
56
|
+
- app/views/lesli_mailer/dashboards/_form.html.erb
|
|
57
|
+
- app/views/lesli_mailer/dashboards/edit.html.erb
|
|
58
|
+
- app/views/lesli_mailer/dashboards/index.html.erb
|
|
59
|
+
- app/views/lesli_mailer/dashboards/new.html.erb
|
|
60
|
+
- app/views/lesli_mailer/dashboards/show.html.erb
|
|
61
|
+
- app/views/lesli_mailer/emails/lesli/devise/confirmation_instructions.html.erb
|
|
62
|
+
- app/views/lesli_mailer/emails/lesli/devise/reset_password_instructions.html.erb
|
|
63
|
+
- app/views/lesli_mailer/emails/lesli/devise/welcome.html.erb
|
|
64
|
+
- config/routes.rb
|
|
65
|
+
- db/migrate/0205000110_create_lesli_mailer_accounts.rb
|
|
66
|
+
- db/migrate/0205003010_create_lesli_mailer_dashboards.rb
|
|
67
|
+
- lib/lesli_mailer.rb
|
|
68
|
+
- lib/lesli_mailer/engine.rb
|
|
69
|
+
- lib/lesli_mailer/version.rb
|
|
70
|
+
- lib/lesli_mailer_builder/lesli/appstore.mjml
|
|
71
|
+
- lib/lesli_mailer_builder/lesli/copy.mjml
|
|
72
|
+
- lib/lesli_mailer_builder/lesli/debug.mjml
|
|
73
|
+
- lib/lesli_mailer_builder/lesli/devise/confirmation_instructions.mjml
|
|
74
|
+
- lib/lesli_mailer_builder/lesli/devise/reset_password_instructions.mjml
|
|
75
|
+
- lib/lesli_mailer_builder/lesli/devise/welcome.mjml
|
|
76
|
+
- lib/lesli_mailer_builder/lesli/footer.mjml
|
|
77
|
+
- lib/lesli_mailer_builder/lesli/head.mjml
|
|
78
|
+
- lib/lesli_mailer_builder/lesli/header.mjml
|
|
79
|
+
- lib/lesli_mailer_builder/lesli/logo.mjml
|
|
80
|
+
- lib/lesli_mailer_builder/lesli/social.mjml
|
|
81
|
+
- lib/lesli_mailer_emails/lesli/devise/confirmation_instructions.html
|
|
82
|
+
- lib/lesli_mailer_emails/lesli/devise/reset_password_instructions.html
|
|
83
|
+
- lib/lesli_mailer_emails/lesli/devise/welcome.html
|
|
84
|
+
- lib/lesli_mailer_previews/devise_mailer_preview.rb
|
|
85
|
+
- lib/tasks/lesli_mailer_tasks.rake
|
|
86
|
+
- license
|
|
87
|
+
- readme.md
|
|
88
|
+
homepage: https://www.lesli.dev/
|
|
89
|
+
licenses:
|
|
90
|
+
- GPL-3.0-or-later
|
|
91
|
+
metadata:
|
|
92
|
+
homepage_uri: https://www.lesli.dev/
|
|
93
|
+
changelog_uri: https://github.com/LesliTech/LesliMailer/releases
|
|
94
|
+
source_code_uri: https://github.com/LesliTech/LesliMailer
|
|
95
|
+
bug_tracker_uri: https://github.com/LesliTech/LesliMailer/issues
|
|
96
|
+
documentation_uri: https://www.lesli.dev/mailer/
|
|
97
|
+
rdoc_options: []
|
|
98
|
+
require_paths:
|
|
99
|
+
- lib
|
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
|
+
requirements:
|
|
102
|
+
- - ">="
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: '3.2'
|
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - ">="
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '0'
|
|
110
|
+
requirements: []
|
|
111
|
+
rubygems_version: 3.7.1
|
|
112
|
+
specification_version: 4
|
|
113
|
+
summary: Email delivery and templating engine for The Lesli Framework.
|
|
114
|
+
test_files: []
|