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.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -1
  3. data/{LICENSE.txt → LICENSE} +6 -6
  4. data/README.md +5 -4
  5. data/lib/devise_materialize/version.rb +1 -1
  6. data/lib/generators/templates/erb/default/mailer/confirmation_instructions.html.erb +3 -2
  7. data/lib/generators/templates/erb/default/mailer/password_change.html.erb +1 -1
  8. data/lib/generators/templates/erb/default/mailer/reset_password_instructions.html.erb +1 -2
  9. data/lib/generators/templates/erb/default/mailer/unlock_instructions.html.erb +4 -3
  10. data/lib/generators/templates/erb/simple_form/mailer/confirmation_instructions.html.erb +3 -2
  11. data/lib/generators/templates/erb/simple_form/mailer/password_change.html.erb +1 -1
  12. data/lib/generators/templates/erb/simple_form/mailer/reset_password_instructions.html.erb +1 -1
  13. data/lib/generators/templates/erb/simple_form/mailer/unlock_instructions.html.erb +4 -3
  14. data/lib/generators/templates/haml/default/mailer/confirmation_instructions.html.haml +3 -2
  15. data/lib/generators/templates/haml/default/mailer/unlock_instructions.html.haml +3 -2
  16. data/lib/generators/templates/haml/simple_form/mailer/confirmation_instructions.html.haml +3 -2
  17. data/lib/generators/templates/haml/simple_form/mailer/unlock_instructions.html.haml +3 -2
  18. data/lib/generators/templates/slim/default/mailer/confirmation_instructions.html.slim +7 -7
  19. data/lib/generators/templates/slim/default/mailer/unlock_instructions.html.slim +7 -7
  20. data/lib/generators/templates/slim/simple_form/mailer/confirmation_instructions.html.slim +7 -7
  21. data/lib/generators/templates/slim/simple_form/mailer/unlock_instructions.html.slim +7 -7
  22. metadata +4 -5
  23. data/_config.yml +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 670dd47831326fb7a5c16aca280f8bed055dc2befeab6242d5122d5b0db94a63
4
- data.tar.gz: 3982e0d90cf0a266d0f398ca95894d09ccb433406b7e4dabacb2f3d43a275d61
3
+ metadata.gz: 8af1a37efcff4080866643abe965443c5b109be38bff8c21e1bb00a49f59bf0f
4
+ data.tar.gz: 81fbd50e37c09604d1121c6afc4c1ba34a5e6c68ccffff646995c99bf5e29f48
5
5
  SHA512:
6
- metadata.gz: bf3d14fa932d261c45b9dcf70acfd40d67a98051b8061c37166d7f072c87b642d9b97db2d26c5edb67c1423f209fb56cd7be827014985209bfe37d00ae69d5ee
7
- data.tar.gz: 68c3ea81cf24ba5e2f65c0d00751c0501bbb070aef84eac77062fafcc2b97cafb9817082931513c489cdf65818105f210a9513290b66d93a2cb5a267b1c0a954
6
+ metadata.gz: b26d089a7a70f83613827a8741e332c13aacb78bf45e1fbda27c52b0b0d948dd8c8fee472e6489f0176a3bdb5569c318407111e03c1b107fa30961d311dd1727
7
+ data.tar.gz: ffc886753c0d4c5375c4d79e6e46a00125eab0b17c18ab0dd1114cf0e3bc6a6780e196f7ea2c0b285c81b4a2dc5ff4bca089513fd729f66fc594390a80d7bce4
@@ -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.2-2.6 Ruby versions
13
+ - Update CI testing from 2.3-2.6 Ruby versions
14
+ - Update repo items
8
15
 
9
16
  ### Bugs
10
17
 
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2017 Christopher Pezza
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
- all copies or substantial portions of the Software.
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
- THE SOFTWARE.
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
- [![CircleCI](https://circleci.com/gh/chiefpansancolt/devise_materialize.svg?style=svg)](https://circleci.com/gh/chiefpansancolt/devise_materialize)
4
- [![Maintainability](https://api.codeclimate.com/v1/badges/f1974d8e4f575d82d523/maintainability)](https://codeclimate.com/github/chiefpansancolt/devise_materialize/maintainability)
5
- [![Test Coverage](https://api.codeclimate.com/v1/badges/f1974d8e4f575d82d523/test_coverage)](https://codeclimate.com/github/chiefpansancolt/devise_materialize/test_coverage)
6
- [![Gem Version](https://badge.fury.io/rb/devise_materialize.svg)](https://badge.fury.io/rb/devise_materialize)
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DeviseMaterialize
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
5
5
  end
@@ -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', class: 'btn waves-effect cyan',
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' %>
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
  We're contacting you to notify you that your password has
@@ -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', class: 'btn waves-effect cyan',
35
- unlock_url(@resource, unlock_token: @token) %>
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', class: 'btn waves-effect cyan',
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' %>
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
  We're contacting you to notify you that your password has
@@ -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
@@ -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', class: 'btn waves-effect cyan',
35
- unlock_url(@resource, unlock_token: @token) %>
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', class: 'btn waves-effect cyan',
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', class: 'btn waves-effect cyan',
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', class: 'btn waves-effect cyan',
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', class: 'btn waves-effect cyan',
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', class: 'btn waves-effect cyan', \
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
- | \#{link_to 'Unlock my Account', class: 'btn waves-effect cyan',
34
- unlock_url(@resource, unlock_token: @token)}
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', class: 'btn waves-effect cyan', \
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
- | \#{link_to 'Unlock my Account', class: 'btn waves-effect cyan',
34
- unlock_url(@resource, unlock_token: @token)}
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.0
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-20 00:00:00.000000000 Z
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.txt
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.1
190
+ rubygems_version: 3.0.4
192
191
  signing_key:
193
192
  specification_version: 4
194
193
  summary: Generator for Materialize styled Devise Views
@@ -1 +0,0 @@
1
- theme: jekyll-theme-architect