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: acd5b7ad0c084ac1b32b14e5b1a99304331bcf69
4
- data.tar.gz: 0b5a8e1beda7d9fa6122cf82c1cc8d84d8f60888
3
+ metadata.gz: 9c66218a2dcc77bf6f08cc0163089edcb973cabb
4
+ data.tar.gz: a72c15d642a96944fdf3399b71b2846157c8833e
5
5
  SHA512:
6
- metadata.gz: 51f20aadea678518607ad1218657ac8f94090b02bc37a6a55a8229c3d5c36c0966997979774727f79ec6d3894eeb158ad2195503cd7298a4984854cd66095717
7
- data.tar.gz: bb3661027fe1009ee2f309931a0857ec9004671c10915c8a473daaf206d2dd1e3a7f916f719368bb9ad372e573f7b858095f91dd9e9aba86e21a627e780397b3
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
- build_resource
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 edit_challenge_question_path(resource, :reset_challenge_questions_token => resource.reset_challenge_questions_token)
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 new_challenge_question_path(resource_name)
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
- setup_mail(record, :reset_challenge_questions_instructions)
5
+ devise_mail(record, :reset_challenge_questions_instructions)
6
6
  end
7
7
  end
8
- end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module DeviseChallengeQuestionable
2
- VERSION = "3.0.0"
2
+ VERSION = "3.1.0"
3
3
  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.0.0
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-01-26 00:00:00.000000000 Z
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
- - ".gitignore"
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.6.6
112
+ rubygems_version: 2.0.14.1
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Challenge question plugin for devise