orthodox 0.3.5 → 0.3.6

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.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -0
  3. data/README.md +3 -7
  4. data/dummy/.ruby-version +1 -1
  5. data/dummy/Gemfile +2 -2
  6. data/dummy/Gemfile.lock +111 -113
  7. data/lib/generators/authentication/templates/controllers/concerns/authentication.rb.erb +24 -24
  8. data/lib/generators/authentication/templates/controllers/sessions_controller.rb.erb +4 -4
  9. data/lib/generators/authentication/templates/controllers/tfa_sessions_controller.rb.erb +2 -2
  10. data/lib/generators/authentication/templates/controllers/tfas_controller.rb.erb +2 -2
  11. data/lib/generators/authentication/templates/helpers/otp_credentials_helper.rb +2 -2
  12. data/lib/generators/authentication/templates/javascript/tfa_forms.js +3 -5
  13. data/lib/generators/authentication/templates/models/concerns/authenticateable.rb +2 -2
  14. data/lib/generators/authentication/templates/models/concerns/otpable.rb +2 -2
  15. data/lib/generators/authentication/templates/models/concerns/password_resetable.rb +2 -2
  16. data/lib/generators/authentication/templates/models/otp_credential.rb.erb +2 -2
  17. data/lib/generators/authentication/templates/models/password_reset_token.rb +2 -2
  18. data/lib/generators/authentication/templates/models/session.rb.erb +2 -2
  19. data/lib/generators/authentication/templates/models/tfa_session.rb +2 -2
  20. data/lib/generators/authentication/templates/spec/models/otp_credential_spec.rb +2 -2
  21. data/lib/generators/authentication/templates/spec/models/password_reset_token_spec.rb +2 -2
  22. data/lib/generators/authentication/templates/spec/models/session_spec.rb.erb +10 -11
  23. data/lib/generators/authentication/templates/spec/models/tfa_session_spec.rb.erb +35 -36
  24. data/lib/generators/authentication/templates/spec/support/authentication_helpers.rb +2 -2
  25. data/lib/generators/authentication/templates/spec/system/authentication_spec.rb.erb +2 -2
  26. data/lib/generators/authentication/templates/spec/system/password_resets_spec.rb.erb +2 -2
  27. data/lib/generators/authentication/templates/spec/system/tfa_authentication_spec.rb.erb +2 -2
  28. data/lib/orthodox/version.rb +1 -1
  29. data/orthodox.gemspec +1 -2
  30. metadata +6 -52
  31. data/docs/Authenticateable/ClassMethods.html +0 -105
  32. data/docs/Authenticateable.html +0 -246
  33. data/docs/AuthenticationGenerator.html +0 -1335
  34. data/docs/AuthenticationHelpers.html +0 -194
  35. data/docs/BaseControllerGenerator.html +0 -247
  36. data/docs/CoffeescriptGenerator.html +0 -495
  37. data/docs/ControllerGenerator.html +0 -855
  38. data/docs/LayoutHelperGenerator.html +0 -397
  39. data/docs/Orthodox/Railtie.html +0 -124
  40. data/docs/Orthodox.html +0 -133
  41. data/docs/OtpCredentialsHelper.html +0 -298
  42. data/docs/Otpable.html +0 -267
  43. data/docs/PasswordResetToken.html +0 -324
  44. data/docs/PasswordResetable.html +0 -193
  45. data/docs/SassGenerator.html +0 -549
  46. data/docs/TfaSession.html +0 -476
  47. data/docs/TwoFactorAuthentication/ClassMethods.html +0 -222
  48. data/docs/TwoFactorAuthentication.html +0 -121
  49. data/docs/_config.yml +0 -1
  50. data/docs/_index.html +0 -265
  51. data/docs/class_list.html +0 -51
  52. data/docs/css/common.css +0 -1
  53. data/docs/css/full_list.css +0 -58
  54. data/docs/css/style.css +0 -496
  55. data/docs/file.README.html +0 -311
  56. data/docs/file_list.html +0 -56
  57. data/docs/frames.html +0 -17
  58. data/docs/index.html +0 -311
  59. data/docs/js/app.js +0 -314
  60. data/docs/js/full_list.js +0 -216
  61. data/docs/js/jquery.js +0 -4
  62. data/docs/method_list.html +0 -555
  63. data/docs/top-level-namespace.html +0 -112
@@ -1,246 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>
7
- Module: Authenticateable
8
-
9
- &mdash; Orthodox
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" />
16
-
17
- <script type="text/javascript">
18
- pathId = "Authenticateable";
19
- relpath = '';
20
- </script>
21
-
22
-
23
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
24
-
25
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
26
-
27
-
28
- </head>
29
- <body>
30
- <div class="nav_wrap">
31
- <iframe id="nav" src="class_list.html?1"></iframe>
32
- <div id="resizer"></div>
33
- </div>
34
-
35
- <div id="main" tabindex="-1">
36
- <div id="header">
37
- <div id="menu">
38
-
39
- <a href="_index.html">Index (A)</a> &raquo;
40
-
41
-
42
- <span class="title">Authenticateable</span>
43
-
44
- </div>
45
-
46
- <div id="search">
47
-
48
- <a class="full_list_link" id="class_list_link"
49
- href="class_list.html">
50
-
51
- <svg width="24" height="24">
52
- <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
- <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
- <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
- </svg>
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <div id="content"><h1>Module: Authenticateable
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
-
70
-
71
-
72
- <dl>
73
- <dt>Extended by:</dt>
74
- <dd>ActiveSupport::Concern</dd>
75
- </dl>
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
- <dl>
85
- <dt>Defined in:</dt>
86
- <dd>lib/generators/authentication/templates/models/concerns/authenticateable.rb</dd>
87
- </dl>
88
-
89
- </div>
90
-
91
- <h2>Overview</h2><div class="docstring">
92
- <div class="discussion">
93
- <p>Model concern to provide shared behaviour for authenticating records.</p>
94
-
95
- <p>Automatically generated by the orthodox gem (<a href="https://github.com/katanacode/orthodox">https://github.com/katanacode/orthodox</a>)
96
- (c) Copyright 2019 Katana Code Ltd. All Rights Reserved.</p>
97
-
98
-
99
- </div>
100
- </div>
101
- <div class="tags">
102
-
103
-
104
- </div><h2>Defined Under Namespace</h2>
105
- <p class="children">
106
-
107
-
108
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Authenticateable/ClassMethods.html" title="Authenticateable::ClassMethods (module)">ClassMethods</a></span>
109
-
110
-
111
-
112
-
113
- </p>
114
-
115
-
116
- <h2>
117
- Constant Summary
118
- <small><a href="#" class="constants_summary_toggle">collapse</a></small>
119
- </h2>
120
-
121
- <dl class="constants">
122
-
123
- <dt id="MINIMUM_PASSWORD_LENGTH-constant" class="">MINIMUM_PASSWORD_LENGTH =
124
-
125
- </dt>
126
- <dd><pre class="code"><span class='int'>6</span></pre></dd>
127
-
128
- <dt id="MAXIMUM_PASSWORD_LENGTH-constant" class="">MAXIMUM_PASSWORD_LENGTH =
129
-
130
- </dt>
131
- <dd><pre class="code"><span class='int'>128</span></pre></dd>
132
-
133
- </dl>
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
- <h2>
144
- Instance Method Summary
145
- <small><a href="#" class="summary_toggle">collapse</a></small>
146
- </h2>
147
-
148
- <ul class="summary">
149
-
150
- <li class="private ">
151
- <span class="summary_signature">
152
-
153
- <a href="#validate_presence_of_password%3F-instance_method" title="#validate_presence_of_password? (instance method)">#<strong>validate_presence_of_password?</strong> &#x21d2; Boolean </a>
154
-
155
-
156
-
157
- </span>
158
-
159
-
160
-
161
- <span class="note title private">private</span>
162
-
163
-
164
-
165
-
166
-
167
- <span class="summary_desc"><div class='inline'></div></span>
168
-
169
- </li>
170
-
171
-
172
- </ul>
173
-
174
-
175
-
176
-
177
-
178
- <div id="instance_method_details" class="method_details_list">
179
- <h2>Instance Method Details</h2>
180
-
181
-
182
- <div class="method_details first">
183
- <h3 class="signature first" id="validate_presence_of_password?-instance_method">
184
-
185
- #<strong>validate_presence_of_password?</strong> &#x21d2; <tt>Boolean</tt> <span class="extras">(private)</span>
186
-
187
-
188
-
189
-
190
-
191
- </h3><div class="docstring">
192
- <div class="discussion">
193
-
194
-
195
- </div>
196
- </div>
197
- <div class="tags">
198
-
199
- <p class="tag_title">Returns:</p>
200
- <ul class="return">
201
-
202
- <li>
203
-
204
-
205
- <span class='type'>(<tt>Boolean</tt>)</span>
206
-
207
-
208
-
209
- </li>
210
-
211
- </ul>
212
-
213
- </div><table class="source_code">
214
- <tr>
215
- <td>
216
- <pre class="lines">
217
-
218
-
219
- 30
220
- 31
221
- 32</pre>
222
- </td>
223
- <td>
224
- <pre class="code"><span class="info file"># File 'lib/generators/authentication/templates/models/concerns/authenticateable.rb', line 30</span>
225
-
226
- <span class='kw'>def</span> <span class='id identifier rubyid_validate_presence_of_password?'>validate_presence_of_password?</span>
227
- <span class='id identifier rubyid_new_record?'>new_record?</span> <span class='op'>||</span> <span class='id identifier rubyid_changes'>changes</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>password</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
228
- <span class='kw'>end</span></pre>
229
- </td>
230
- </tr>
231
- </table>
232
- </div>
233
-
234
- </div>
235
-
236
- </div>
237
-
238
- <div id="footer">
239
- Generated on Thu Aug 13 16:36:42 2020 by
240
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
241
- 0.9.24 (ruby-2.6.6).
242
- </div>
243
-
244
- </div>
245
- </body>
246
- </html>