lazier 2.6.5 → 2.6.6
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.
- data/Gemfile +2 -2
- data/README.md +3 -2
- data/doc/Lazier.html +3 -3
- data/doc/Lazier/Boolean.html +3 -3
- data/doc/Lazier/DateTime.html +3 -3
- data/doc/Lazier/DateTime/ClassMethods.html +3 -3
- data/doc/Lazier/Exceptions.html +3 -3
- data/doc/Lazier/Exceptions/Dump.html +3 -3
- data/doc/Lazier/Exceptions/MissingTranslation.html +3 -3
- data/doc/Lazier/Hash.html +3 -3
- data/doc/Lazier/I18n.html +3 -3
- data/doc/Lazier/Localizer.html +549 -0
- data/doc/Lazier/Math.html +3 -3
- data/doc/Lazier/Math/ClassMethods.html +3 -3
- data/doc/Lazier/Object.html +3 -3
- data/doc/Lazier/Pathname.html +3 -3
- data/doc/Lazier/Settings.html +3 -3
- data/doc/Lazier/String.html +3 -3
- data/doc/Lazier/TimeZone.html +3 -3
- data/doc/Lazier/TimeZone/ClassMethods.html +3 -3
- data/doc/Lazier/Version.html +4 -4
- data/doc/_index.html +4 -4
- data/doc/css/style.css +10 -0
- data/doc/file.README.html +5 -4
- data/doc/frames.html +1 -1
- data/doc/index.html +5 -4
- data/doc/top-level-namespace.html +3 -3
- data/lazier.gemspec +3 -3
- data/lib/lazier/version.rb +1 -1
- metadata +10 -9
data/Gemfile
CHANGED
|
@@ -9,12 +9,12 @@ source "http://rubygems.org"
|
|
|
9
9
|
gemspec
|
|
10
10
|
|
|
11
11
|
# Testing
|
|
12
|
-
gem "rspec", "~> 2.
|
|
12
|
+
gem "rspec", "~> 2.13.0"
|
|
13
13
|
gem "rake", "~> 10.0.3"
|
|
14
14
|
|
|
15
15
|
# Documentation
|
|
16
16
|
gem "simplecov", ">= 0.7.1"
|
|
17
17
|
gem "pry", ">= 0"
|
|
18
|
-
gem "yard", ">= 0.8.
|
|
18
|
+
gem "yard", ">= 0.8.5"
|
|
19
19
|
gem "kramdown", ">= 0.14.2"
|
|
20
20
|
gem "github-markup", ">= 0.7.5"
|
data/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# lazier
|
|
2
2
|
|
|
3
|
-
[](http://badge.fury.io/rb/lazier)
|
|
4
4
|
[](https://gemnasium.com/ShogunPanda/lazier)
|
|
5
|
+
[](http://travis-ci.org/ShogunPanda/lazier)
|
|
5
6
|
[](https://codeclimate.com/github/ShogunPanda/lazier)
|
|
6
7
|
|
|
7
8
|
Several Ruby object enhancements.
|
|
@@ -34,4 +35,4 @@ See documentation for more informations.
|
|
|
34
35
|
|
|
35
36
|
Copyright (C) 2013 and above Shogun (shogun_panda@me.com).
|
|
36
37
|
|
|
37
|
-
Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
|
38
|
+
Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
data/doc/Lazier.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -838,9 +838,9 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
|
838
838
|
</div>
|
|
839
839
|
|
|
840
840
|
<div id="footer">
|
|
841
|
-
Generated on
|
|
841
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
842
842
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
843
|
-
0.8.
|
|
843
|
+
0.8.5.2 (ruby-1.9.3).
|
|
844
844
|
</div>
|
|
845
845
|
|
|
846
846
|
</body>
|
data/doc/Lazier/Boolean.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Boolean
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -288,9 +288,9 @@
|
|
|
288
288
|
</div>
|
|
289
289
|
|
|
290
290
|
<div id="footer">
|
|
291
|
-
Generated on
|
|
291
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
292
292
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
293
|
-
0.8.
|
|
293
|
+
0.8.5.2 (ruby-1.9.3).
|
|
294
294
|
</div>
|
|
295
295
|
|
|
296
296
|
</body>
|
data/doc/Lazier/DateTime.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::DateTime
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -725,9 +725,9 @@ DateTime.civil(2013, 6, 1).in_months(2011)
|
|
|
725
725
|
</div>
|
|
726
726
|
|
|
727
727
|
<div id="footer">
|
|
728
|
-
Generated on
|
|
728
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
729
729
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
730
|
-
0.8.
|
|
730
|
+
0.8.5.2 (ruby-1.9.3).
|
|
731
731
|
</div>
|
|
732
732
|
|
|
733
733
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::DateTime::ClassMethods
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -1568,9 +1568,9 @@ Date.years(1, true, 2010, true)
|
|
|
1568
1568
|
</div>
|
|
1569
1569
|
|
|
1570
1570
|
<div id="footer">
|
|
1571
|
-
Generated on
|
|
1571
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
1572
1572
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1573
|
-
0.8.
|
|
1573
|
+
0.8.5.2 (ruby-1.9.3).
|
|
1574
1574
|
</div>
|
|
1575
1575
|
|
|
1576
1576
|
</body>
|
data/doc/Lazier/Exceptions.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Exceptions
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -116,9 +116,9 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
|
-
0.8.
|
|
121
|
+
0.8.5.2 (ruby-1.9.3).
|
|
122
122
|
</div>
|
|
123
123
|
|
|
124
124
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Exception: Lazier::Exceptions::Dump
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -124,9 +124,9 @@
|
|
|
124
124
|
</div>
|
|
125
125
|
|
|
126
126
|
<div id="footer">
|
|
127
|
-
Generated on
|
|
127
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
129
|
-
0.8.
|
|
129
|
+
0.8.5.2 (ruby-1.9.3).
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Exception: Lazier::Exceptions::MissingTranslation
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -238,9 +238,9 @@
|
|
|
238
238
|
</div>
|
|
239
239
|
|
|
240
240
|
<div id="footer">
|
|
241
|
-
Generated on
|
|
241
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
242
242
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
243
|
-
0.8.
|
|
243
|
+
0.8.5.2 (ruby-1.9.3).
|
|
244
244
|
</div>
|
|
245
245
|
|
|
246
246
|
</body>
|
data/doc/Lazier/Hash.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Hash
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -384,9 +384,9 @@
|
|
|
384
384
|
</div>
|
|
385
385
|
|
|
386
386
|
<div id="footer">
|
|
387
|
-
Generated on
|
|
387
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
388
388
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
389
|
-
0.8.
|
|
389
|
+
0.8.5.2 (ruby-1.9.3).
|
|
390
390
|
</div>
|
|
391
391
|
|
|
392
392
|
</body>
|
data/doc/Lazier/I18n.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::I18n
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -1084,9 +1084,9 @@
|
|
|
1084
1084
|
</div>
|
|
1085
1085
|
|
|
1086
1086
|
<div id="footer">
|
|
1087
|
-
Generated on
|
|
1087
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
1088
1088
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1089
|
-
0.8.
|
|
1089
|
+
0.8.5.2 (ruby-1.9.3).
|
|
1090
1090
|
</div>
|
|
1091
1091
|
|
|
1092
1092
|
</body>
|
|
@@ -0,0 +1,549 @@
|
|
|
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
|
+
Class: Lazier::Localizer
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
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 (L)</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">Localizer</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>Class: Lazier::Localizer
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName">Object</span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next">Lazier::Localizer</li>
|
|
82
|
+
|
|
83
|
+
</ul>
|
|
84
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
85
|
+
|
|
86
|
+
</dd>
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
<dt class="r2">Includes:</dt>
|
|
94
|
+
<dd class="r2"><span class='object_link'><a href="I18n.html" title="Lazier::I18n (module)">I18n</a></span></dd>
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<dt class="r1 last">Defined in:</dt>
|
|
101
|
+
<dd class="r1 last">lib/lazier/localizer.rb</dd>
|
|
102
|
+
|
|
103
|
+
</dl>
|
|
104
|
+
<div class="clear"></div>
|
|
105
|
+
|
|
106
|
+
<h2>Overview</h2><div class="docstring">
|
|
107
|
+
<div class="discussion">
|
|
108
|
+
<p>A utility class to localize messages</p>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="tags">
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<h2>Instance Attribute Summary</h2>
|
|
123
|
+
|
|
124
|
+
<h3 class="inherited">Attributes included from <span class='object_link'><a href="I18n.html" title="Lazier::I18n (module)">I18n</a></span></h3>
|
|
125
|
+
<p class="inherited"><span class='object_link'><a href="I18n.html#i18_root-instance_method" title="Lazier::I18n#i18_root (method)">#i18_root</a></span>, <span class='object_link'><a href="I18n.html#i18n_locale-instance_method" title="Lazier::I18n#i18n_locale (method)">#i18n_locale</a></span>, <span class='object_link'><a href="I18n.html#i18n_locales_path-instance_method" title="Lazier::I18n#i18n_locales_path (method)">#i18n_locales_path</a></span>, <span class='object_link'><a href="I18n.html#i18n_root-instance_method" title="Lazier::I18n#i18n_root (method)">#i18n_root</a></span></p>
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
<h2>
|
|
130
|
+
Class Method Summary
|
|
131
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
132
|
+
</h2>
|
|
133
|
+
|
|
134
|
+
<ul class="summary">
|
|
135
|
+
|
|
136
|
+
<li class="public ">
|
|
137
|
+
<span class="summary_signature">
|
|
138
|
+
|
|
139
|
+
<a href="#localize-class_method" title="localize (class method)">+ (String|R18n::Untranslated) <strong>localize</strong>(message, *args) </a>
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
</span>
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<span class="summary_desc"><div class='inline'><p>Localize a message.</p>
|
|
154
|
+
</div></span>
|
|
155
|
+
|
|
156
|
+
</li>
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
<li class="public ">
|
|
160
|
+
<span class="summary_signature">
|
|
161
|
+
|
|
162
|
+
<a href="#localize_on_locale-class_method" title="localize_on_locale (class method)">+ (String|R18n::Untranslated) <strong>localize_on_locale</strong>(locale, message, *args) </a>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
</span>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
<span class="summary_desc"><div class='inline'><p>Localize a message in a specified locale.</p>
|
|
177
|
+
</div></span>
|
|
178
|
+
|
|
179
|
+
</li>
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
</ul>
|
|
183
|
+
|
|
184
|
+
<h2>
|
|
185
|
+
Instance Method Summary
|
|
186
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
187
|
+
</h2>
|
|
188
|
+
|
|
189
|
+
<ul class="summary">
|
|
190
|
+
|
|
191
|
+
<li class="public ">
|
|
192
|
+
<span class="summary_signature">
|
|
193
|
+
|
|
194
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Localizer) <strong>initialize</strong>(root = nil, path = nil, locale = nil) </a>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
</span>
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
<span class="note title constructor">constructor</span>
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
<span class="summary_desc"><div class='inline'><p>Initialize a new localizer.</p>
|
|
211
|
+
</div></span>
|
|
212
|
+
|
|
213
|
+
</li>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
</ul>
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="I18n.html" title="Lazier::I18n (module)">I18n</a></span></h3>
|
|
229
|
+
<p class="inherited"><span class='object_link'><a href="I18n.html#i18n-instance_method" title="Lazier::I18n#i18n (method)">#i18n</a></span>, <span class='object_link'><a href="I18n.html#i18n%3D-instance_method" title="Lazier::I18n#i18n= (method)">#i18n=</a></span>, <span class='object_link'><a href="I18n.html#i18n_setup-instance_method" title="Lazier::I18n#i18n_setup (method)">#i18n_setup</a></span></p>
|
|
230
|
+
<div id="constructor_details" class="method_details_list">
|
|
231
|
+
<h2>Constructor Details</h2>
|
|
232
|
+
|
|
233
|
+
<div class="method_details first">
|
|
234
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
235
|
+
|
|
236
|
+
- (<tt><span class='object_link'><a href="" title="Lazier::Localizer (class)">Localizer</a></span></tt>) <strong>initialize</strong>(root = nil, path = nil, locale = nil)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
</h3><div class="docstring">
|
|
243
|
+
<div class="discussion">
|
|
244
|
+
<p>Initialize a new localizer.</p>
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
</div>
|
|
248
|
+
</div>
|
|
249
|
+
<div class="tags">
|
|
250
|
+
<p class="tag_title">Parameters:</p>
|
|
251
|
+
<ul class="param">
|
|
252
|
+
|
|
253
|
+
<li>
|
|
254
|
+
|
|
255
|
+
<span class='name'>root</span>
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
—
|
|
265
|
+
<div class='inline'><p>The root level of the translation.</p>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
</li>
|
|
269
|
+
|
|
270
|
+
<li>
|
|
271
|
+
|
|
272
|
+
<span class='name'>path</span>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span></tt>)</span>
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
—
|
|
282
|
+
<div class='inline'><p>The path where the translations are stored.</p>
|
|
283
|
+
</div>
|
|
284
|
+
|
|
285
|
+
</li>
|
|
286
|
+
|
|
287
|
+
<li>
|
|
288
|
+
|
|
289
|
+
<span class='name'>locale</span>
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|Symbol</tt>)</span>
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
—
|
|
299
|
+
<div class='inline'><p>The locale to use for localization.</p>
|
|
300
|
+
</div>
|
|
301
|
+
|
|
302
|
+
</li>
|
|
303
|
+
|
|
304
|
+
</ul>
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
</div><table class="source_code">
|
|
308
|
+
<tr>
|
|
309
|
+
<td>
|
|
310
|
+
<pre class="lines">
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
17
|
|
314
|
+
18
|
|
315
|
+
19
|
|
316
|
+
20
|
|
317
|
+
21
|
|
318
|
+
22</pre>
|
|
319
|
+
</td>
|
|
320
|
+
<td>
|
|
321
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/localizer.rb', line 17</span>
|
|
322
|
+
|
|
323
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_root'>root</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_locale'>locale</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
324
|
+
<span class='id identifier rubyid_root'>root</span> <span class='op'>||=</span> <span class='symbol'>:lazier</span>
|
|
325
|
+
<span class='id identifier rubyid_path'>path</span> <span class='op'>||=</span> <span class='op'>::</span><span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_absolute_path'>absolute_path</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</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='kw'>__FILE__</span><span class='rparen'>)</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span> <span class='op'>+</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>/../../locales/</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
|
326
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n_setup'>i18n_setup</span><span class='lparen'>(</span><span class='id identifier rubyid_root'>root</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
|
|
327
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span> <span class='op'>=</span> <span class='id identifier rubyid_locale'>locale</span>
|
|
328
|
+
<span class='kw'>end</span></pre>
|
|
329
|
+
</td>
|
|
330
|
+
</tr>
|
|
331
|
+
</table>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
</div>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
<div id="class_method_details" class="method_details_list">
|
|
338
|
+
<h2>Class Method Details</h2>
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
<div class="method_details first">
|
|
342
|
+
<h3 class="signature first" id="localize-class_method">
|
|
343
|
+
|
|
344
|
+
+ (<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|R18n::Untranslated</tt>) <strong>localize</strong>(message, *args)
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
</h3><div class="docstring">
|
|
351
|
+
<div class="discussion">
|
|
352
|
+
<p>Localize a message.</p>
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
</div>
|
|
356
|
+
</div>
|
|
357
|
+
<div class="tags">
|
|
358
|
+
<p class="tag_title">Parameters:</p>
|
|
359
|
+
<ul class="param">
|
|
360
|
+
|
|
361
|
+
<li>
|
|
362
|
+
|
|
363
|
+
<span class='name'>message</span>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|Symbol</tt>)</span>
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
—
|
|
371
|
+
<div class='inline'><p>The message to localize.</p>
|
|
372
|
+
</div>
|
|
373
|
+
|
|
374
|
+
</li>
|
|
375
|
+
|
|
376
|
+
<li>
|
|
377
|
+
|
|
378
|
+
<span class='name'>args</span>
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
—
|
|
386
|
+
<div class='inline'><p>Optional arguments to localize the message.</p>
|
|
387
|
+
</div>
|
|
388
|
+
|
|
389
|
+
</li>
|
|
390
|
+
|
|
391
|
+
</ul>
|
|
392
|
+
|
|
393
|
+
<p class="tag_title">Returns:</p>
|
|
394
|
+
<ul class="return">
|
|
395
|
+
|
|
396
|
+
<li>
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|R18n::Untranslated</tt>)</span>
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
—
|
|
404
|
+
<div class='inline'><p>The localized message.</p>
|
|
405
|
+
</div>
|
|
406
|
+
|
|
407
|
+
</li>
|
|
408
|
+
|
|
409
|
+
</ul>
|
|
410
|
+
|
|
411
|
+
</div><table class="source_code">
|
|
412
|
+
<tr>
|
|
413
|
+
<td>
|
|
414
|
+
<pre class="lines">
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
29
|
|
418
|
+
30
|
|
419
|
+
31</pre>
|
|
420
|
+
</td>
|
|
421
|
+
<td>
|
|
422
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/localizer.rb', line 29</span>
|
|
423
|
+
|
|
424
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_localize'>localize</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
425
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
426
|
+
<span class='kw'>end</span></pre>
|
|
427
|
+
</td>
|
|
428
|
+
</tr>
|
|
429
|
+
</table>
|
|
430
|
+
</div>
|
|
431
|
+
|
|
432
|
+
<div class="method_details ">
|
|
433
|
+
<h3 class="signature " id="localize_on_locale-class_method">
|
|
434
|
+
|
|
435
|
+
+ (<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|R18n::Untranslated</tt>) <strong>localize_on_locale</strong>(locale, message, *args)
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
</h3><div class="docstring">
|
|
442
|
+
<div class="discussion">
|
|
443
|
+
<p>Localize a message in a specified locale.</p>
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
</div>
|
|
447
|
+
</div>
|
|
448
|
+
<div class="tags">
|
|
449
|
+
<p class="tag_title">Parameters:</p>
|
|
450
|
+
<ul class="param">
|
|
451
|
+
|
|
452
|
+
<li>
|
|
453
|
+
|
|
454
|
+
<span class='name'>locale</span>
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|Symbol</tt>)</span>
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
—
|
|
462
|
+
<div class='inline'><p>The locale to use for localization.</p>
|
|
463
|
+
</div>
|
|
464
|
+
|
|
465
|
+
</li>
|
|
466
|
+
|
|
467
|
+
<li>
|
|
468
|
+
|
|
469
|
+
<span class='name'>message</span>
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|Symbol</tt>)</span>
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
—
|
|
477
|
+
<div class='inline'><p>The message to localize.</p>
|
|
478
|
+
</div>
|
|
479
|
+
|
|
480
|
+
</li>
|
|
481
|
+
|
|
482
|
+
<li>
|
|
483
|
+
|
|
484
|
+
<span class='name'>args</span>
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
—
|
|
492
|
+
<div class='inline'><p>Optional arguments to localize the message.</p>
|
|
493
|
+
</div>
|
|
494
|
+
|
|
495
|
+
</li>
|
|
496
|
+
|
|
497
|
+
</ul>
|
|
498
|
+
|
|
499
|
+
<p class="tag_title">Returns:</p>
|
|
500
|
+
<ul class="return">
|
|
501
|
+
|
|
502
|
+
<li>
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
<span class='type'>(<tt><span class='object_link'><a href="String.html" title="Lazier::String (module)">String</a></span>|R18n::Untranslated</tt>)</span>
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
—
|
|
510
|
+
<div class='inline'><p>The localized message.</p>
|
|
511
|
+
</div>
|
|
512
|
+
|
|
513
|
+
</li>
|
|
514
|
+
|
|
515
|
+
</ul>
|
|
516
|
+
|
|
517
|
+
</div><table class="source_code">
|
|
518
|
+
<tr>
|
|
519
|
+
<td>
|
|
520
|
+
<pre class="lines">
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
39
|
|
524
|
+
40
|
|
525
|
+
41</pre>
|
|
526
|
+
</td>
|
|
527
|
+
<td>
|
|
528
|
+
<pre class="code"><span class="info file"># File 'lib/lazier/localizer.rb', line 39</span>
|
|
529
|
+
|
|
530
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_localize_on_locale'>localize_on_locale</span><span class='lparen'>(</span><span class='id identifier rubyid_locale'>locale</span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
531
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_locale'>locale</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_i18n'>i18n</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
532
|
+
<span class='kw'>end</span></pre>
|
|
533
|
+
</td>
|
|
534
|
+
</tr>
|
|
535
|
+
</table>
|
|
536
|
+
</div>
|
|
537
|
+
|
|
538
|
+
</div>
|
|
539
|
+
|
|
540
|
+
</div>
|
|
541
|
+
|
|
542
|
+
<div id="footer">
|
|
543
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
544
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
545
|
+
0.8.5.2 (ruby-1.9.3).
|
|
546
|
+
</div>
|
|
547
|
+
|
|
548
|
+
</body>
|
|
549
|
+
</html>
|
data/doc/Lazier/Math.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Math
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
</div>
|
|
122
122
|
|
|
123
123
|
<div id="footer">
|
|
124
|
-
Generated on
|
|
124
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
125
125
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
126
|
-
0.8.
|
|
126
|
+
0.8.5.2 (ruby-1.9.3).
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
129
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Math::ClassMethods
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -321,9 +321,9 @@
|
|
|
321
321
|
</div>
|
|
322
322
|
|
|
323
323
|
<div id="footer">
|
|
324
|
-
Generated on
|
|
324
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
325
325
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
326
|
-
0.8.
|
|
326
|
+
0.8.5.2 (ruby-1.9.3).
|
|
327
327
|
</div>
|
|
328
328
|
|
|
329
329
|
</body>
|
data/doc/Lazier/Object.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Object
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -1586,9 +1586,9 @@
|
|
|
1586
1586
|
</div>
|
|
1587
1587
|
|
|
1588
1588
|
<div id="footer">
|
|
1589
|
-
Generated on
|
|
1589
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
1590
1590
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1591
|
-
0.8.
|
|
1591
|
+
0.8.5.2 (ruby-1.9.3).
|
|
1592
1592
|
</div>
|
|
1593
1593
|
|
|
1594
1594
|
</body>
|
data/doc/Lazier/Pathname.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Pathname
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -217,9 +217,9 @@ Pathname.new("/usr/bin/ruby").components
|
|
|
217
217
|
</div>
|
|
218
218
|
|
|
219
219
|
<div id="footer">
|
|
220
|
-
Generated on
|
|
220
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
221
221
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
222
|
-
0.8.
|
|
222
|
+
0.8.5.2 (ruby-1.9.3).
|
|
223
223
|
</div>
|
|
224
224
|
|
|
225
225
|
</body>
|
data/doc/Lazier/Settings.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Lazier::Settings
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -2501,9 +2501,9 @@
|
|
|
2501
2501
|
</div>
|
|
2502
2502
|
|
|
2503
2503
|
<div id="footer">
|
|
2504
|
-
Generated on
|
|
2504
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
2505
2505
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2506
|
-
0.8.
|
|
2506
|
+
0.8.5.2 (ruby-1.9.3).
|
|
2507
2507
|
</div>
|
|
2508
2508
|
|
|
2509
2509
|
</body>
|
data/doc/Lazier/String.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::String
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -464,9 +464,9 @@
|
|
|
464
464
|
</div>
|
|
465
465
|
|
|
466
466
|
<div id="footer">
|
|
467
|
-
Generated on
|
|
467
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
468
468
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
469
|
-
0.8.
|
|
469
|
+
0.8.5.2 (ruby-1.9.3).
|
|
470
470
|
</div>
|
|
471
471
|
|
|
472
472
|
</body>
|
data/doc/Lazier/TimeZone.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::TimeZone
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -1697,9 +1697,9 @@
|
|
|
1697
1697
|
</div>
|
|
1698
1698
|
|
|
1699
1699
|
<div id="footer">
|
|
1700
|
-
Generated on
|
|
1700
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
1701
1701
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1702
|
-
0.8.
|
|
1702
|
+
0.8.5.2 (ruby-1.9.3).
|
|
1703
1703
|
</div>
|
|
1704
1704
|
|
|
1705
1705
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::TimeZone::ClassMethods
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -1023,9 +1023,9 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
|
1023
1023
|
</div>
|
|
1024
1024
|
|
|
1025
1025
|
<div id="footer">
|
|
1026
|
-
Generated on
|
|
1026
|
+
Generated on Wed Feb 27 09:02:56 2013 by
|
|
1027
1027
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1028
|
-
0.8.
|
|
1028
|
+
0.8.5.2 (ruby-1.9.3).
|
|
1029
1029
|
</div>
|
|
1030
1030
|
|
|
1031
1031
|
</body>
|
data/doc/Lazier/Version.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: Lazier::Version
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
|
|
150
150
|
</div>
|
|
151
151
|
</dt>
|
|
152
|
-
<dd><pre class="code"><span class='int'>
|
|
152
|
+
<dd><pre class="code"><span class='int'>6</span></pre></dd>
|
|
153
153
|
|
|
154
154
|
<dt id="STRING-constant" class="">STRING =
|
|
155
155
|
<div class="docstring">
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
</div>
|
|
181
181
|
|
|
182
182
|
<div id="footer">
|
|
183
|
-
Generated on
|
|
183
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
185
|
-
0.8.
|
|
185
|
+
0.8.5.2 (ruby-1.9.3).
|
|
186
186
|
</div>
|
|
187
187
|
|
|
188
188
|
</body>
|
data/doc/_index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
6
|
<title>
|
|
7
|
-
Documentation by YARD 0.8.
|
|
7
|
+
Documentation by YARD 0.8.5.2
|
|
8
8
|
|
|
9
9
|
</title>
|
|
10
10
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
<iframe id="search_frame"></iframe>
|
|
58
58
|
|
|
59
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.
|
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.5.2</h1>
|
|
60
60
|
<div id="listing">
|
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
|
62
62
|
|
|
@@ -326,9 +326,9 @@
|
|
|
326
326
|
</div>
|
|
327
327
|
|
|
328
328
|
<div id="footer">
|
|
329
|
-
Generated on
|
|
329
|
+
Generated on Wed Feb 27 09:02:54 2013 by
|
|
330
330
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
331
|
-
0.8.
|
|
331
|
+
0.8.5.2 (ruby-1.9.3).
|
|
332
332
|
</div>
|
|
333
333
|
|
|
334
334
|
</body>
|
data/doc/css/style.css
CHANGED
|
@@ -27,6 +27,16 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
|
|
|
27
27
|
.rdoc-term { padding-right: 25px; font-weight: bold; }
|
|
28
28
|
.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
|
|
29
29
|
|
|
30
|
+
/* style for <table> */
|
|
31
|
+
#filecontents table, .docstring table { border-collapse: collapse; }
|
|
32
|
+
#filecontents table th, #filecontents table td,
|
|
33
|
+
.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; }
|
|
34
|
+
#filecontents table tr:nth-child(odd),
|
|
35
|
+
.docstring table tr:nth-child(odd) { background: #eee; }
|
|
36
|
+
#filecontents table tr:nth-child(even),
|
|
37
|
+
.docstring table tr:nth-child(even) { background: #fff; }
|
|
38
|
+
#filecontents table th, .docstring table th { background: #fff; }
|
|
39
|
+
|
|
30
40
|
/* style for <ul> */
|
|
31
41
|
#filecontents li > p, .docstring li > p { margin: 0px; }
|
|
32
42
|
#filecontents ul, .docstring ul { padding-left: 20px; }
|
data/doc/file.README.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -63,8 +63,9 @@
|
|
|
63
63
|
|
|
64
64
|
<div id="content"><div id='filecontents'><h1 id="lazier">lazier</h1>
|
|
65
65
|
|
|
66
|
-
<p><a href="http://
|
|
66
|
+
<p><a href="http://badge.fury.io/rb/lazier"><img src="https://badge.fury.io/rb/lazier.png" alt="Gem Version" /></a>
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status" /></a>
|
|
68
|
+
<a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status" /></a>
|
|
68
69
|
<a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate" /></a></p>
|
|
69
70
|
|
|
70
71
|
<p>Several Ruby object enhancements.</p>
|
|
@@ -103,9 +104,9 @@ See documentation for more informations.</p>
|
|
|
103
104
|
</div></div>
|
|
104
105
|
|
|
105
106
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
107
|
+
Generated on Wed Feb 27 09:02:54 2013 by
|
|
107
108
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
|
-
0.8.
|
|
109
|
+
0.8.5.2 (ruby-1.9.3).
|
|
109
110
|
</div>
|
|
110
111
|
|
|
111
112
|
</body>
|
data/doc/frames.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
5
5
|
<head>
|
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
7
|
-
<title>Documentation by YARD 0.8.
|
|
7
|
+
<title>Documentation by YARD 0.8.5.2</title>
|
|
8
8
|
</head>
|
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
File: README
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -63,8 +63,9 @@
|
|
|
63
63
|
|
|
64
64
|
<div id="content"><div id='filecontents'><h1 id="lazier">lazier</h1>
|
|
65
65
|
|
|
66
|
-
<p><a href="http://
|
|
66
|
+
<p><a href="http://badge.fury.io/rb/lazier"><img src="https://badge.fury.io/rb/lazier.png" alt="Gem Version" /></a>
|
|
67
67
|
<a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status" /></a>
|
|
68
|
+
<a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status" /></a>
|
|
68
69
|
<a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate" /></a></p>
|
|
69
70
|
|
|
70
71
|
<p>Several Ruby object enhancements.</p>
|
|
@@ -103,9 +104,9 @@ See documentation for more informations.</p>
|
|
|
103
104
|
</div></div>
|
|
104
105
|
|
|
105
106
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
107
|
+
Generated on Wed Feb 27 09:02:54 2013 by
|
|
107
108
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
|
-
0.8.
|
|
109
|
+
0.8.5.2 (ruby-1.9.3).
|
|
109
110
|
</div>
|
|
110
111
|
|
|
111
112
|
</body>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Top Level Namespace
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
106
|
+
Generated on Wed Feb 27 09:02:55 2013 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
|
-
0.8.
|
|
108
|
+
0.8.5.2 (ruby-1.9.3).
|
|
109
109
|
</div>
|
|
110
110
|
|
|
111
111
|
</body>
|
data/lazier.gemspec
CHANGED
|
@@ -24,8 +24,8 @@ Gem::Specification.new do |gem|
|
|
|
24
24
|
|
|
25
25
|
gem.required_ruby_version = ">= 1.9.2"
|
|
26
26
|
|
|
27
|
-
gem.add_dependency("json", "~> 1.7.
|
|
28
|
-
gem.add_dependency("actionpack", ">= 3.2.
|
|
27
|
+
gem.add_dependency("json", "~> 1.7.7")
|
|
28
|
+
gem.add_dependency("actionpack", ">= 3.2.12") # We don't use ~> to enable use with 4.0
|
|
29
29
|
gem.add_dependency("tzinfo", "~> 0.3.35")
|
|
30
|
-
gem.add_dependency("r18n-desktop", "~> 1.1.
|
|
30
|
+
gem.add_dependency("r18n-desktop", "~> 1.1.4")
|
|
31
31
|
end
|
data/lib/lazier/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lazier
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.6.
|
|
4
|
+
version: 2.6.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 1.7.
|
|
21
|
+
version: 1.7.7
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ~>
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 1.7.
|
|
29
|
+
version: 1.7.7
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: actionpack
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -34,7 +34,7 @@ dependencies:
|
|
|
34
34
|
requirements:
|
|
35
35
|
- - ! '>='
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version: 3.2.
|
|
37
|
+
version: 3.2.12
|
|
38
38
|
type: :runtime
|
|
39
39
|
prerelease: false
|
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -42,7 +42,7 @@ dependencies:
|
|
|
42
42
|
requirements:
|
|
43
43
|
- - ! '>='
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: 3.2.
|
|
45
|
+
version: 3.2.12
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: tzinfo
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ~>
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 1.1.
|
|
69
|
+
version: 1.1.4
|
|
70
70
|
type: :runtime
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -74,7 +74,7 @@ dependencies:
|
|
|
74
74
|
requirements:
|
|
75
75
|
- - ~>
|
|
76
76
|
- !ruby/object:Gem::Version
|
|
77
|
-
version: 1.1.
|
|
77
|
+
version: 1.1.4
|
|
78
78
|
description: Several Ruby object enhancements.
|
|
79
79
|
email:
|
|
80
80
|
- shogun_panda@me.com
|
|
@@ -98,6 +98,7 @@ files:
|
|
|
98
98
|
- doc/Lazier/Exceptions/MissingTranslation.html
|
|
99
99
|
- doc/Lazier/Hash.html
|
|
100
100
|
- doc/Lazier/I18n.html
|
|
101
|
+
- doc/Lazier/Localizer.html
|
|
101
102
|
- doc/Lazier/Math.html
|
|
102
103
|
- doc/Lazier/Math/ClassMethods.html
|
|
103
104
|
- doc/Lazier/Object.html
|
|
@@ -170,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
170
171
|
version: '0'
|
|
171
172
|
segments:
|
|
172
173
|
- 0
|
|
173
|
-
hash:
|
|
174
|
+
hash: 2509414459747648403
|
|
174
175
|
requirements: []
|
|
175
176
|
rubyforge_project: lazier
|
|
176
177
|
rubygems_version: 1.8.25
|