devise_challenge_questionable 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c66218a2dcc77bf6f08cc0163089edcb973cabb
|
4
|
+
data.tar.gz: a72c15d642a96944fdf3399b71b2846157c8833e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d5c83dcf8e6dfabbef74cb93cd6528b0b52e7b16eb862e1ec8ec0003db7699126738d8b425f68ddf43b4610befd56dadb5607f4fb30f05dc6e89d5abfee3dc4
|
7
|
+
data.tar.gz: d6572b42b3facf20020fb980ad3a8845bae1b03f00883c1b873707ab1b88eeb4109c897cd52cce406eafb1f8cc39f8734ea9a5dd6937fb6c70f52372ac01d602
|
@@ -6,7 +6,7 @@ class Devise::ChallengeQuestionsController < DeviseController
|
|
6
6
|
|
7
7
|
# GET /resource/challenge_question/new
|
8
8
|
def new
|
9
|
-
|
9
|
+
self.resource = resource_class.new
|
10
10
|
render :new
|
11
11
|
end
|
12
12
|
|
@@ -68,12 +68,12 @@ class Devise::ChallengeQuestionsController < DeviseController
|
|
68
68
|
def manage
|
69
69
|
resource.set_reset_challenge_questions_token
|
70
70
|
sign_out(resource)
|
71
|
-
redirect_to
|
71
|
+
redirect_to edit_user_challenge_question_path(resource, :reset_challenge_questions_token => resource.reset_challenge_questions_token)
|
72
72
|
end
|
73
73
|
|
74
74
|
def forgot
|
75
75
|
sign_out(resource)
|
76
|
-
redirect_to
|
76
|
+
redirect_to new_user_challenge_question_path(resource_name)
|
77
77
|
end
|
78
78
|
|
79
79
|
def max_challenge_question_attempts_reached
|
@@ -2,7 +2,7 @@ module DeviseChallengeQuestionable
|
|
2
2
|
module Mailer
|
3
3
|
# Deliver reset challenge question instructions when is requested
|
4
4
|
def reset_challenge_questions_instructions(record)
|
5
|
-
|
5
|
+
devise_mail(record, :reset_challenge_questions_instructions)
|
6
6
|
end
|
7
7
|
end
|
8
|
-
end
|
8
|
+
end
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_challenge_questionable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kennedy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: devise
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 4.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 4.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: |2
|
@@ -62,7 +62,7 @@ executables: []
|
|
62
62
|
extensions: []
|
63
63
|
extra_rdoc_files: []
|
64
64
|
files:
|
65
|
-
-
|
65
|
+
- .gitignore
|
66
66
|
- Gemfile
|
67
67
|
- README.md
|
68
68
|
- Rakefile
|
@@ -99,17 +99,17 @@ require_paths:
|
|
99
99
|
- lib
|
100
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- -
|
102
|
+
- - '>='
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project: devise_challenge_questionable
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.0.14.1
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Challenge question plugin for devise
|