mamertes 2.4.1

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 (53) hide show
  1. checksums.yaml +15 -0
  2. data/.DS_Store +0 -0
  3. data/.gitignore +6 -0
  4. data/.travis-gemfile +15 -0
  5. data/.travis.yml +10 -0
  6. data/.yardopts +1 -0
  7. data/Gemfile +21 -0
  8. data/README.md +126 -0
  9. data/Rakefile +29 -0
  10. data/doc/Mamertes.html +155 -0
  11. data/doc/Mamertes/Application.html +3057 -0
  12. data/doc/Mamertes/Command.html +7031 -0
  13. data/doc/Mamertes/CommandMethods.html +125 -0
  14. data/doc/Mamertes/CommandMethods/Children.html +1286 -0
  15. data/doc/Mamertes/CommandMethods/Help.html +209 -0
  16. data/doc/Mamertes/Error.html +631 -0
  17. data/doc/Mamertes/Localizer.html +376 -0
  18. data/doc/Mamertes/Option.html +6671 -0
  19. data/doc/Mamertes/Parser.html +276 -0
  20. data/doc/Mamertes/ParserMethods.html +125 -0
  21. data/doc/Mamertes/ParserMethods/General.html +134 -0
  22. data/doc/Mamertes/ParserMethods/General/ClassMethods.html +574 -0
  23. data/doc/Mamertes/Version.html +189 -0
  24. data/doc/_index.html +276 -0
  25. data/doc/class_list.html +54 -0
  26. data/doc/css/common.css +1 -0
  27. data/doc/css/full_list.css +57 -0
  28. data/doc/css/style.css +338 -0
  29. data/doc/file.README.html +198 -0
  30. data/doc/file_list.html +56 -0
  31. data/doc/frames.html +28 -0
  32. data/doc/index.html +198 -0
  33. data/doc/js/app.js +214 -0
  34. data/doc/js/full_list.js +178 -0
  35. data/doc/js/jquery.js +4 -0
  36. data/doc/method_list.html +509 -0
  37. data/doc/top-level-namespace.html +112 -0
  38. data/lib/mamertes.rb +18 -0
  39. data/lib/mamertes/application.rb +206 -0
  40. data/lib/mamertes/command.rb +529 -0
  41. data/lib/mamertes/option.rb +236 -0
  42. data/lib/mamertes/parser.rb +317 -0
  43. data/lib/mamertes/version.rb +24 -0
  44. data/locales/en.yml +40 -0
  45. data/locales/it.yml +40 -0
  46. data/mamertes.gemspec +30 -0
  47. data/spec/coverage_helper.rb +20 -0
  48. data/spec/mamertes/application_spec.rb +181 -0
  49. data/spec/mamertes/command_spec.rb +526 -0
  50. data/spec/mamertes/option_spec.rb +274 -0
  51. data/spec/mamertes/parser_spec.rb +126 -0
  52. data/spec/spec_helper.rb +15 -0
  53. metadata +115 -0
@@ -0,0 +1,189 @@
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: Mamertes::Version
8
+
9
+ &mdash; Documentation by YARD 0.8.6.2
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 (V)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../Mamertes.html" title="Mamertes (module)">Mamertes</a></span></span>
36
+ &raquo;
37
+ <span class="title">Version</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: Mamertes::Version
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/mamertes/version.rb</dd>
83
+
84
+ </dl>
85
+ <div class="clear"></div>
86
+
87
+ <h2>Overview</h2><div class="docstring">
88
+ <div class="discussion">
89
+ <p>The current version of Mamertes, according to semantic versioning.</p>
90
+
91
+
92
+ </div>
93
+ </div>
94
+ <div class="tags">
95
+
96
+
97
+ <p class="tag_title">See Also:</p>
98
+ <ul class="see">
99
+
100
+ <li><a href="http://semver.org" target="_parent" title="http://semver.org">http://semver.org</a></li>
101
+
102
+ </ul>
103
+
104
+ </div>
105
+ <h2>Constant Summary</h2>
106
+
107
+ <dl class="constants">
108
+
109
+ <dt id="MAJOR-constant" class="">MAJOR =
110
+ <div class="docstring">
111
+ <div class="discussion">
112
+ <p>The major version.</p>
113
+
114
+
115
+ </div>
116
+ </div>
117
+ <div class="tags">
118
+
119
+
120
+ </div>
121
+ </dt>
122
+ <dd><pre class="code"><span class='int'>2</span></pre></dd>
123
+
124
+ <dt id="MINOR-constant" class="">MINOR =
125
+ <div class="docstring">
126
+ <div class="discussion">
127
+ <p>The minor version.</p>
128
+
129
+
130
+ </div>
131
+ </div>
132
+ <div class="tags">
133
+
134
+
135
+ </div>
136
+ </dt>
137
+ <dd><pre class="code"><span class='int'>4</span></pre></dd>
138
+
139
+ <dt id="PATCH-constant" class="">PATCH =
140
+ <div class="docstring">
141
+ <div class="discussion">
142
+ <p>The patch version.</p>
143
+
144
+
145
+ </div>
146
+ </div>
147
+ <div class="tags">
148
+
149
+
150
+ </div>
151
+ </dt>
152
+ <dd><pre class="code"><span class='int'>1</span></pre></dd>
153
+
154
+ <dt id="STRING-constant" class="">STRING =
155
+ <div class="docstring">
156
+ <div class="discussion">
157
+ <p>The current version number of Mamertes.</p>
158
+
159
+
160
+ </div>
161
+ </div>
162
+ <div class="tags">
163
+
164
+
165
+ </div>
166
+ </dt>
167
+ <dd><pre class="code"><span class='lbracket'>[</span><span class='const'>MAJOR</span><span class='comma'>,</span> <span class='const'>MINOR</span><span class='comma'>,</span> <span class='const'>PATCH</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_compact'>compact</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></pre></dd>
168
+
169
+ </dl>
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+ </div>
181
+
182
+ <div id="footer">
183
+ Generated on Sat Aug 10 16:23:09 2013 by
184
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
+ 0.8.6.2 (ruby-1.9.3).
186
+ </div>
187
+
188
+ </body>
189
+ </html>
@@ -0,0 +1,276 @@
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.6.2
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.6.2</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_A" class="alpha">
84
+ <li class="letter">A</li>
85
+ <ul>
86
+
87
+ <li>
88
+ <span class='object_link'><a href="Mamertes/Application.html" title="Mamertes::Application (class)">Application</a></span>
89
+
90
+ <small>(Mamertes)</small>
91
+
92
+ </li>
93
+
94
+ </ul>
95
+ </ul>
96
+
97
+
98
+ <ul id="alpha_C" class="alpha">
99
+ <li class="letter">C</li>
100
+ <ul>
101
+
102
+ <li>
103
+ <span class='object_link'><a href="Mamertes/CommandMethods/Children.html" title="Mamertes::CommandMethods::Children (module)">Children</a></span>
104
+
105
+ <small>(Mamertes::CommandMethods)</small>
106
+
107
+ </li>
108
+
109
+ <li>
110
+ <span class='object_link'><a href="Mamertes/ParserMethods/General/ClassMethods.html" title="Mamertes::ParserMethods::General::ClassMethods (module)">ClassMethods</a></span>
111
+
112
+ <small>(Mamertes::ParserMethods::General)</small>
113
+
114
+ </li>
115
+
116
+ <li>
117
+ <span class='object_link'><a href="Mamertes/Command.html" title="Mamertes::Command (class)">Command</a></span>
118
+
119
+ <small>(Mamertes)</small>
120
+
121
+ </li>
122
+
123
+ <li>
124
+ <span class='object_link'><a href="Mamertes/CommandMethods.html" title="Mamertes::CommandMethods (module)">CommandMethods</a></span>
125
+
126
+ <small>(Mamertes)</small>
127
+
128
+ </li>
129
+
130
+ </ul>
131
+ </ul>
132
+
133
+
134
+ <ul id="alpha_E" class="alpha">
135
+ <li class="letter">E</li>
136
+ <ul>
137
+
138
+ <li>
139
+ <span class='object_link'><a href="Mamertes/Error.html" title="Mamertes::Error (class)">Error</a></span>
140
+
141
+ <small>(Mamertes)</small>
142
+
143
+ </li>
144
+
145
+ </ul>
146
+ </ul>
147
+
148
+
149
+ <ul id="alpha_G" class="alpha">
150
+ <li class="letter">G</li>
151
+ <ul>
152
+
153
+ <li>
154
+ <span class='object_link'><a href="Mamertes/ParserMethods/General.html" title="Mamertes::ParserMethods::General (module)">General</a></span>
155
+
156
+ <small>(Mamertes::ParserMethods)</small>
157
+
158
+ </li>
159
+
160
+ </ul>
161
+ </ul>
162
+
163
+
164
+ <ul id="alpha_H" class="alpha">
165
+ <li class="letter">H</li>
166
+ <ul>
167
+
168
+ <li>
169
+ <span class='object_link'><a href="Mamertes/CommandMethods/Help.html" title="Mamertes::CommandMethods::Help (module)">Help</a></span>
170
+
171
+ <small>(Mamertes::CommandMethods)</small>
172
+
173
+ </li>
174
+
175
+ </ul>
176
+ </ul>
177
+
178
+
179
+ <ul id="alpha_L" class="alpha">
180
+ <li class="letter">L</li>
181
+ <ul>
182
+
183
+ <li>
184
+ <span class='object_link'><a href="Mamertes/Localizer.html" title="Mamertes::Localizer (class)">Localizer</a></span>
185
+
186
+ <small>(Mamertes)</small>
187
+
188
+ </li>
189
+
190
+ </ul>
191
+ </ul>
192
+
193
+
194
+ <ul id="alpha_M" class="alpha">
195
+ <li class="letter">M</li>
196
+ <ul>
197
+
198
+ <li>
199
+ <span class='object_link'><a href="Mamertes.html" title="Mamertes (module)">Mamertes</a></span>
200
+
201
+ </li>
202
+
203
+ </ul>
204
+ </ul>
205
+
206
+
207
+ </td><td valign='top' width="33%">
208
+
209
+
210
+ <ul id="alpha_O" class="alpha">
211
+ <li class="letter">O</li>
212
+ <ul>
213
+
214
+ <li>
215
+ <span class='object_link'><a href="Mamertes/Option.html" title="Mamertes::Option (class)">Option</a></span>
216
+
217
+ <small>(Mamertes)</small>
218
+
219
+ </li>
220
+
221
+ </ul>
222
+ </ul>
223
+
224
+
225
+ <ul id="alpha_P" class="alpha">
226
+ <li class="letter">P</li>
227
+ <ul>
228
+
229
+ <li>
230
+ <span class='object_link'><a href="Mamertes/Parser.html" title="Mamertes::Parser (class)">Parser</a></span>
231
+
232
+ <small>(Mamertes)</small>
233
+
234
+ </li>
235
+
236
+ <li>
237
+ <span class='object_link'><a href="Mamertes/ParserMethods.html" title="Mamertes::ParserMethods (module)">ParserMethods</a></span>
238
+
239
+ <small>(Mamertes)</small>
240
+
241
+ </li>
242
+
243
+ </ul>
244
+ </ul>
245
+
246
+
247
+ <ul id="alpha_V" class="alpha">
248
+ <li class="letter">V</li>
249
+ <ul>
250
+
251
+ <li>
252
+ <span class='object_link'><a href="Mamertes/Version.html" title="Mamertes::Version (module)">Version</a></span>
253
+
254
+ <small>(Mamertes)</small>
255
+
256
+ </li>
257
+
258
+ </ul>
259
+ </ul>
260
+
261
+ </td>
262
+ </tr>
263
+ </table>
264
+
265
+ </div>
266
+
267
+ </div>
268
+
269
+ <div id="footer">
270
+ Generated on Sat Aug 10 16:23:08 2013 by
271
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
272
+ 0.8.6.2 (ruby-1.9.3).
273
+ </div>
274
+
275
+ </body>
276
+ </html>