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,495 +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
- Class: CoffeescriptGenerator
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 = "CoffeescriptGenerator";
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 (C)</a> &raquo;
40
-
41
-
42
- <span class="title">CoffeescriptGenerator</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>Class: CoffeescriptGenerator
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
- <dl>
70
- <dt>Inherits:</dt>
71
- <dd>
72
- <span class="inheritName">Rails::Generators::NamedBase</span>
73
-
74
- <ul class="fullTree">
75
- <li>Object</li>
76
-
77
- <li class="next">Rails::Generators::NamedBase</li>
78
-
79
- <li class="next">CoffeescriptGenerator</li>
80
-
81
- </ul>
82
- <a href="#" class="inheritanceTree">show all</a>
83
-
84
- </dd>
85
- </dl>
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <dl>
98
- <dt>Defined in:</dt>
99
- <dd>lib/generators/coffeescript/coffeescript_generator.rb</dd>
100
- </dl>
101
-
102
- </div>
103
-
104
-
105
-
106
-
107
-
108
- <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
109
- <ul class="summary">
110
-
111
- <li class="public ">
112
- <span class="summary_signature">
113
-
114
- <a href="#namespace-instance_method" title="#namespace (instance method)">#<strong>namespace</strong> &#x21d2; Object </a>
115
-
116
-
117
-
118
- </span>
119
-
120
-
121
-
122
-
123
- <span class="note title readonly">readonly</span>
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
- <span class="summary_desc"><div class='inline'><p>Returns the value of attribute namespace.</p>
134
- </div></span>
135
-
136
- </li>
137
-
138
-
139
- </ul>
140
-
141
-
142
-
143
-
144
-
145
- <h2>
146
- Instance Method Summary
147
- <small><a href="#" class="summary_toggle">collapse</a></small>
148
- </h2>
149
-
150
- <ul class="summary">
151
-
152
- <li class="public ">
153
- <span class="summary_signature">
154
-
155
- <a href="#copy_template_file-instance_method" title="#copy_template_file (instance method)">#<strong>copy_template_file</strong> &#x21d2; Object </a>
156
-
157
-
158
-
159
- </span>
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
- <span class="summary_desc"><div class='inline'></div></span>
170
-
171
- </li>
172
-
173
-
174
- <li class="private ">
175
- <span class="summary_signature">
176
-
177
- <a href="#file_path-instance_method" title="#file_path (instance method)">#<strong>file_path</strong> &#x21d2; Object </a>
178
-
179
-
180
-
181
- </span>
182
-
183
-
184
-
185
- <span class="note title private">private</span>
186
-
187
-
188
-
189
-
190
-
191
- <span class="summary_desc"><div class='inline'></div></span>
192
-
193
- </li>
194
-
195
-
196
- <li class="private ">
197
- <span class="summary_signature">
198
-
199
- <a href="#function_name-instance_method" title="#function_name (instance method)">#<strong>function_name</strong> &#x21d2; Object </a>
200
-
201
-
202
-
203
- </span>
204
-
205
-
206
-
207
- <span class="note title private">private</span>
208
-
209
-
210
-
211
-
212
-
213
- <span class="summary_desc"><div class='inline'></div></span>
214
-
215
- </li>
216
-
217
-
218
- <li class="private ">
219
- <span class="summary_signature">
220
-
221
- <a href="#namespace_path-instance_method" title="#namespace_path (instance method)">#<strong>namespace_path</strong> &#x21d2; Object </a>
222
-
223
-
224
-
225
- </span>
226
-
227
-
228
-
229
- <span class="note title private">private</span>
230
-
231
-
232
-
233
-
234
-
235
- <span class="summary_desc"><div class='inline'></div></span>
236
-
237
- </li>
238
-
239
-
240
- <li class="private ">
241
- <span class="summary_signature">
242
-
243
- <a href="#singular_name-instance_method" title="#singular_name (instance method)">#<strong>singular_name</strong> &#x21d2; Object </a>
244
-
245
-
246
-
247
- </span>
248
-
249
-
250
-
251
- <span class="note title private">private</span>
252
-
253
-
254
-
255
-
256
-
257
- <span class="summary_desc"><div class='inline'></div></span>
258
-
259
- </li>
260
-
261
-
262
- </ul>
263
-
264
-
265
-
266
-
267
- <div id="instance_attr_details" class="attr_details">
268
- <h2>Instance Attribute Details</h2>
269
-
270
-
271
- <span id=""></span>
272
- <div class="method_details first">
273
- <h3 class="signature first" id="namespace-instance_method">
274
-
275
- #<strong>namespace</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
276
-
277
-
278
-
279
-
280
-
281
- </h3><div class="docstring">
282
- <div class="discussion">
283
- <p>Returns the value of attribute namespace.</p>
284
-
285
-
286
- </div>
287
- </div>
288
- <div class="tags">
289
-
290
-
291
- </div><table class="source_code">
292
- <tr>
293
- <td>
294
- <pre class="lines">
295
-
296
-
297
- 11
298
- 12
299
- 13</pre>
300
- </td>
301
- <td>
302
- <pre class="code"><span class="info file"># File 'lib/generators/coffeescript/coffeescript_generator.rb', line 11</span>
303
-
304
- <span class='kw'>def</span> <span class='id identifier rubyid_namespace'>namespace</span>
305
- <span class='ivar'>@namespace</span>
306
- <span class='kw'>end</span></pre>
307
- </td>
308
- </tr>
309
- </table>
310
- </div>
311
-
312
- </div>
313
-
314
-
315
- <div id="instance_method_details" class="method_details_list">
316
- <h2>Instance Method Details</h2>
317
-
318
-
319
- <div class="method_details first">
320
- <h3 class="signature first" id="copy_template_file-instance_method">
321
-
322
- #<strong>copy_template_file</strong> &#x21d2; <tt>Object</tt>
323
-
324
-
325
-
326
-
327
-
328
- </h3><table class="source_code">
329
- <tr>
330
- <td>
331
- <pre class="lines">
332
-
333
-
334
- 13
335
- 14
336
- 15
337
- 16
338
- 17
339
- 18</pre>
340
- </td>
341
- <td>
342
- <pre class="code"><span class="info file"># File 'lib/generators/coffeescript/coffeescript_generator.rb', line 13</span>
343
-
344
- <span class='kw'>def</span> <span class='id identifier rubyid_copy_template_file'>copy_template_file</span>
345
- <span class='ivar'>@namespace</span> <span class='op'>=</span> <span class='id identifier rubyid_class_name'>class_name</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>::</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
346
- <span class='ivar'>@namespace</span><span class='period'>.</span><span class='id identifier rubyid_pop'>pop</span>
347
- <span class='ivar'>@namespace</span> <span class='op'>=</span> <span class='ivar'>@namespace</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>::</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
348
- <span class='id identifier rubyid_template'>template</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>coffeescript.coffee.erb</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_file_path'>file_path</span>
349
- <span class='kw'>end</span></pre>
350
- </td>
351
- </tr>
352
- </table>
353
- </div>
354
-
355
- <div class="method_details ">
356
- <h3 class="signature " id="file_path-instance_method">
357
-
358
- #<strong>file_path</strong> &#x21d2; <tt>Object</tt> <span class="extras">(private)</span>
359
-
360
-
361
-
362
-
363
-
364
- </h3><table class="source_code">
365
- <tr>
366
- <td>
367
- <pre class="lines">
368
-
369
-
370
- 26
371
- 27
372
- 28</pre>
373
- </td>
374
- <td>
375
- <pre class="code"><span class="info file"># File 'lib/generators/coffeescript/coffeescript_generator.rb', line 26</span>
376
-
377
- <span class='kw'>def</span> <span class='id identifier rubyid_file_path'>file_path</span>
378
- <span class='const'>Rails</span><span class='period'>.</span><span class='id identifier rubyid_root'>root</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>app/javascript/packs</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_namespace_path'>namespace_path</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_file_name'>file_name</span><span class='embexpr_end'>}</span><span class='tstring_content'>.coffee</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
379
- <span class='kw'>end</span></pre>
380
- </td>
381
- </tr>
382
- </table>
383
- </div>
384
-
385
- <div class="method_details ">
386
- <h3 class="signature " id="function_name-instance_method">
387
-
388
- #<strong>function_name</strong> &#x21d2; <tt>Object</tt> <span class="extras">(private)</span>
389
-
390
-
391
-
392
-
393
-
394
- </h3><table class="source_code">
395
- <tr>
396
- <td>
397
- <pre class="lines">
398
-
399
-
400
- 22
401
- 23
402
- 24</pre>
403
- </td>
404
- <td>
405
- <pre class="code"><span class="info file"># File 'lib/generators/coffeescript/coffeescript_generator.rb', line 22</span>
406
-
407
- <span class='kw'>def</span> <span class='id identifier rubyid_function_name'>function_name</span>
408
- <span class='id identifier rubyid_file_name'>file_name</span><span class='period'>.</span><span class='id identifier rubyid_camelize'>camelize</span><span class='lparen'>(</span><span class='symbol'>:lower</span><span class='rparen'>)</span>
409
- <span class='kw'>end</span></pre>
410
- </td>
411
- </tr>
412
- </table>
413
- </div>
414
-
415
- <div class="method_details ">
416
- <h3 class="signature " id="namespace_path-instance_method">
417
-
418
- #<strong>namespace_path</strong> &#x21d2; <tt>Object</tt> <span class="extras">(private)</span>
419
-
420
-
421
-
422
-
423
-
424
- </h3><table class="source_code">
425
- <tr>
426
- <td>
427
- <pre class="lines">
428
-
429
-
430
- 30
431
- 31
432
- 32
433
- 33
434
- 34
435
- 35
436
- 36</pre>
437
- </td>
438
- <td>
439
- <pre class="code"><span class="info file"># File 'lib/generators/coffeescript/coffeescript_generator.rb', line 30</span>
440
-
441
- <span class='kw'>def</span> <span class='id identifier rubyid_namespace_path'>namespace_path</span>
442
- <span class='kw'>if</span> <span class='id identifier rubyid_namespace'>namespace</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
443
- <span class='kw'>return</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span>
444
- <span class='kw'>else</span>
445
- <span class='id identifier rubyid_namespace'>namespace</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>::</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='symbol'>:underscore</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/</span><span class='tstring_end'>&quot;</span></span>
446
- <span class='kw'>end</span>
447
- <span class='kw'>end</span></pre>
448
- </td>
449
- </tr>
450
- </table>
451
- </div>
452
-
453
- <div class="method_details ">
454
- <h3 class="signature " id="singular_name-instance_method">
455
-
456
- #<strong>singular_name</strong> &#x21d2; <tt>Object</tt> <span class="extras">(private)</span>
457
-
458
-
459
-
460
-
461
-
462
- </h3><table class="source_code">
463
- <tr>
464
- <td>
465
- <pre class="lines">
466
-
467
-
468
- 38
469
- 39
470
- 40</pre>
471
- </td>
472
- <td>
473
- <pre class="code"><span class="info file"># File 'lib/generators/coffeescript/coffeescript_generator.rb', line 38</span>
474
-
475
- <span class='kw'>def</span> <span class='id identifier rubyid_singular_name'>singular_name</span>
476
- <span class='kw'>super</span><span class='period'>.</span><span class='id identifier rubyid_singularize'>singularize</span>
477
- <span class='kw'>end</span></pre>
478
- </td>
479
- </tr>
480
- </table>
481
- </div>
482
-
483
- </div>
484
-
485
- </div>
486
-
487
- <div id="footer">
488
- Generated on Thu Aug 13 16:36:42 2020 by
489
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
490
- 0.9.24 (ruby-2.6.6).
491
- </div>
492
-
493
- </div>
494
- </body>
495
- </html>