lazier 4.2.1 → 4.2.2
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/.gitignore +1 -0
- data/.rubocop.yml +6 -1
- data/.travis-gemfile +4 -5
- data/.travis.yml +5 -3
- data/.yardopts +1 -1
- data/Gemfile +6 -6
- data/README.md +7 -5
- data/{doc → docs}/Lazier.html +83 -83
- data/{doc → docs}/Lazier/Boolean.html +49 -46
- data/{doc → docs}/Lazier/Configuration.html +51 -48
- data/{doc → docs}/Lazier/DateTime.html +51 -48
- data/{doc → docs}/Lazier/DateTime/ClassMethods.html +52 -50
- data/{doc → docs}/Lazier/Exceptions.html +39 -37
- data/{doc → docs}/Lazier/Exceptions/Debug.html +45 -42
- data/{doc → docs}/Lazier/Exceptions/MissingTranslation.html +48 -45
- data/{doc → docs}/Lazier/Exceptions/TranslationExceptionHandler.html +48 -45
- data/{doc → docs}/Lazier/Hash.html +61 -60
- data/{doc → docs}/Lazier/I18n.html +72 -72
- data/{doc → docs}/Lazier/Math.html +44 -41
- data/{doc → docs}/Lazier/Math/ClassMethods.html +44 -42
- data/{doc → docs}/Lazier/Object.html +106 -105
- data/{doc → docs}/Lazier/Pathname.html +47 -44
- data/{doc → docs}/Lazier/Settings.html +72 -69
- data/{doc → docs}/Lazier/String.html +55 -52
- data/{doc → docs}/Lazier/TimeZone.html +78 -77
- data/{doc → docs}/Lazier/TimeZone/ClassMethods.html +54 -52
- data/docs/Lazier/Version.html +189 -0
- data/{doc → docs}/_index.html +29 -30
- data/docs/class_list.html +51 -0
- data/{doc → docs}/css/common.css +0 -0
- data/{doc → docs}/css/full_list.css +32 -31
- data/{doc → docs}/css/style.css +220 -78
- data/{doc → docs}/file.README.html +35 -34
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/{doc → docs}/index.html +35 -34
- data/{doc → docs}/js/app.js +100 -76
- data/docs/js/full_list.js +216 -0
- data/{doc → docs}/js/jquery.js +0 -0
- data/docs/method_list.html +883 -0
- data/docs/top-level-namespace.html +112 -0
- data/lazier.gemspec +5 -5
- data/lib/lazier/version.rb +1 -1
- metadata +42 -43
- data/doc/Lazier/Version.html +0 -189
- data/doc/class_list.html +0 -58
- data/doc/file_list.html +0 -60
- data/doc/frames.html +0 -26
- data/doc/js/full_list.js +0 -181
- data/doc/method_list.html +0 -681
- data/doc/top-level-namespace.html +0 -112
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: Lazier::TimeZone::ClassMethods
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.5
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,9 +15,8 @@
|
|
15
15
|
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "Lazier::TimeZone::ClassMethods";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!Lazier/TimeZone/ClassMethods.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,63 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (C)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../../Lazier.html" title="Lazier (module)">Lazier</a></span></span> » <span class='title'><span class='object_link'><a href="../TimeZone.html" title="Lazier::TimeZone (module)">TimeZone</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">ClassMethods</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Module: Lazier::TimeZone::ClassMethods
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
71
|
|
72
|
-
<dl class="box">
|
73
72
|
|
74
73
|
|
75
|
-
|
76
74
|
|
77
|
-
|
78
75
|
|
79
76
|
|
77
|
+
|
78
|
+
|
79
|
+
|
80
80
|
|
81
|
-
|
82
|
-
<
|
81
|
+
<dl>
|
82
|
+
<dt>Defined in:</dt>
|
83
|
+
<dd>lib/lazier/timezone.rb</dd>
|
84
|
+
</dl>
|
83
85
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
86
|
+
</div>
|
86
87
|
|
87
88
|
<h2>Overview</h2><div class="docstring">
|
88
89
|
<div class="discussion">
|
@@ -104,7 +105,7 @@
|
|
104
105
|
|
105
106
|
<h2>
|
106
107
|
Instance Method Summary
|
107
|
-
<small
|
108
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
108
109
|
</h2>
|
109
110
|
|
110
111
|
<ul class="summary">
|
@@ -112,7 +113,7 @@
|
|
112
113
|
<li class="public ">
|
113
114
|
<span class="summary_signature">
|
114
115
|
|
115
|
-
<a href="#compare-instance_method" title="#compare (instance method)"
|
116
|
+
<a href="#compare-instance_method" title="#compare (instance method)">#<strong>compare</strong>(left, right) ⇒ Fixnum </a>
|
116
117
|
|
117
118
|
|
118
119
|
|
@@ -135,7 +136,7 @@
|
|
135
136
|
<li class="public ">
|
136
137
|
<span class="summary_signature">
|
137
138
|
|
138
|
-
<a href="#find-instance_method" title="#find (instance method)"
|
139
|
+
<a href="#find-instance_method" title="#find (instance method)">#<strong>find</strong>(name, dst_label = " (DST)") ⇒ TimeZone </a>
|
139
140
|
|
140
141
|
|
141
142
|
|
@@ -158,7 +159,7 @@
|
|
158
159
|
<li class="public ">
|
159
160
|
<span class="summary_signature">
|
160
161
|
|
161
|
-
<a href="#format_offset-instance_method" title="#format_offset (instance method)"
|
162
|
+
<a href="#format_offset-instance_method" title="#format_offset (instance method)">#<strong>format_offset</strong>(offset, colon = true) ⇒ String </a>
|
162
163
|
|
163
164
|
|
164
165
|
|
@@ -181,7 +182,7 @@
|
|
181
182
|
<li class="public ">
|
182
183
|
<span class="summary_signature">
|
183
184
|
|
184
|
-
<a href="#list-instance_method" title="#list (instance method)"
|
185
|
+
<a href="#list-instance_method" title="#list (instance method)">#<strong>list</strong>(with_dst = true, dst_label: " (DST)", parameterized: false, sort_by_name: true, as_hash: false) ⇒ Array|Hash </a>
|
185
186
|
|
186
187
|
|
187
188
|
|
@@ -204,7 +205,7 @@
|
|
204
205
|
<li class="public ">
|
205
206
|
<span class="summary_signature">
|
206
207
|
|
207
|
-
<a href="#parameterize-instance_method" title="#parameterize (instance method)"
|
208
|
+
<a href="#parameterize-instance_method" title="#parameterize (instance method)">#<strong>parameterize</strong>(tz, with_offset = true) ⇒ String </a>
|
208
209
|
|
209
210
|
|
210
211
|
|
@@ -227,7 +228,7 @@
|
|
227
228
|
<li class="public ">
|
228
229
|
<span class="summary_signature">
|
229
230
|
|
230
|
-
<a href="#rationalize_offset-instance_method" title="#rationalize_offset (instance method)"
|
231
|
+
<a href="#rationalize_offset-instance_method" title="#rationalize_offset (instance method)">#<strong>rationalize_offset</strong>(offset) ⇒ Rational </a>
|
231
232
|
|
232
233
|
|
233
234
|
|
@@ -250,7 +251,7 @@
|
|
250
251
|
<li class="public ">
|
251
252
|
<span class="summary_signature">
|
252
253
|
|
253
|
-
<a href="#unparameterize-instance_method" title="#unparameterize (instance method)"
|
254
|
+
<a href="#unparameterize-instance_method" title="#unparameterize (instance method)">#<strong>unparameterize</strong>(tz, dst_label = " (DST)") ⇒ TimeZone </a>
|
254
255
|
|
255
256
|
|
256
257
|
|
@@ -282,7 +283,7 @@
|
|
282
283
|
<div class="method_details first">
|
283
284
|
<h3 class="signature first" id="compare-instance_method">
|
284
285
|
|
285
|
-
|
286
|
+
#<strong>compare</strong>(left, right) ⇒ <tt>Fixnum</tt>
|
286
287
|
|
287
288
|
|
288
289
|
|
@@ -377,7 +378,7 @@
|
|
377
378
|
<div class="method_details ">
|
378
379
|
<h3 class="signature " id="find-instance_method">
|
379
380
|
|
380
|
-
|
381
|
+
#<strong>find</strong>(name, dst_label = " (DST)") ⇒ <tt><span class='object_link'><a href="../TimeZone.html" title="Lazier::TimeZone (module)">TimeZone</a></span></tt>
|
381
382
|
|
382
383
|
|
383
384
|
|
@@ -474,7 +475,7 @@
|
|
474
475
|
<div class="method_details ">
|
475
476
|
<h3 class="signature " id="format_offset-instance_method">
|
476
477
|
|
477
|
-
|
478
|
+
#<strong>format_offset</strong>(offset, colon = true) ⇒ <tt><span class='object_link'><a href="../String.html" title="Lazier::String (module)">String</a></span></tt>
|
478
479
|
|
479
480
|
|
480
481
|
|
@@ -567,7 +568,7 @@
|
|
567
568
|
<div class="method_details ">
|
568
569
|
<h3 class="signature " id="list-instance_method">
|
569
570
|
|
570
|
-
|
571
|
+
#<strong>list</strong>(with_dst = true, dst_label: " (DST)", parameterized: false, sort_by_name: true, as_hash: false) ⇒ <tt>Array|<span class='object_link'><a href="../Hash.html" title="Lazier::Hash (module)">Hash</a></span></tt>
|
571
572
|
|
572
573
|
|
573
574
|
|
@@ -708,7 +709,7 @@
|
|
708
709
|
<div class="method_details ">
|
709
710
|
<h3 class="signature " id="parameterize-instance_method">
|
710
711
|
|
711
|
-
|
712
|
+
#<strong>parameterize</strong>(tz, with_offset = true) ⇒ <tt><span class='object_link'><a href="../String.html" title="Lazier::String (module)">String</a></span></tt>
|
712
713
|
|
713
714
|
|
714
715
|
|
@@ -824,7 +825,7 @@ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canad
|
|
824
825
|
<div class="method_details ">
|
825
826
|
<h3 class="signature " id="rationalize_offset-instance_method">
|
826
827
|
|
827
|
-
|
828
|
+
#<strong>rationalize_offset</strong>(offset) ⇒ <tt>Rational</tt>
|
828
829
|
|
829
830
|
|
830
831
|
|
@@ -901,7 +902,7 @@ Returns an offset in rational value.</p>
|
|
901
902
|
<div class="method_details ">
|
902
903
|
<h3 class="signature " id="unparameterize-instance_method">
|
903
904
|
|
904
|
-
|
905
|
+
#<strong>unparameterize</strong>(tz, dst_label = " (DST)") ⇒ <tt><span class='object_link'><a href="../TimeZone.html" title="Lazier::TimeZone (module)">TimeZone</a></span></tt>
|
905
906
|
|
906
907
|
|
907
908
|
|
@@ -1004,11 +1005,12 @@ Returns an offset in rational value.</p>
|
|
1004
1005
|
|
1005
1006
|
</div>
|
1006
1007
|
|
1007
|
-
|
1008
|
-
Generated on
|
1008
|
+
<div id="footer">
|
1009
|
+
Generated on Thu Nov 10 11:39:24 2016 by
|
1009
1010
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1010
|
-
0.
|
1011
|
+
0.9.5 (ruby-2.3.0).
|
1011
1012
|
</div>
|
1012
1013
|
|
1014
|
+
</div>
|
1013
1015
|
</body>
|
1014
1016
|
</html>
|
@@ -0,0 +1,189 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Module: Lazier::Version
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.5
|
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
|
+
pathId = "Lazier::Version";
|
19
|
+
relpath = '../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../class_list.html"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../_index.html">Index (V)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../Lazier.html" title="Lazier (module)">Lazier</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Version</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
63
|
+
|
64
|
+
<div id="content"><h1>Module: Lazier::Version
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dl>
|
82
|
+
<dt>Defined in:</dt>
|
83
|
+
<dd>lib/lazier/version.rb</dd>
|
84
|
+
</dl>
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<h2>Overview</h2><div class="docstring">
|
89
|
+
<div class="discussion">
|
90
|
+
<p>The current version of lazier, according to semantic versioning.</p>
|
91
|
+
|
92
|
+
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
<div class="tags">
|
96
|
+
|
97
|
+
|
98
|
+
<p class="tag_title">See Also:</p>
|
99
|
+
<ul class="see">
|
100
|
+
|
101
|
+
<li><a href="http://semver.org" target="_parent" title="http://semver.org">http://semver.org</a></li>
|
102
|
+
|
103
|
+
</ul>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
<h2>Constant Summary</h2>
|
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'>4</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'>2</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'>2</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
|
+
</div>
|
180
|
+
|
181
|
+
<div id="footer">
|
182
|
+
Generated on Thu Nov 10 11:39:24 2016 by
|
183
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
184
|
+
0.9.5 (ruby-2.3.0).
|
185
|
+
</div>
|
186
|
+
|
187
|
+
</div>
|
188
|
+
</body>
|
189
|
+
</html>
|