devise_materialize 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/{LICENSE.txt → LICENSE} +6 -6
- data/README.md +5 -4
- data/lib/devise_materialize/version.rb +1 -1
- data/lib/generators/templates/erb/default/mailer/confirmation_instructions.html.erb +3 -2
- data/lib/generators/templates/erb/default/mailer/password_change.html.erb +1 -1
- data/lib/generators/templates/erb/default/mailer/reset_password_instructions.html.erb +1 -2
- data/lib/generators/templates/erb/default/mailer/unlock_instructions.html.erb +4 -3
- data/lib/generators/templates/erb/simple_form/mailer/confirmation_instructions.html.erb +3 -2
- data/lib/generators/templates/erb/simple_form/mailer/password_change.html.erb +1 -1
- data/lib/generators/templates/erb/simple_form/mailer/reset_password_instructions.html.erb +1 -1
- data/lib/generators/templates/erb/simple_form/mailer/unlock_instructions.html.erb +4 -3
- data/lib/generators/templates/haml/default/mailer/confirmation_instructions.html.haml +3 -2
- data/lib/generators/templates/haml/default/mailer/unlock_instructions.html.haml +3 -2
- data/lib/generators/templates/haml/simple_form/mailer/confirmation_instructions.html.haml +3 -2
- data/lib/generators/templates/haml/simple_form/mailer/unlock_instructions.html.haml +3 -2
- data/lib/generators/templates/slim/default/mailer/confirmation_instructions.html.slim +7 -7
- data/lib/generators/templates/slim/default/mailer/unlock_instructions.html.slim +7 -7
- data/lib/generators/templates/slim/simple_form/mailer/confirmation_instructions.html.slim +7 -7
- data/lib/generators/templates/slim/simple_form/mailer/unlock_instructions.html.slim +7 -7
- metadata +4 -5
- data/_config.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8af1a37efcff4080866643abe965443c5b109be38bff8c21e1bb00a49f59bf0f
|
4
|
+
data.tar.gz: 81fbd50e37c09604d1121c6afc4c1ba34a5e6c68ccffff646995c99bf5e29f48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b26d089a7a70f83613827a8741e332c13aacb78bf45e1fbda27c52b0b0d948dd8c8fee472e6489f0176a3bdb5569c318407111e03c1b107fa30961d311dd1727
|
7
|
+
data.tar.gz: ffc886753c0d4c5375c4d79e6e46a00125eab0b17c18ab0dd1114cf0e3bc6a6780e196f7ea2c0b285c81b4a2dc5ff4bca089513fd729f66fc594390a80d7bce4
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,17 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [1.2.1](https://github.com/chiefpansancolt/devise_materialize/releases/tag/1.2.1)
|
4
|
+
|
5
|
+
### Bugs
|
6
|
+
|
7
|
+
- Fix views for class attribute typo and class ording on link_to element
|
8
|
+
|
3
9
|
## [1.2.0](https://github.com/chiefpansancolt/devise_materialize/releases/tag/1.2.0)
|
4
10
|
|
5
11
|
### Features
|
6
12
|
|
7
|
-
- Update CI testing from 2.
|
13
|
+
- Update CI testing from 2.3-2.6 Ruby versions
|
14
|
+
- Update repo items
|
8
15
|
|
9
16
|
### Bugs
|
10
17
|
|
data/{LICENSE.txt → LICENSE}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
|
-
Copyright (c)
|
3
|
+
Copyright (c) 2019 Christopher Pezza
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
10
10
|
furnished to do so, subject to the following conditions:
|
11
11
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
14
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
# Devise Materialize
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
![CircleCI](https://img.shields.io/circleci/build/gh/chiefpansancolt/devise_materialize/master?logo=circleci&style=flat-square)
|
4
|
+
![Code Climate coverage](https://img.shields.io/codeclimate/coverage/chiefpansancolt/devise_materialize?logo=code%20climate&style=flat-square)
|
5
|
+
![Code Climate maintainability](https://img.shields.io/codeclimate/maintainability/chiefpansancolt/devise_materialize?logo=code%20climate&style=flat-square)
|
6
|
+
![GitHub release](https://img.shields.io/github/release/chiefpansancolt/devise_materialize?logo=github&style=flat-square)
|
7
|
+
![Gem](https://img.shields.io/gem/dt/devise_materialize?logo=rubygems&style=flat-square)
|
7
8
|
|
8
9
|
Devise Materialize gem is here to generate you devise view in a materialize styled format with or w/o simple_form.
|
9
10
|
This gem is not intended to live forever in your gemfile. It must be in your gemfile to load the resources needed from the generator.
|
@@ -26,8 +26,9 @@
|
|
26
26
|
<div class="divider"></div>
|
27
27
|
<div class="center">
|
28
28
|
<p> You can confirm your account email through the link below:</p>
|
29
|
-
<%= link_to 'Confirm my Account',
|
30
|
-
|
29
|
+
<%= link_to 'Confirm my Account',
|
30
|
+
confirmation_url(@resource, confirmation_token: @token),
|
31
|
+
class: 'btn waves-effect cyan' %>
|
31
32
|
</div>
|
32
33
|
</div>
|
33
34
|
</div>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<span class="card-title center">
|
25
25
|
Hello <%= @resource.email %>!
|
26
26
|
</span>
|
27
|
-
<div class"divider"></div>
|
27
|
+
<div class="divider"></div>
|
28
28
|
<div class="center">
|
29
29
|
<p>
|
30
30
|
Someone has requested a link to change your password. You can
|
@@ -36,7 +36,6 @@
|
|
36
36
|
%p
|
37
37
|
Your password won't change until you access the link above and
|
38
38
|
create a new one.
|
39
|
-
|
40
39
|
</div>
|
41
40
|
</div>
|
42
41
|
</div>
|
@@ -24,15 +24,16 @@
|
|
24
24
|
<span class="card-title center">
|
25
25
|
Hello <%= @resource.email %>!
|
26
26
|
</span>
|
27
|
-
<div class"divider"></div>
|
27
|
+
<div class="divider"></div>
|
28
28
|
<div class="center">
|
29
29
|
<p>
|
30
30
|
Your account has been locked due to an excessive number of
|
31
31
|
unsuccessful sign in attempts.
|
32
32
|
</p>
|
33
33
|
<p> Click the link below to unlock your account:
|
34
|
-
<%= link_to 'Unlock my Account',
|
35
|
-
|
34
|
+
<%= link_to 'Unlock my Account',
|
35
|
+
unlock_url(@resource, unlock_token: @token),
|
36
|
+
class: 'btn waves-effect cyan' %>
|
36
37
|
</p>
|
37
38
|
</div>
|
38
39
|
</div>
|
@@ -26,8 +26,9 @@
|
|
26
26
|
<div class="divider"></div>
|
27
27
|
<div class="center">
|
28
28
|
<p> You can confirm your account email through the link below:</p>
|
29
|
-
<%= link_to 'Confirm my Account',
|
30
|
-
|
29
|
+
<%= link_to 'Confirm my Account',
|
30
|
+
confirmation_url(@resource, confirmation_token: @token),
|
31
|
+
class: 'btn waves-effect cyan' %>
|
31
32
|
</div>
|
32
33
|
</div>
|
33
34
|
</div>
|
@@ -24,15 +24,16 @@
|
|
24
24
|
<span class="card-title center">
|
25
25
|
Hello <%= @resource.email %>!
|
26
26
|
</span>
|
27
|
-
<div class"divider"></div>
|
27
|
+
<div class="divider"></div>
|
28
28
|
<div class="center">
|
29
29
|
<p>
|
30
30
|
Your account has been locked due to an excessive number of
|
31
31
|
unsuccessful sign in attempts.
|
32
32
|
</p>
|
33
33
|
<p> Click the link below to unlock your account:
|
34
|
-
<%= link_to 'Unlock my Account',
|
35
|
-
|
34
|
+
<%= link_to 'Unlock my Account',
|
35
|
+
unlock_url(@resource, unlock_token: @token),
|
36
|
+
class: 'btn waves-effect cyan' %>
|
36
37
|
</p>
|
37
38
|
</div>
|
38
39
|
</div>
|
@@ -26,5 +26,6 @@
|
|
26
26
|
.divider
|
27
27
|
.center
|
28
28
|
%p You can confirm your account email through the link below:
|
29
|
-
= link_to 'Confirm my Account',
|
30
|
-
confirmation_url(@resource, confirmation_token: @token)
|
29
|
+
= link_to 'Confirm my Account',
|
30
|
+
confirmation_url(@resource, confirmation_token: @token),
|
31
|
+
class: 'btn waves-effect cyan'
|
@@ -30,5 +30,6 @@
|
|
30
30
|
Your account has been locked due to an excessive number of
|
31
31
|
unsuccessful sign in attempts.
|
32
32
|
%p Click the link below to unlock your account:
|
33
|
-
= link_to 'Unlock my Account',
|
34
|
-
unlock_url(@resource, unlock_token: @token)
|
33
|
+
= link_to 'Unlock my Account',
|
34
|
+
unlock_url(@resource, unlock_token: @token),
|
35
|
+
class: 'btn waves-effect cyan'
|
@@ -26,5 +26,6 @@
|
|
26
26
|
.divider
|
27
27
|
.center
|
28
28
|
%p You can confirm your account email through the link below:
|
29
|
-
= link_to 'Confirm my Account',
|
30
|
-
confirmation_url(@resource, confirmation_token: @token)
|
29
|
+
= link_to 'Confirm my Account',
|
30
|
+
confirmation_url(@resource, confirmation_token: @token),
|
31
|
+
class: 'btn waves-effect cyan'
|
@@ -30,5 +30,6 @@
|
|
30
30
|
Your account has been locked due to an excessive number of
|
31
31
|
unsuccessful sign in attempts.
|
32
32
|
%p Click the link below to unlock your account:
|
33
|
-
= link_to 'Unlock my Account',
|
34
|
-
unlock_url(@resource, unlock_token: @token)
|
33
|
+
= link_to 'Unlock my Account',
|
34
|
+
unlock_url(@resource, unlock_token: @token),
|
35
|
+
class: 'btn waves-effect cyan'
|
@@ -3,15 +3,15 @@ html
|
|
3
3
|
head
|
4
4
|
meta content=("text/html; charset=utf-8") http-equiv="Content-Type" /
|
5
5
|
link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css" rel="stylesheet" /
|
6
|
-
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
-
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
-
style type="text/scss"
|
6
|
+
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
+
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
+
style type="text/scss"
|
9
9
|
cdata:
|
10
10
|
| \.form {
|
11
11
|
| max-width: 650px;
|
12
12
|
| margin: auto;
|
13
13
|
| }
|
14
|
-
|
14
|
+
|
15
15
|
| \.btn {
|
16
16
|
| margin-top: 20px;
|
17
17
|
| }
|
@@ -25,6 +25,6 @@ html
|
|
25
25
|
.divider
|
26
26
|
.center
|
27
27
|
p You can confirm your account email through the link below:
|
28
|
-
= link_to 'Confirm my Account',
|
29
|
-
confirmation_url(@resource, confirmation_token: @token)
|
30
|
-
|
28
|
+
= link_to 'Confirm my Account', \
|
29
|
+
confirmation_url(@resource, confirmation_token: @token), \
|
30
|
+
class: 'btn waves-effect cyan' \
|
@@ -3,15 +3,15 @@ html
|
|
3
3
|
head
|
4
4
|
meta content=("text/html; charset=utf-8") http-equiv="Content-Type" /
|
5
5
|
link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css" rel="stylesheet" /
|
6
|
-
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
-
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
-
style type="text/scss"
|
6
|
+
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
+
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
+
style type="text/scss"
|
9
9
|
cdata:
|
10
10
|
| \.form {
|
11
11
|
| max-width: 650px;
|
12
12
|
| margin: auto;
|
13
13
|
| }
|
14
|
-
|
14
|
+
|
15
15
|
| \.btn {
|
16
16
|
| margin-bottom: 20px;
|
17
17
|
| margin-top: 20px;
|
@@ -30,6 +30,6 @@ html
|
|
30
30
|
| unsuccessful sign in attempts.
|
31
31
|
p
|
32
32
|
| Click the link below to unlock your account:
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
= link_to 'Unlock my Account',
|
34
|
+
unlock_url(@resource, unlock_token: @token), \
|
35
|
+
class: 'btn waves-effect cyan' \
|
@@ -3,15 +3,15 @@ html
|
|
3
3
|
head
|
4
4
|
meta content=("text/html; charset=utf-8") http-equiv="Content-Type" /
|
5
5
|
link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css" rel="stylesheet" /
|
6
|
-
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
-
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
-
style type="text/scss"
|
6
|
+
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
+
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
+
style type="text/scss"
|
9
9
|
cdata:
|
10
10
|
| \.form {
|
11
11
|
| max-width: 650px;
|
12
12
|
| margin: auto;
|
13
13
|
| }
|
14
|
-
|
14
|
+
|
15
15
|
| \.btn {
|
16
16
|
| margin-top: 20px;
|
17
17
|
| }
|
@@ -25,6 +25,6 @@ html
|
|
25
25
|
.divider
|
26
26
|
.center
|
27
27
|
p You can confirm your account email through the link below:
|
28
|
-
= link_to 'Confirm my Account',
|
29
|
-
confirmation_url(@resource, confirmation_token: @token)
|
30
|
-
|
28
|
+
= link_to 'Confirm my Account', \
|
29
|
+
confirmation_url(@resource, confirmation_token: @token), \
|
30
|
+
class: 'btn waves-effect cyan'
|
@@ -3,15 +3,15 @@ html
|
|
3
3
|
head
|
4
4
|
meta content=("text/html; charset=utf-8") http-equiv="Content-Type" /
|
5
5
|
link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css" rel="stylesheet" /
|
6
|
-
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
-
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
-
style type="text/scss"
|
6
|
+
script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"
|
7
|
+
script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/js/materialize.min.js"
|
8
|
+
style type="text/scss"
|
9
9
|
cdata:
|
10
10
|
| \.form {
|
11
11
|
| max-width: 650px;
|
12
12
|
| margin: auto;
|
13
13
|
| }
|
14
|
-
|
14
|
+
|
15
15
|
| \.btn {
|
16
16
|
| margin-bottom: 20px;
|
17
17
|
| margin-top: 20px;
|
@@ -30,6 +30,6 @@ html
|
|
30
30
|
| unsuccessful sign in attempts.
|
31
31
|
p
|
32
32
|
| Click the link below to unlock your account:
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
= link_to 'Unlock my Account', \
|
34
|
+
unlock_url(@resource, unlock_token: @token), \
|
35
|
+
class: 'btn waves-effect cyan' \
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_materialize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Pezza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -54,10 +54,9 @@ files:
|
|
54
54
|
- CODE_OF_CONDUCT.md
|
55
55
|
- CONTRIBUTING.md
|
56
56
|
- Gemfile
|
57
|
-
- LICENSE
|
57
|
+
- LICENSE
|
58
58
|
- README.md
|
59
59
|
- Rakefile
|
60
|
-
- _config.yml
|
61
60
|
- bin/console
|
62
61
|
- bin/publish
|
63
62
|
- bin/setup
|
@@ -188,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
187
|
- !ruby/object:Gem::Version
|
189
188
|
version: 1.3.1
|
190
189
|
requirements: []
|
191
|
-
rubygems_version: 3.0.
|
190
|
+
rubygems_version: 3.0.4
|
192
191
|
signing_key:
|
193
192
|
specification_version: 4
|
194
193
|
summary: Generator for Materialize styled Devise Views
|
data/_config.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
theme: jekyll-theme-architect
|