lazier 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/.travis.yml +8 -0
- data/.yardopts +1 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +82 -0
- data/README.md +33 -0
- data/Rakefile +18 -0
- data/doc/Lazier.html +557 -0
- data/doc/Lazier/Boolean.html +297 -0
- data/doc/Lazier/DateTime.html +787 -0
- data/doc/Lazier/DateTime/ClassMethods.html +1592 -0
- data/doc/Lazier/Exceptions.html +125 -0
- data/doc/Lazier/Exceptions/Dump.html +133 -0
- data/doc/Lazier/Hash.html +393 -0
- data/doc/Lazier/Math.html +130 -0
- data/doc/Lazier/Math/ClassMethods.html +362 -0
- data/doc/Lazier/Object.html +1565 -0
- data/doc/Lazier/Pathname.html +225 -0
- data/doc/Lazier/Settings.html +1249 -0
- data/doc/Lazier/String.html +471 -0
- data/doc/Lazier/TimeZone.html +1675 -0
- data/doc/Lazier/TimeZone/ClassMethods.html +1055 -0
- data/doc/Lazier/Version.html +189 -0
- data/doc/_index.html +306 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +328 -0
- data/doc/file.README.html +107 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +107 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +652 -0
- data/doc/top-level-namespace.html +112 -0
- data/lazier.gemspec +36 -0
- data/lib/lazier.rb +127 -0
- data/lib/lazier/boolean.rb +26 -0
- data/lib/lazier/datetime.rb +548 -0
- data/lib/lazier/exceptions.rb +14 -0
- data/lib/lazier/hash.rb +40 -0
- data/lib/lazier/math.rb +47 -0
- data/lib/lazier/object.rb +163 -0
- data/lib/lazier/pathname.rb +26 -0
- data/lib/lazier/settings.rb +118 -0
- data/lib/lazier/string.rb +54 -0
- data/lib/lazier/version.rb +24 -0
- data/spec/coverage_helper.rb +19 -0
- data/spec/cowtech-extensions/boolean_spec.rb +30 -0
- data/spec/cowtech-extensions/datetime_spec.rb +352 -0
- data/spec/cowtech-extensions/hash_spec.rb +30 -0
- data/spec/cowtech-extensions/math_spec.rb +41 -0
- data/spec/cowtech-extensions/object_spec.rb +231 -0
- data/spec/cowtech-extensions/pathname_spec.rb +21 -0
- data/spec/cowtech-extensions/settings_spec.rb +118 -0
- data/spec/cowtech-extensions/string_spec.rb +45 -0
- data/spec/lazier_spec.rb +57 -0
- data/spec/spec_helper.rb +16 -0
- metadata +292 -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: Lazier::Version
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.2.1
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" 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> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../Lazier.html" title="Lazier (module)">Lazier</a></span></span>
|
36
|
+
»
|
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: Lazier::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/lazier/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 lazier, 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'>1</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'>0</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'>0</span></pre></dd>
|
153
|
+
|
154
|
+
<dt id="STRING-constant" class="">STRING =
|
155
|
+
<div class="docstring">
|
156
|
+
<div class="discussion">
|
157
|
+
<p>The current version of lazier.</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'>"</span><span class='tstring_content'>.</span><span class='tstring_end'>"</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 Wed Aug 1 08:57:55 2012 by
|
184
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
+
0.8.2.1 (ruby-1.9.2).
|
186
|
+
</div>
|
187
|
+
|
188
|
+
</body>
|
189
|
+
</html>
|
data/doc/_index.html
ADDED
@@ -0,0 +1,306 @@
|
|
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.2.1
|
8
|
+
|
9
|
+
</title>
|
10
|
+
|
11
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" 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.2.1</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_B" class="alpha">
|
84
|
+
<li class="letter">B</li>
|
85
|
+
<ul>
|
86
|
+
|
87
|
+
<li>
|
88
|
+
<span class='object_link'><a href="Lazier/Boolean.html" title="Lazier::Boolean (module)">Boolean</a></span>
|
89
|
+
|
90
|
+
<small>(Lazier)</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="Lazier/Math/ClassMethods.html" title="Lazier::Math::ClassMethods (module)">ClassMethods</a></span>
|
104
|
+
|
105
|
+
<small>(Lazier::Math)</small>
|
106
|
+
|
107
|
+
</li>
|
108
|
+
|
109
|
+
<li>
|
110
|
+
<span class='object_link'><a href="Lazier/TimeZone/ClassMethods.html" title="Lazier::TimeZone::ClassMethods (module)">ClassMethods</a></span>
|
111
|
+
|
112
|
+
<small>(Lazier::TimeZone)</small>
|
113
|
+
|
114
|
+
</li>
|
115
|
+
|
116
|
+
<li>
|
117
|
+
<span class='object_link'><a href="Lazier/DateTime/ClassMethods.html" title="Lazier::DateTime::ClassMethods (module)">ClassMethods</a></span>
|
118
|
+
|
119
|
+
<small>(Lazier::DateTime)</small>
|
120
|
+
|
121
|
+
</li>
|
122
|
+
|
123
|
+
</ul>
|
124
|
+
</ul>
|
125
|
+
|
126
|
+
|
127
|
+
<ul id="alpha_D" class="alpha">
|
128
|
+
<li class="letter">D</li>
|
129
|
+
<ul>
|
130
|
+
|
131
|
+
<li>
|
132
|
+
<span class='object_link'><a href="Lazier/DateTime.html" title="Lazier::DateTime (module)">DateTime</a></span>
|
133
|
+
|
134
|
+
<small>(Lazier)</small>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
<li>
|
139
|
+
<span class='object_link'><a href="Lazier/Exceptions/Dump.html" title="Lazier::Exceptions::Dump (class)">Dump</a></span>
|
140
|
+
|
141
|
+
<small>(Lazier::Exceptions)</small>
|
142
|
+
|
143
|
+
</li>
|
144
|
+
|
145
|
+
</ul>
|
146
|
+
</ul>
|
147
|
+
|
148
|
+
|
149
|
+
<ul id="alpha_E" class="alpha">
|
150
|
+
<li class="letter">E</li>
|
151
|
+
<ul>
|
152
|
+
|
153
|
+
<li>
|
154
|
+
<span class='object_link'><a href="Lazier/Exceptions.html" title="Lazier::Exceptions (module)">Exceptions</a></span>
|
155
|
+
|
156
|
+
<small>(Lazier)</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="Lazier/Hash.html" title="Lazier::Hash (module)">Hash</a></span>
|
170
|
+
|
171
|
+
<small>(Lazier)</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="Lazier.html" title="Lazier (module)">Lazier</a></span>
|
185
|
+
|
186
|
+
</li>
|
187
|
+
|
188
|
+
</ul>
|
189
|
+
</ul>
|
190
|
+
|
191
|
+
|
192
|
+
<ul id="alpha_M" class="alpha">
|
193
|
+
<li class="letter">M</li>
|
194
|
+
<ul>
|
195
|
+
|
196
|
+
<li>
|
197
|
+
<span class='object_link'><a href="Lazier/Math.html" title="Lazier::Math (module)">Math</a></span>
|
198
|
+
|
199
|
+
<small>(Lazier)</small>
|
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="Lazier/Object.html" title="Lazier::Object (module)">Object</a></span>
|
216
|
+
|
217
|
+
<small>(Lazier)</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="Lazier/Pathname.html" title="Lazier::Pathname (module)">Pathname</a></span>
|
231
|
+
|
232
|
+
<small>(Lazier)</small>
|
233
|
+
|
234
|
+
</li>
|
235
|
+
|
236
|
+
</ul>
|
237
|
+
</ul>
|
238
|
+
|
239
|
+
|
240
|
+
<ul id="alpha_S" class="alpha">
|
241
|
+
<li class="letter">S</li>
|
242
|
+
<ul>
|
243
|
+
|
244
|
+
<li>
|
245
|
+
<span class='object_link'><a href="Lazier/Settings.html" title="Lazier::Settings (class)">Settings</a></span>
|
246
|
+
|
247
|
+
<small>(Lazier)</small>
|
248
|
+
|
249
|
+
</li>
|
250
|
+
|
251
|
+
<li>
|
252
|
+
<span class='object_link'><a href="Lazier/String.html" title="Lazier::String (module)">String</a></span>
|
253
|
+
|
254
|
+
<small>(Lazier)</small>
|
255
|
+
|
256
|
+
</li>
|
257
|
+
|
258
|
+
</ul>
|
259
|
+
</ul>
|
260
|
+
|
261
|
+
|
262
|
+
<ul id="alpha_T" class="alpha">
|
263
|
+
<li class="letter">T</li>
|
264
|
+
<ul>
|
265
|
+
|
266
|
+
<li>
|
267
|
+
<span class='object_link'><a href="Lazier/TimeZone.html" title="Lazier::TimeZone (module)">TimeZone</a></span>
|
268
|
+
|
269
|
+
<small>(Lazier)</small>
|
270
|
+
|
271
|
+
</li>
|
272
|
+
|
273
|
+
</ul>
|
274
|
+
</ul>
|
275
|
+
|
276
|
+
|
277
|
+
<ul id="alpha_V" class="alpha">
|
278
|
+
<li class="letter">V</li>
|
279
|
+
<ul>
|
280
|
+
|
281
|
+
<li>
|
282
|
+
<span class='object_link'><a href="Lazier/Version.html" title="Lazier::Version (module)">Version</a></span>
|
283
|
+
|
284
|
+
<small>(Lazier)</small>
|
285
|
+
|
286
|
+
</li>
|
287
|
+
|
288
|
+
</ul>
|
289
|
+
</ul>
|
290
|
+
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
</table>
|
294
|
+
|
295
|
+
</div>
|
296
|
+
|
297
|
+
</div>
|
298
|
+
|
299
|
+
<div id="footer">
|
300
|
+
Generated on Wed Aug 1 08:57:55 2012 by
|
301
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
302
|
+
0.8.2.1 (ruby-1.9.2).
|
303
|
+
</div>
|
304
|
+
|
305
|
+
</body>
|
306
|
+
</html>
|