rotp 6.2.0 → 6.2.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rotp might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.devcontainer/Dockerfile +19 -0
- data/.devcontainer/devcontainer.json +37 -0
- data/.github/workflows/test.yaml +27 -0
- data/CHANGELOG.md +15 -0
- data/README.md +17 -4
- data/lib/rotp/otp.rb +2 -2
- data/lib/rotp/version.rb +1 -1
- metadata +6 -24
- data/.travis.yml +0 -9
- data/Dockerfile-2.5 +0 -10
- data/Dockerfile-2.6 +0 -11
- data/doc/ROTP/HOTP.html +0 -308
- data/doc/ROTP/OTP.html +0 -593
- data/doc/ROTP/TOTP.html +0 -493
- data/doc/Rotp.html +0 -179
- data/doc/_index.html +0 -144
- data/doc/class_list.html +0 -36
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -53
- data/doc/css/style.css +0 -310
- data/doc/file.README.html +0 -89
- data/doc/file_list.html +0 -38
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -89
- data/doc/js/app.js +0 -203
- data/doc/js/full_list.js +0 -149
- data/doc/js/jquery.js +0 -154
- data/doc/method_list.html +0 -155
- data/doc/top-level-namespace.html +0 -88
data/doc/_index.html
DELETED
@@ -1,144 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Documentation by YARD 0.6.4</title>
|
7
|
-
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
|
27
|
-
<span class="title"></span>
|
28
|
-
|
29
|
-
|
30
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
<div id="search">
|
34
|
-
<a id="class_list_link" href="#">Class List</a>
|
35
|
-
<a id="method_list_link" href="#">Method List</a>
|
36
|
-
<a id ="file_list_link" href="#">File List</a>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div class="clear"></div>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<iframe id="search_frame"></iframe>
|
43
|
-
|
44
|
-
<div id="content"><div id="listing">
|
45
|
-
<h1 class="noborder title">Documentation by YARD 0.6.4</h1>
|
46
|
-
<h1 class="alphaindex">Alphabetic Index</h1>
|
47
|
-
|
48
|
-
|
49
|
-
<h2>File Listing</h2>
|
50
|
-
<ul id="files">
|
51
|
-
|
52
|
-
|
53
|
-
<li class="r1"><a href="index.html" title="README">README</a></li>
|
54
|
-
|
55
|
-
|
56
|
-
</ul>
|
57
|
-
|
58
|
-
<div class="clear"></div>
|
59
|
-
|
60
|
-
<h2>Namespace Listing A-Z</h2>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
<table>
|
66
|
-
<tr>
|
67
|
-
<td valign='top' width="33%">
|
68
|
-
|
69
|
-
|
70
|
-
<ul id="alpha_H" class="alpha">
|
71
|
-
<li class="letter">H</li>
|
72
|
-
<ul>
|
73
|
-
|
74
|
-
<li>
|
75
|
-
<span class='object_link'><a href="ROTP/HOTP.html" title="ROTP::HOTP (class)">HOTP</a></span>
|
76
|
-
|
77
|
-
<small>(ROTP)</small>
|
78
|
-
|
79
|
-
</li>
|
80
|
-
|
81
|
-
</ul>
|
82
|
-
</ul>
|
83
|
-
|
84
|
-
|
85
|
-
<ul id="alpha_O" class="alpha">
|
86
|
-
<li class="letter">O</li>
|
87
|
-
<ul>
|
88
|
-
|
89
|
-
<li>
|
90
|
-
<span class='object_link'><a href="ROTP/OTP.html" title="ROTP::OTP (class)">OTP</a></span>
|
91
|
-
|
92
|
-
<small>(ROTP)</small>
|
93
|
-
|
94
|
-
</li>
|
95
|
-
|
96
|
-
</ul>
|
97
|
-
</ul>
|
98
|
-
|
99
|
-
|
100
|
-
<ul id="alpha_R" class="alpha">
|
101
|
-
<li class="letter">R</li>
|
102
|
-
<ul>
|
103
|
-
|
104
|
-
<li>
|
105
|
-
<span class='object_link'><a href="ROTP.html" title="ROTP (module)">ROTP</a></span>
|
106
|
-
|
107
|
-
</li>
|
108
|
-
|
109
|
-
<li>
|
110
|
-
<span class='object_link'><a href="Rotp.html" title="Rotp (module)">Rotp</a></span>
|
111
|
-
|
112
|
-
</li>
|
113
|
-
|
114
|
-
</ul>
|
115
|
-
</ul>
|
116
|
-
|
117
|
-
|
118
|
-
<ul id="alpha_T" class="alpha">
|
119
|
-
<li class="letter">T</li>
|
120
|
-
<ul>
|
121
|
-
|
122
|
-
<li>
|
123
|
-
<span class='object_link'><a href="ROTP/TOTP.html" title="ROTP::TOTP (class)">TOTP</a></span>
|
124
|
-
|
125
|
-
<small>(ROTP)</small>
|
126
|
-
|
127
|
-
</li>
|
128
|
-
|
129
|
-
</ul>
|
130
|
-
</ul>
|
131
|
-
|
132
|
-
</td>
|
133
|
-
</tr>
|
134
|
-
</table>
|
135
|
-
</div></div>
|
136
|
-
|
137
|
-
<div id="footer">
|
138
|
-
Generated on Sun Feb 13 12:31:39 2011 by
|
139
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
140
|
-
0.6.4 (ruby-1.8.7).
|
141
|
-
</div>
|
142
|
-
|
143
|
-
</body>
|
144
|
-
</html>
|
data/doc/class_list.html
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
7
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
9
|
-
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
10
|
-
<base id="base_target" target="_parent" />
|
11
|
-
</head>
|
12
|
-
<body>
|
13
|
-
<script type="text/javascript" charset="utf-8">
|
14
|
-
if (window.top.frames.main) {
|
15
|
-
document.getElementById('base_target').target = 'main';
|
16
|
-
document.body.className = 'frames';
|
17
|
-
}
|
18
|
-
</script>
|
19
|
-
<div id="content">
|
20
|
-
<h1 id="full_list_header">Class List</h1>
|
21
|
-
<div id="nav">
|
22
|
-
<a target="_self" href="class_list.html">Classes</a> |
|
23
|
-
<a target="_self" href="method_list.html">Methods</a> |
|
24
|
-
<a target="_self" href="file_list.html">Files</a>
|
25
|
-
</div>
|
26
|
-
<div id="search">Search: <input type="text" /></div>
|
27
|
-
|
28
|
-
<ul id="full_list" class="class">
|
29
|
-
<li><span class='object_link'><a href="top-level-namespace.html" title=" (root)">Top Level Namespace</a></span></li>
|
30
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="ROTP.html" title="ROTP (module)">ROTP</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="ROTP/HOTP.html" title="ROTP::HOTP (class)">HOTP</a></span> < OTP<small class='search_info'>ROTP</small></li><li><span class='object_link'><a href="ROTP/OTP.html" title="ROTP::OTP (class)">OTP</a></span> < Object<small class='search_info'>ROTP</small></li><li><span class='object_link'><a href="ROTP/TOTP.html" title="ROTP::TOTP (class)">TOTP</a></span> < OTP<small class='search_info'>ROTP</small></li></ul><li><span class='object_link'><a href="Rotp.html" title="Rotp (module)">Rotp</a></span><small class='search_info'>Top Level Namespace</small></li>
|
31
|
-
|
32
|
-
</ul>
|
33
|
-
</div>
|
34
|
-
</body>
|
35
|
-
</html>
|
36
|
-
|
data/doc/css/common.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/* Override this file with custom rules */
|
data/doc/css/full_list.css
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
margin: 0;
|
3
|
-
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
|
-
font-size: 13px;
|
5
|
-
height: 101%;
|
6
|
-
overflow-x: hidden;
|
7
|
-
}
|
8
|
-
|
9
|
-
h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
|
10
|
-
.clear { clear: both; }
|
11
|
-
#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
|
12
|
-
#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqat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wsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
|
13
|
-
#full_list { padding: 0; list-style: none; margin-left: 0; }
|
14
|
-
#full_list ul { padding: 0; }
|
15
|
-
#full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
|
16
|
-
#noresults { padding: 7px 12px; }
|
17
|
-
#content.insearch #noresults { margin-left: 7px; }
|
18
|
-
ul.collapsed ul, ul.collapsed li { display: none; }
|
19
|
-
li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
|
20
|
-
li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
|
21
|
-
li { color: #888; cursor: pointer; }
|
22
|
-
li.deprecated { text-decoration: line-through; font-style: italic; }
|
23
|
-
li.r1 { background: #f0f0f0; }
|
24
|
-
li.r2 { background: #fafafa; }
|
25
|
-
li:hover { background: #ddd; }
|
26
|
-
li small:before { content: "("; }
|
27
|
-
li small:after { content: ")"; }
|
28
|
-
li small.search_info { display: none; }
|
29
|
-
a:link, a:visited { text-decoration: none; color: #05a; }
|
30
|
-
li.clicked { background: #05a; color: #ccc; }
|
31
|
-
li.clicked a:link, li.clicked a:visited { color: #eee; }
|
32
|
-
li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
|
33
|
-
li.collapsed.clicked a.toggle { background-position: top right; }
|
34
|
-
#search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
|
35
|
-
#nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
|
36
|
-
#nav a:link, #nav a:visited { color: #358; }
|
37
|
-
#nav a:hover { background: transparent; color: #5af; }
|
38
|
-
|
39
|
-
.frames #content h1 { margin-top: 0; }
|
40
|
-
.frames li { white-space: nowrap; cursor: normal; }
|
41
|
-
.frames li small { display: block; font-size: 0.8em; }
|
42
|
-
.frames li small:before { content: ""; }
|
43
|
-
.frames li small:after { content: ""; }
|
44
|
-
.frames li small.search_info { display: none; }
|
45
|
-
.frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
|
46
|
-
.frames #content.insearch #search { background-position: center right; }
|
47
|
-
.frames #search input { width: 110px; }
|
48
|
-
.frames #nav { display: block; }
|
49
|
-
|
50
|
-
#full_list.insearch li { display: none; }
|
51
|
-
#full_list.insearch li.found { display: list-item; padding-left: 10px; }
|
52
|
-
#full_list.insearch li a.toggle { display: none; }
|
53
|
-
#full_list.insearch li small.search_info { display: block; }
|
data/doc/css/style.css
DELETED
@@ -1,310 +0,0 @@
|
|
1
|
-
body {
|
2
|
-
padding: 0 20px;
|
3
|
-
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
|
-
font-size: 13px;
|
5
|
-
}
|
6
|
-
body.frames { padding: 0 5px; }
|
7
|
-
h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
|
8
|
-
h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
|
9
|
-
h1.title { margin-bottom: 10px; }
|
10
|
-
h1.alphaindex { margin-top: 0; font-size: 22px; }
|
11
|
-
h2 {
|
12
|
-
padding: 0;
|
13
|
-
padding-bottom: 3px;
|
14
|
-
border-bottom: 1px #aaa solid;
|
15
|
-
font-size: 1.4em;
|
16
|
-
margin: 1.8em 0 0.5em;
|
17
|
-
}
|
18
|
-
h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right; }
|
19
|
-
.clear { clear: both; }
|
20
|
-
.inline { display: inline; }
|
21
|
-
.inline p:first-child { display: inline; }
|
22
|
-
.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
|
23
|
-
.docstring h1 { font-size: 1.2em; }
|
24
|
-
.docstring h2 { font-size: 1.1em; }
|
25
|
-
.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
|
26
|
-
.docstring .object_link { font-family: monospace; }
|
27
|
-
|
28
|
-
.note {
|
29
|
-
color: #222;
|
30
|
-
-moz-border-radius: 3px; -webkit-border-radius: 3px;
|
31
|
-
background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
|
32
|
-
display: block;
|
33
|
-
}
|
34
|
-
.note.todo { background: #ffffc5; border-color: #ececaa; }
|
35
|
-
.note.returns_void { background: #efefef; }
|
36
|
-
.note.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
37
|
-
.note.private { background: #ffffc5; border-color: #ececaa; }
|
38
|
-
.note.title { text-transform: lowercase; padding: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
|
39
|
-
.summary_signature + .note.title { margin-left: 7px; }
|
40
|
-
h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
|
41
|
-
.note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
42
|
-
.note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
|
43
|
-
.note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
|
44
|
-
.note.title.private { background: #d5d5d5; border-color: #c5c5c5; }
|
45
|
-
.discussion .note { margin-top: 6px; }
|
46
|
-
.discussion .note:first-child { margin-top: 0; }
|
47
|
-
|
48
|
-
h3.inherited {
|
49
|
-
font-style: italic;
|
50
|
-
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
51
|
-
font-weight: normal;
|
52
|
-
padding: 0;
|
53
|
-
margin: 0;
|
54
|
-
margin-top: 12px;
|
55
|
-
margin-bottom: 3px;
|
56
|
-
font-size: 13px;
|
57
|
-
}
|
58
|
-
p.inherited {
|
59
|
-
padding: 0;
|
60
|
-
margin: 0;
|
61
|
-
margin-left: 25px;
|
62
|
-
}
|
63
|
-
|
64
|
-
dl.box {
|
65
|
-
width: 520px;
|
66
|
-
font-size: 1em;
|
67
|
-
}
|
68
|
-
dl.box dt {
|
69
|
-
float: left;
|
70
|
-
display: block;
|
71
|
-
width: 100px;
|
72
|
-
margin: 0;
|
73
|
-
text-align: right;
|
74
|
-
font-weight: bold;
|
75
|
-
border: 1px solid #aaa;
|
76
|
-
border-width: 1px 0px 0px 1px;
|
77
|
-
padding: 6px 0;
|
78
|
-
padding-right: 10px;
|
79
|
-
}
|
80
|
-
dl.box dd {
|
81
|
-
float: left;
|
82
|
-
display: block;
|
83
|
-
width: 380px;
|
84
|
-
margin: 0;
|
85
|
-
padding: 6px 0;
|
86
|
-
padding-right: 20px;
|
87
|
-
border: 1px solid #aaa;
|
88
|
-
border-width: 1px 1px 0 0;
|
89
|
-
}
|
90
|
-
dl.box .last {
|
91
|
-
border-bottom: 1px solid #aaa;
|
92
|
-
}
|
93
|
-
dl.box .r1 { background: #eee; }
|
94
|
-
|
95
|
-
ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
96
|
-
#files { padding-left: 15px; font-size: 1.1em; }
|
97
|
-
|
98
|
-
#files { padding: 0; }
|
99
|
-
#files li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
|
100
|
-
|
101
|
-
dl.constants { margin-left: 40px; }
|
102
|
-
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
103
|
-
dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
|
104
|
-
|
105
|
-
.summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
|
106
|
-
.summary_desc tt { font-size: 0.9em; }
|
107
|
-
dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
|
108
|
-
dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
|
109
|
-
dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
|
110
|
-
dl.constants .discussion *:first-child { margin-top: 0; }
|
111
|
-
dl.constants .discussion *:last-child { margin-bottom: 0; }
|
112
|
-
|
113
|
-
.method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
|
114
|
-
.method_details.first { border: 0; }
|
115
|
-
p.signature {
|
116
|
-
font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
|
117
|
-
padding: 6px 10px; margin-top: 18px;
|
118
|
-
background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
|
119
|
-
}
|
120
|
-
p.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
|
121
|
-
p.signature .overload { display: block; }
|
122
|
-
p.signature .extras { font-weight: normal; font-family: sans-serif; color: #444; font-size: 1em; }
|
123
|
-
p.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; font-family: sans-serif; margin-top: 0px; color: #555; }
|
124
|
-
p.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
|
125
|
-
|
126
|
-
.tags h3 { font-size: 1em; margin-bottom: 0; }
|
127
|
-
.tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
|
128
|
-
.tags ul li { margin-bottom: 3px; }
|
129
|
-
.tags ul .name { font-family: monospace; font-weight: bold; }
|
130
|
-
.tags ul .note { padding: 3px 6px; }
|
131
|
-
.tags { margin-bottom: 12px; }
|
132
|
-
|
133
|
-
.tags .examples h3 { margin-bottom: 10px; }
|
134
|
-
.tags .examples h4 { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
|
135
|
-
|
136
|
-
.tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
|
137
|
-
.tags .overload .overload_item .signature {
|
138
|
-
padding: 2px 8px;
|
139
|
-
background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
|
140
|
-
}
|
141
|
-
.tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
|
142
|
-
.tags .overload .docstring { margin-top: 15px; }
|
143
|
-
|
144
|
-
.defines { display: none; }
|
145
|
-
|
146
|
-
#method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
|
147
|
-
|
148
|
-
.showSource { font-size: 0.9em; }
|
149
|
-
.showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
|
150
|
-
|
151
|
-
#content a:link, #content a:visited { text-decoration: none; color: #05a; }
|
152
|
-
#content a:hover { background: #ffffa5; }
|
153
|
-
.docstring { margin-right: 6em; }
|
154
|
-
|
155
|
-
ul.summary {
|
156
|
-
list-style: none;
|
157
|
-
font-family: monospace;
|
158
|
-
font-size: 1em;
|
159
|
-
line-height: 1.5em;
|
160
|
-
}
|
161
|
-
ul.summary a:link, ul.summary a:visited {
|
162
|
-
text-decoration: none; font-size: 1.1em;
|
163
|
-
}
|
164
|
-
ul.summary li { margin-bottom: 5px; }
|
165
|
-
.summary .summary_signature {
|
166
|
-
padding: 1px 10px;
|
167
|
-
background: #eaeaff; border: 1px solid #dfdfe5;
|
168
|
-
-moz-border-radius: 3px; -webkit-border-radius: 3px;
|
169
|
-
}
|
170
|
-
.summary_signature:hover { background: #eeeeff; cursor: pointer; }
|
171
|
-
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
172
|
-
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
173
|
-
#content .summary_signature:hover a:link,
|
174
|
-
#content .summary_signature:hover a:visited {
|
175
|
-
background: transparent;
|
176
|
-
color: #48f;
|
177
|
-
}
|
178
|
-
|
179
|
-
p.inherited a { font-family: monospace; font-size: 0.9em; }
|
180
|
-
p.inherited { word-spacing: 5px; font-size: 1.2em; }
|
181
|
-
|
182
|
-
p.children { font-size: 1.2em; }
|
183
|
-
p.children a { font-size: 0.9em; }
|
184
|
-
p.children strong { font-size: 0.8em; }
|
185
|
-
p.children strong.modules { padding-left: 5px; }
|
186
|
-
|
187
|
-
ul.fullTree { display: none; padding-left: 0; list-style: none; margin-left: 0; margin-bottom: 10px; }
|
188
|
-
ul.fullTree ul { margin-left: 0; padding-left: 0; list-style: none; }
|
189
|
-
ul.fullTree li { text-align: center; padding-top: 18px; padding-bottom: 12px; background: url(data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/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LdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAHtJREFUeNqMzrEJAkEURdGzuhgZbSoYWcAWoBVsB4JgZAGmphsZCZYzTQgWNCYrDN9RvMmHx+X916SUBFbo8CzD1idXrLErw1mQttgXtyrOcQ/Ny5p4Qh+2XqLYYazsPWNTiuMkRxa4vcV+evuNAUOLIx5+c2hyzv7hNQC67Q+/HHmlEwAAAABJRU5ErkJggg==) no-repeat top center; }
|
190
|
-
ul.fullTree li:first-child { padding-top: 0; background: transparent; }
|
191
|
-
ul.fullTree li:last-child { padding-bottom: 0; }
|
192
|
-
.showAll ul.fullTree { display: block; }
|
193
|
-
.showAll .inheritName { display: none; }
|
194
|
-
|
195
|
-
#search { position: absolute; right: 14px; top: 0px; }
|
196
|
-
#search a:link, #search a:visited {
|
197
|
-
display: block; float: left; margin-right: 4px;
|
198
|
-
padding: 8px 10px; text-decoration: none; color: #05a;
|
199
|
-
border: 1px solid #d8d8e5;
|
200
|
-
-moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
|
201
|
-
-webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
|
202
|
-
background: #eaf0ff;
|
203
|
-
-webkit-box-shadow: -1px 1px 3px #ddd;
|
204
|
-
}
|
205
|
-
#search a:hover { background: #f5faff; color: #06b; }
|
206
|
-
#search a.active {
|
207
|
-
background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
|
208
|
-
-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
|
209
|
-
-webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
|
210
|
-
}
|
211
|
-
#search a.inactive { color: #999; }
|
212
|
-
.frames #search { display: none; }
|
213
|
-
.inheritanceTree, .toggleDefines { float: right; }
|
214
|
-
|
215
|
-
#menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
|
216
|
-
#menu .title, #menu a { font-size: 0.7em; }
|
217
|
-
#menu .title a { font-size: 1em; }
|
218
|
-
#menu .title { color: #555; }
|
219
|
-
#menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
220
|
-
#menu a:hover { color: #05a; }
|
221
|
-
#menu .noframes { display: none; }
|
222
|
-
.frames #menu .noframes { display: inline; float: right; }
|
223
|
-
|
224
|
-
#footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
|
225
|
-
#footer a:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
|
226
|
-
#footer a:hover { color: #05a; }
|
227
|
-
|
228
|
-
#listing ul.alpha { font-size: 1.1em; }
|
229
|
-
#listing ul.alpha { margin: 0; padding: 0; padding-bottom: 10px; list-style: none; }
|
230
|
-
#listing ul.alpha li.letter { font-size: 1.4em; padding-bottom: 10px; }
|
231
|
-
#listing ul.alpha ul { margin: 0; padding-left: 15px; }
|
232
|
-
#listing ul small { color: #666; font-size: 0.7em; }
|
233
|
-
|
234
|
-
li.r1 { background: #f0f0f0; }
|
235
|
-
li.r2 { background: #fafafa; }
|
236
|
-
|
237
|
-
#search_frame {
|
238
|
-
z-index: 9999;
|
239
|
-
background: #fff;
|
240
|
-
display: none;
|
241
|
-
position: absolute;
|
242
|
-
top: 36px;
|
243
|
-
right: 18px;
|
244
|
-
width: 500px;
|
245
|
-
height: 80%;
|
246
|
-
overflow-y: scroll;
|
247
|
-
border: 1px solid #999;
|
248
|
-
border-collapse: collapse;
|
249
|
-
-webkit-box-shadow: -7px 5px 25px #aaa;
|
250
|
-
-moz-box-shadow: -7px 5px 25px #aaa;
|
251
|
-
-moz-border-radius: 2px;
|
252
|
-
-webkit-border-radius: 2px;
|
253
|
-
}
|
254
|
-
|
255
|
-
#content ul.summary li.deprecated a:link,
|
256
|
-
#content ul.summary li.deprecated a:visited { text-decoration: line-through; font-style: italic; }
|
257
|
-
|
258
|
-
#toc {
|
259
|
-
padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
|
260
|
-
max-width: 300px;
|
261
|
-
-webkit-box-shadow: -2px 2px 6px #bbb;
|
262
|
-
-moz-box-shadow: -2px 2px 6px #bbb;
|
263
|
-
z-index: 5000;
|
264
|
-
position: relative;
|
265
|
-
}
|
266
|
-
#toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
267
|
-
#toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
|
268
|
-
#toc .title { margin: 0; }
|
269
|
-
#toc ol { padding-left: 1.8em; }
|
270
|
-
#toc li { font-size: 1.1em; line-height: 1.7em; }
|
271
|
-
#toc > ol > li { font-size: 1.1em; font-weight: bold; }
|
272
|
-
#toc ol > ol { font-size: 0.9em; }
|
273
|
-
#toc ol ol > ol { padding-left: 2.3em; }
|
274
|
-
#toc ol + li { margin-top: 0.3em; }
|
275
|
-
#toc.hidden { padding: 10px; background: #f6f6f6; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
276
|
-
#filecontents h1 + #toc.nofloat { margin-top: 0; }
|
277
|
-
|
278
|
-
/* syntax highlighting */
|
279
|
-
.source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
|
280
|
-
#filecontents pre.code, .docstring pre.code, .source_code pre { font-family: monospace; }
|
281
|
-
#filecontents pre.code, .docstring pre.code { display: block; }
|
282
|
-
.source_code .lines { padding-right: 12px; color: #555; text-align: right; }
|
283
|
-
#filecontents pre.code, .docstring pre.code,
|
284
|
-
.tags .example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
|
285
|
-
pre.code { color: #000; }
|
286
|
-
pre.code .info.file { color: #555; }
|
287
|
-
pre.code .val { color: #036A07; }
|
288
|
-
pre.code .tstring_content,
|
289
|
-
pre.code .heredoc_beg, pre.code .heredoc_end,
|
290
|
-
pre.code .qwords_beg, pre.code .qwords_end,
|
291
|
-
pre.code .tstring, pre.code .dstring { color: #036A07; }
|
292
|
-
pre.code .fid, pre.code .id.new, pre.code .id.to_s,
|
293
|
-
pre.code .id.to_sym, pre.code .id.to_f,
|
294
|
-
pre.code .dot + pre.code .id,
|
295
|
-
pre.code .id.to_i pre.code .id.each { color: #0085FF; }
|
296
|
-
pre.code .comment { color: #0066FF; }
|
297
|
-
pre.code .const, pre.code .constant { color: #585CF6; }
|
298
|
-
pre.code .symbol { color: #C5060B; }
|
299
|
-
pre.code .kw,
|
300
|
-
pre.code .label,
|
301
|
-
pre.code .id.require,
|
302
|
-
pre.code .id.extend,
|
303
|
-
pre.code .id.include { color: #0000FF; }
|
304
|
-
pre.code .ivar { color: #318495; }
|
305
|
-
pre.code .gvar,
|
306
|
-
pre.code .id.backref,
|
307
|
-
pre.code .id.nth_ref { color: #6D79DE; }
|
308
|
-
pre.code .regexp, .dregexp { color: #036A07; }
|
309
|
-
pre.code a { border-bottom: 1px dotted #bbf; }
|
310
|
-
|
data/doc/file.README.html
DELETED
@@ -1,89 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta name="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>Documentation by YARD 0.6.4</title>
|
7
|
-
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
-
|
10
|
-
<script type="text/javascript" charset="utf-8">
|
11
|
-
relpath = '';
|
12
|
-
if (relpath != '') relpath += '/';
|
13
|
-
</script>
|
14
|
-
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
15
|
-
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<script type="text/javascript" charset="utf-8">
|
20
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
21
|
-
</script>
|
22
|
-
|
23
|
-
<div id="header">
|
24
|
-
<div id="menu">
|
25
|
-
|
26
|
-
<a href="_index.html" title="Index">Index</a> »
|
27
|
-
<span class="title">File: README</span>
|
28
|
-
|
29
|
-
|
30
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
31
|
-
</div>
|
32
|
-
|
33
|
-
<div id="search">
|
34
|
-
<a id="class_list_link" href="#">Class List</a>
|
35
|
-
<a id="method_list_link" href="#">Method List</a>
|
36
|
-
<a id ="file_list_link" href="#">File List</a>
|
37
|
-
</div>
|
38
|
-
|
39
|
-
<div class="clear"></div>
|
40
|
-
</div>
|
41
|
-
|
42
|
-
<iframe id="search_frame"></iframe>
|
43
|
-
|
44
|
-
<div id="content"><div id='filecontents'><h1 id='rotp__the_ruby_one_time_password_library'>ROTP - The Ruby One Time Password Library</h1>
|
45
|
-
|
46
|
-
<h3 id='installation'>Installation</h3>
|
47
|
-
|
48
|
-
<pre class="code"><span class='gem identifier id'>gem</span> <span class='install identifier id'>install</span> <span class='rotp identifier id'>rotp</span>
|
49
|
-
</pre>
|
50
|
-
|
51
|
-
<h3 id='use'>Use</h3>
|
52
|
-
|
53
|
-
<h4 id='time_based_otps'>Time based OTP’s</h4>
|
54
|
-
|
55
|
-
<pre class="code"><span class='totp identifier id'>totp</span> <span class='assign token'>=</span> <span class='ROTP constant id'>ROTP</span><span class='colon2 op'>::</span><span class='TOTP constant id'>TOTP</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='string val'>"base32secretkey"</span><span class='rparen token'>)</span>
|
56
|
-
<span class='totp identifier id'>totp</span><span class='dot token'>.</span><span class='now identifier id'>now</span> <span class='comment val'># => 492039</span>
|
57
|
-
<span class='totp identifier id'>totp</span><span class='dot token'>.</span><span class='at identifier id'>at</span><span class='lparen token'>(</span><span class='Time constant id'>Time</span><span class='dot token'>.</span><span class='now identifier id'>now</span><span class='dot token'>.</span><span class='to_i identifier id'>to_i</span> <span class='plus op'>+</span> <span class='integer val'>30</span><span class='rparen token'>)</span> <span class='comment val'># => 102922</span>
|
58
|
-
</pre>
|
59
|
-
|
60
|
-
<h4 id='counter_based_otps'>Counter based OTP’s</h4>
|
61
|
-
|
62
|
-
<pre class="code"><span class='hotp identifier id'>hotp</span> <span class='assign token'>=</span> <span class='ROTP constant id'>ROTP</span><span class='colon2 op'>::</span><span class='HOTP constant id'>HOTP</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='string val'>"base32secretkey"</span><span class='rparen token'>)</span>
|
63
|
-
<span class='hotp identifier id'>hotp</span><span class='dot token'>.</span><span class='at identifier id'>at</span><span class='lparen token'>(</span><span class='integer val'>0</span><span class='rparen token'>)</span> <span class='comment val'># => 492039</span>
|
64
|
-
<span class='hotp identifier id'>hotp</span><span class='dot token'>.</span><span class='at identifier id'>at</span><span class='lparen token'>(</span><span class='integer val'>1</span><span class='rparen token'>)</span> <span class='comment val'># => 234092</span>
|
65
|
-
<span class='hotp identifier id'>hotp</span><span class='dot token'>.</span><span class='at identifier id'>at</span><span class='lparen token'>(</span><span class='integer val'>2</span><span class='rparen token'>)</span> <span class='comment val'># => 209834</span>
|
66
|
-
</pre>
|
67
|
-
|
68
|
-
<h4 id='generating_a_base32_secret_key'>Generating a Base32 Secret key</h4>
|
69
|
-
|
70
|
-
<pre class="code"><span class='ROTP constant id'>ROTP</span><span class='dot token'>.</span><span class='random_base32 identifier id'>random_base32</span> <span class='comment val'># returns a 16 character base32 secret. Compatible with Google Authenticator</span>
|
71
|
-
</pre>
|
72
|
-
|
73
|
-
<h4 id='google_authenticator_interop'>Google Authenticator Interop</h4>
|
74
|
-
|
75
|
-
<p>The library works with the Google Authenticator iPhone and Android app, and also includes the ability to generate provisioning URI’s for use with the QR Code scanner built into the app.</p>
|
76
|
-
|
77
|
-
<pre class="code"><span class='hotp identifier id'>hotp</span><span class='dot token'>.</span><span class='provisioning_uri identifier id'>provisioning_uri</span> <span class='comment val'># => 'otpauth://totp/alice@google.com?secret=JBSWY3DPEHPK3PXP'</span>
|
78
|
-
</pre>
|
79
|
-
|
80
|
-
<p>This can then be rendered as a QR Code which can then be scanned and added to the users list of OTP credentials.</p></div></div>
|
81
|
-
|
82
|
-
<div id="footer">
|
83
|
-
Generated on Sun Feb 13 12:31:40 2011 by
|
84
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
85
|
-
0.6.4 (ruby-1.8.7).
|
86
|
-
</div>
|
87
|
-
|
88
|
-
</body>
|
89
|
-
</html>
|