authentication-zero 0.0.2 → 0.0.3

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: 26fe7423bf85a359fb127c86bd15edbc28e764e8e909c22dfb38e592f6c6b76d
4
- data.tar.gz: f008ffe4350af35e63ba90d300ac58e2f9e7a0d7589703f0c433509fbe747cc1
3
+ metadata.gz: 5ce5e21bc2cc3d6c6918ccbad332d242cca9cfcb39118627249175e7ebb5aa87
4
+ data.tar.gz: 35e17b1191f02d6cb5a56d3225e800399ee2cff532762b9e69e407f008b07008
5
5
  SHA512:
6
- metadata.gz: 15f85ad77fa48009b89d73ad826fc38594d47475c14b131af01b0ecc31f33e41549496515709b4b9236cd9d94dd7412b836fac7dd6977a3780b1a82081c13327
7
- data.tar.gz: 68d79e565a3fad1335b4de13b5352853ba5609b854617bc893f495e19207ec5aae15a8bdffbac8bb6af40d2a64c0054f59b654d8b8975f66653fe3b80eb549c6
6
+ metadata.gz: 60910c9bd432c8b8cbfc1db6f80ac6b0f95fd8533b2662cd7972f953ef7bbba18cbc01597a301ffc1cc94a19928e092f99fd329a0007c07ff948ada0eddc6e1a
7
+ data.tar.gz: a894976b67986f247d3913da3007693ee4d0470c9916a0615d793f21b17cab8c5ef0e70c6a929bd8a35c154302ae6eba15b311d1f89b0bdc83abec4cec6c3fdb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- authentication-zero (0.0.2)
4
+ authentication-zero (0.0.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module AuthenticationZero
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -10,7 +10,7 @@ class PasswordResetsController < ApplicationController
10
10
 
11
11
  def create
12
12
  if @<%= singular_table_name %> = <%= class_name %>.find_by_email(params[:email])
13
- PasswordMailer.with(to: @<%= singular_table_name %>).reset.deliver_later
13
+ PasswordMailer.with(<%= singular_table_name %>: @<%= singular_table_name %>).reset.deliver_later
14
14
  redirect_to sign_in_path, notice: "You will receive an email with instructions on how to reset your password in a few minutes"
15
15
  else
16
16
  redirect_to password_reset_new_path, alert: "The email address doesn't exist in our database"
@@ -2,7 +2,7 @@
2
2
 
3
3
  <p>Your account will be immediately closed. You won’t be able to sign in anymore.</p>
4
4
  <p>Your data will be permanently deleted from our servers.</p>
5
- <p><%%= link_to "Back", :back %></p>
5
+ <p><%%= link_to "Back", root_path %></p>
6
6
 
7
7
  <br>
8
8
 
@@ -38,5 +38,5 @@
38
38
  <br>
39
39
 
40
40
  <div>
41
- <%%= link_to "Back", :back %>
41
+ <%%= link_to "Back", root_path %>
42
42
  </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authentication-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nixon