imp 0.2.2 → 0.2.3
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/README.md +6 -0
- data/doc/Imp.html +235 -0
- data/doc/Imp/Commands.html +1211 -0
- data/doc/Imp/Crypto.html +684 -0
- data/doc/Imp/EncryptedFile.html +539 -0
- data/doc/Imp/EncryptedTree.html +1108 -0
- data/doc/Imp/Tree.html +1073 -0
- data/doc/Imp/UI.html +528 -0
- data/doc/Imp/Util.html +359 -0
- data/doc/PasswdManage.html +153 -0
- data/doc/PasswdManage/Commands.html +1086 -0
- data/doc/PasswdManage/Crypto.html +684 -0
- data/doc/PasswdManage/EncryptedFile.html +533 -0
- data/doc/PasswdManage/EncryptedTree.html +1108 -0
- data/doc/PasswdManage/Tree.html +1063 -0
- data/doc/PasswdManage/UI.html +538 -0
- data/doc/PasswdManage/Util.html +224 -0
- data/doc/_index.html +191 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +98 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +98 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +311 -0
- data/doc/top-level-namespace.html +112 -0
- data/imp.gemspec +1 -1
- data/lib/imp.rb +1 -1
- data/lib/imp/commands.rb +14 -1
- metadata +33 -3
@@ -0,0 +1,224 @@
|
|
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Module: PasswdManage::Util
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.3
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!" + escape(window.location.href);
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (U)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../PasswdManage.html" title="PasswdManage (module)">PasswdManage</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Util</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Module: PasswdManage::Util
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
82
|
+
<dd class="r1 last">lib/passwd_manage/util.rb</dd>
|
83
|
+
|
84
|
+
</dl>
|
85
|
+
<div class="clear"></div>
|
86
|
+
|
87
|
+
<h2>Overview</h2><div class="docstring">
|
88
|
+
<div class="discussion">
|
89
|
+
|
90
|
+
<p>Contains misc. utility methods.</p>
|
91
|
+
|
92
|
+
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
<div class="tags">
|
96
|
+
|
97
|
+
|
98
|
+
</div>
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
<h2>
|
107
|
+
Class Method Summary
|
108
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
109
|
+
</h2>
|
110
|
+
|
111
|
+
<ul class="summary">
|
112
|
+
|
113
|
+
<li class="public ">
|
114
|
+
<span class="summary_signature">
|
115
|
+
|
116
|
+
<a href="#mkdirs-class_method" title="mkdirs (class method)">+ (Object) <strong>mkdirs</strong>(dir) </a>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
</span>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<span class="summary_desc"><div class='inline'>
|
131
|
+
<p>Creates as many directories as needed.</p>
|
132
|
+
</div></span>
|
133
|
+
|
134
|
+
</li>
|
135
|
+
|
136
|
+
|
137
|
+
</ul>
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<div id="class_method_details" class="method_details_list">
|
143
|
+
<h2>Class Method Details</h2>
|
144
|
+
|
145
|
+
|
146
|
+
<div class="method_details first">
|
147
|
+
<h3 class="signature first" id="mkdirs-class_method">
|
148
|
+
|
149
|
+
+ (<tt>Object</tt>) <strong>mkdirs</strong>(dir)
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
</h3><div class="docstring">
|
156
|
+
<div class="discussion">
|
157
|
+
|
158
|
+
<p>Creates as many directories as needed.</p>
|
159
|
+
|
160
|
+
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
<div class="tags">
|
164
|
+
<p class="tag_title">Parameters:</p>
|
165
|
+
<ul class="param">
|
166
|
+
|
167
|
+
<li>
|
168
|
+
|
169
|
+
<span class='name'>dir</span>
|
170
|
+
|
171
|
+
|
172
|
+
<span class='type'>(<tt>String</tt>)</span>
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
—
|
177
|
+
<div class='inline'>
|
178
|
+
<p>The directory to create.</p>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
</li>
|
182
|
+
|
183
|
+
</ul>
|
184
|
+
|
185
|
+
|
186
|
+
</div><table class="source_code">
|
187
|
+
<tr>
|
188
|
+
<td>
|
189
|
+
<pre class="lines">
|
190
|
+
|
191
|
+
|
192
|
+
10
|
193
|
+
11
|
194
|
+
12
|
195
|
+
13
|
196
|
+
14
|
197
|
+
15</pre>
|
198
|
+
</td>
|
199
|
+
<td>
|
200
|
+
<pre class="code"><span class="info file"># File 'lib/passwd_manage/util.rb', line 10</span>
|
201
|
+
|
202
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_mkdirs'>mkdirs</span><span class='lparen'>(</span><span class='id identifier rubyid_dir'>dir</span><span class='rparen'>)</span>
|
203
|
+
<span class='kw'>return</span> <span class='kw'>if</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_exists?'>exists?</span> <span class='id identifier rubyid_dir'>dir</span>
|
204
|
+
<span class='id identifier rubyid_parent'>parent</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_dirname'>dirname</span><span class='lparen'>(</span><span class='id identifier rubyid_dir'>dir</span><span class='rparen'>)</span>
|
205
|
+
<span class='id identifier rubyid_mkdirs'>mkdirs</span><span class='lparen'>(</span><span class='id identifier rubyid_parent'>parent</span><span class='rparen'>)</span>
|
206
|
+
<span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_mkdir'>mkdir</span><span class='lparen'>(</span><span class='id identifier rubyid_dir'>dir</span><span class='rparen'>)</span>
|
207
|
+
<span class='kw'>end</span></pre>
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
</table>
|
211
|
+
</div>
|
212
|
+
|
213
|
+
</div>
|
214
|
+
|
215
|
+
</div>
|
216
|
+
|
217
|
+
<div id="footer">
|
218
|
+
Generated on Sat Nov 9 18:07:45 2013 by
|
219
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
220
|
+
0.8.7.3 (ruby-2.0.0).
|
221
|
+
</div>
|
222
|
+
|
223
|
+
</body>
|
224
|
+
</html>
|
data/doc/_index.html
ADDED
@@ -0,0 +1,191 @@
|
|
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Documentation by YARD 0.8.7.3
|
8
|
+
|
9
|
+
</title>
|
10
|
+
|
11
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8">
|
16
|
+
hasFrames = window.top.frames.main ? true : false;
|
17
|
+
relpath = '';
|
18
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
19
|
+
</script>
|
20
|
+
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
25
|
+
|
26
|
+
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<div id="header">
|
30
|
+
<div id="menu">
|
31
|
+
|
32
|
+
|
33
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<div id="search">
|
37
|
+
|
38
|
+
<a class="full_list_link" id="class_list_link"
|
39
|
+
href="class_list.html">
|
40
|
+
Class List
|
41
|
+
</a>
|
42
|
+
|
43
|
+
<a class="full_list_link" id="method_list_link"
|
44
|
+
href="method_list.html">
|
45
|
+
Method List
|
46
|
+
</a>
|
47
|
+
|
48
|
+
<a class="full_list_link" id="file_list_link"
|
49
|
+
href="file_list.html">
|
50
|
+
File List
|
51
|
+
</a>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<div class="clear"></div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<iframe id="search_frame"></iframe>
|
58
|
+
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.3</h1>
|
60
|
+
<div id="listing">
|
61
|
+
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
|
+
|
63
|
+
<h2>File Listing</h2>
|
64
|
+
<ul id="files" class="index_inline_list">
|
65
|
+
|
66
|
+
|
67
|
+
<li class="r1"><a href="index.html" title="README">README</a></li>
|
68
|
+
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
|
72
|
+
<div class="clear"></div>
|
73
|
+
<h2>Namespace Listing A-Z</h2>
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
<table>
|
79
|
+
<tr>
|
80
|
+
<td valign='top' width="33%">
|
81
|
+
|
82
|
+
|
83
|
+
<ul id="alpha_C" class="alpha">
|
84
|
+
<li class="letter">C</li>
|
85
|
+
<ul>
|
86
|
+
|
87
|
+
<li>
|
88
|
+
<span class='object_link'><a href="Imp/Commands.html" title="Imp::Commands (module)">Commands</a></span>
|
89
|
+
|
90
|
+
<small>(Imp)</small>
|
91
|
+
|
92
|
+
</li>
|
93
|
+
|
94
|
+
<li>
|
95
|
+
<span class='object_link'><a href="Imp/Crypto.html" title="Imp::Crypto (module)">Crypto</a></span>
|
96
|
+
|
97
|
+
<small>(Imp)</small>
|
98
|
+
|
99
|
+
</li>
|
100
|
+
|
101
|
+
</ul>
|
102
|
+
</ul>
|
103
|
+
|
104
|
+
|
105
|
+
<ul id="alpha_E" class="alpha">
|
106
|
+
<li class="letter">E</li>
|
107
|
+
<ul>
|
108
|
+
|
109
|
+
<li>
|
110
|
+
<span class='object_link'><a href="Imp/EncryptedFile.html" title="Imp::EncryptedFile (class)">EncryptedFile</a></span>
|
111
|
+
|
112
|
+
<small>(Imp)</small>
|
113
|
+
|
114
|
+
</li>
|
115
|
+
|
116
|
+
<li>
|
117
|
+
<span class='object_link'><a href="Imp/EncryptedTree.html" title="Imp::EncryptedTree (class)">EncryptedTree</a></span>
|
118
|
+
|
119
|
+
<small>(Imp)</small>
|
120
|
+
|
121
|
+
</li>
|
122
|
+
|
123
|
+
</ul>
|
124
|
+
</ul>
|
125
|
+
|
126
|
+
|
127
|
+
<ul id="alpha_I" class="alpha">
|
128
|
+
<li class="letter">I</li>
|
129
|
+
<ul>
|
130
|
+
|
131
|
+
<li>
|
132
|
+
<span class='object_link'><a href="Imp.html" title="Imp (module)">Imp</a></span>
|
133
|
+
|
134
|
+
</li>
|
135
|
+
|
136
|
+
</ul>
|
137
|
+
</ul>
|
138
|
+
|
139
|
+
|
140
|
+
<ul id="alpha_T" class="alpha">
|
141
|
+
<li class="letter">T</li>
|
142
|
+
<ul>
|
143
|
+
|
144
|
+
<li>
|
145
|
+
<span class='object_link'><a href="Imp/Tree.html" title="Imp::Tree (class)">Tree</a></span>
|
146
|
+
|
147
|
+
<small>(Imp)</small>
|
148
|
+
|
149
|
+
</li>
|
150
|
+
|
151
|
+
</ul>
|
152
|
+
</ul>
|
153
|
+
|
154
|
+
|
155
|
+
<ul id="alpha_U" class="alpha">
|
156
|
+
<li class="letter">U</li>
|
157
|
+
<ul>
|
158
|
+
|
159
|
+
<li>
|
160
|
+
<span class='object_link'><a href="Imp/UI.html" title="Imp::UI (module)">UI</a></span>
|
161
|
+
|
162
|
+
<small>(Imp)</small>
|
163
|
+
|
164
|
+
</li>
|
165
|
+
|
166
|
+
<li>
|
167
|
+
<span class='object_link'><a href="Imp/Util.html" title="Imp::Util (module)">Util</a></span>
|
168
|
+
|
169
|
+
<small>(Imp)</small>
|
170
|
+
|
171
|
+
</li>
|
172
|
+
|
173
|
+
</ul>
|
174
|
+
</ul>
|
175
|
+
|
176
|
+
</td>
|
177
|
+
</tr>
|
178
|
+
</table>
|
179
|
+
|
180
|
+
</div>
|
181
|
+
|
182
|
+
</div>
|
183
|
+
|
184
|
+
<div id="footer">
|
185
|
+
Generated on Sun Nov 10 00:39:21 2013 by
|
186
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
187
|
+
0.8.7.3 (ruby-2.0.0).
|
188
|
+
</div>
|
189
|
+
|
190
|
+
</body>
|
191
|
+
</html>
|
data/doc/class_list.html
ADDED
@@ -0,0 +1,54 @@
|
|
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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
|
7
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
14
|
+
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
16
|
+
|
17
|
+
|
18
|
+
<title>Class List</title>
|
19
|
+
<base id="base_target" target="_parent" />
|
20
|
+
</head>
|
21
|
+
<body>
|
22
|
+
<script type="text/javascript" charset="utf-8">
|
23
|
+
if (window.top.frames.main) {
|
24
|
+
document.getElementById('base_target').target = 'main';
|
25
|
+
document.body.className = 'frames';
|
26
|
+
}
|
27
|
+
</script>
|
28
|
+
<div id="content">
|
29
|
+
<h1 id="full_list_header">Class List</h1>
|
30
|
+
<div id="nav">
|
31
|
+
|
32
|
+
<span><a target="_self" href="class_list.html">
|
33
|
+
Classes
|
34
|
+
</a></span>
|
35
|
+
|
36
|
+
<span><a target="_self" href="method_list.html">
|
37
|
+
Methods
|
38
|
+
</a></span>
|
39
|
+
|
40
|
+
<span><a target="_self" href="file_list.html">
|
41
|
+
Files
|
42
|
+
</a></span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
<div id="search">Search: <input type="text" /></div>
|
46
|
+
|
47
|
+
<ul id="full_list" class="class">
|
48
|
+
<li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
|
49
|
+
<li><a class='toggle'></a> <span class='object_link'><a href="Imp.html" title="Imp (module)">Imp</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Imp/Commands.html" title="Imp::Commands (module)">Commands</a></span><small class='search_info'>Imp</small></li><li><span class='object_link'><a href="Imp/Crypto.html" title="Imp::Crypto (module)">Crypto</a></span><small class='search_info'>Imp</small></li><li><span class='object_link'><a href="Imp/EncryptedFile.html" title="Imp::EncryptedFile (class)">EncryptedFile</a></span> < Object<small class='search_info'>Imp</small></li><li><span class='object_link'><a href="Imp/EncryptedTree.html" title="Imp::EncryptedTree (class)">EncryptedTree</a></span> < EncryptedFile<small class='search_info'>Imp</small></li><li><span class='object_link'><a href="Imp/Tree.html" title="Imp::Tree (class)">Tree</a></span> < Object<small class='search_info'>Imp</small></li><li><span class='object_link'><a href="Imp/UI.html" title="Imp::UI (module)">UI</a></span><small class='search_info'>Imp</small></li><li><span class='object_link'><a href="Imp/Util.html" title="Imp::Util (module)">Util</a></span><small class='search_info'>Imp</small></li></ul>
|
50
|
+
|
51
|
+
</ul>
|
52
|
+
</div>
|
53
|
+
</body>
|
54
|
+
</html>
|