orthodox 0.3.4 → 0.3.5
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 +4 -4
- data/.gitignore +0 -1
- data/.yardopts +7 -0
- data/README.md +4 -0
- data/docs/Authenticateable/ClassMethods.html +105 -0
- data/docs/Authenticateable.html +246 -0
- data/docs/AuthenticationGenerator.html +1335 -0
- data/docs/AuthenticationHelpers.html +194 -0
- data/docs/BaseControllerGenerator.html +247 -0
- data/docs/CoffeescriptGenerator.html +495 -0
- data/docs/ControllerGenerator.html +855 -0
- data/docs/LayoutHelperGenerator.html +397 -0
- data/docs/Orthodox/Railtie.html +124 -0
- data/docs/Orthodox.html +133 -0
- data/docs/OtpCredentialsHelper.html +298 -0
- data/docs/Otpable.html +267 -0
- data/docs/PasswordResetToken.html +324 -0
- data/docs/PasswordResetable.html +193 -0
- data/docs/SassGenerator.html +549 -0
- data/docs/TfaSession.html +476 -0
- data/docs/TwoFactorAuthentication/ClassMethods.html +222 -0
- data/docs/TwoFactorAuthentication.html +121 -0
- data/docs/_config.yml +1 -0
- data/docs/_index.html +265 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +496 -0
- data/docs/file.README.html +311 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +311 -0
- data/docs/js/app.js +314 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +555 -0
- data/docs/top-level-namespace.html +112 -0
- data/lib/orthodox/version.rb +1 -1
- data/orthodox.gemspec +4 -5
- metadata +44 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe5d6b652865c0ce356009dce110a0d6d1a498c36ae37d1529c43e1996d0b82b
|
4
|
+
data.tar.gz: 4fa83a68ad5fedb9dc243027544fc0a6aae750dc1433195e0b917a1047d772a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87e84b30edc1069883d320019e4198c295fce2894c1f616bb80f0cf216df712f3b7d2aaad6ed02a3e5bc2f91d3558974d24891e9e48abedae0836237a113b2f8
|
7
|
+
data.tar.gz: 3f2d68fd9c50d5694387d734bbd6752168b339f21bae749e5382b3f52656e8eeff15c4901de96e7a04f6cb952d4ede2cb6284e17e866ea15635b2806532b7816
|
data/.gitignore
CHANGED
data/.yardopts
ADDED
data/README.md
CHANGED
@@ -219,3 +219,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/Katana
|
|
219
219
|
## License
|
220
220
|
|
221
221
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
222
|
+
|
223
|
+
## About Katana
|
224
|
+
|
225
|
+
Katana are [web and mobile app developers in Edinburgh, Scotland](http://katanacode.com/ "Katana Code").
|
@@ -0,0 +1,105 @@
|
|
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::ClassMethods
|
8
|
+
|
9
|
+
— 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::ClassMethods";
|
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> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../Authenticateable.html" title="Authenticateable (module)">Authenticateable</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">ClassMethods</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::ClassMethods
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/generators/authentication/templates/models/concerns/authenticateable.rb</dd>
|
82
|
+
</dl>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
</div>
|
96
|
+
|
97
|
+
<div id="footer">
|
98
|
+
Generated on Thu Aug 13 16:36:42 2020 by
|
99
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
100
|
+
0.9.24 (ruby-2.6.6).
|
101
|
+
</div>
|
102
|
+
|
103
|
+
</div>
|
104
|
+
</body>
|
105
|
+
</html>
|
@@ -0,0 +1,246 @@
|
|
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
|
+
— 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> »
|
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> ⇒ 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> ⇒ <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'>"</span><span class='tstring_content'>password</span><span class='tstring_end'>"</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>
|