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
@@ -0,0 +1,112 @@
|
|
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
|
+
Top Level Namespace
|
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 = "";
|
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</a> »
|
40
|
+
|
41
|
+
|
42
|
+
<span class="title">Top Level Namespace</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>Top Level Namespace
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
</h1>
|
69
|
+
<div class="box_info">
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
</div>
|
82
|
+
|
83
|
+
<h2>Defined Under Namespace</h2>
|
84
|
+
<p class="children">
|
85
|
+
|
86
|
+
|
87
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Lazier.html" title="Lazier (module)">Lazier</a></span>
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
</p>
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<div id="footer">
|
105
|
+
Generated on Thu Nov 10 11:39:23 2016 by
|
106
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
107
|
+
0.9.5 (ruby-2.3.0).
|
108
|
+
</div>
|
109
|
+
|
110
|
+
</div>
|
111
|
+
</body>
|
112
|
+
</html>
|
data/lazier.gemspec
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
|
5
5
|
#
|
6
6
|
|
7
|
-
require File.expand_path(
|
7
|
+
require File.expand_path("../lib/lazier/version", __FILE__)
|
8
8
|
|
9
9
|
Gem::Specification.new do |gem|
|
10
10
|
gem.name = "lazier"
|
@@ -25,12 +25,12 @@ Gem::Specification.new do |gem|
|
|
25
25
|
|
26
26
|
gem.required_ruby_version = ">= 2.3.0"
|
27
27
|
|
28
|
-
gem.add_dependency("activesupport", "
|
29
|
-
gem.add_dependency("hashie", "~> 3.
|
28
|
+
gem.add_dependency("activesupport", "> 4.1")
|
29
|
+
gem.add_dependency("hashie", "~> 3.4")
|
30
30
|
|
31
31
|
if RUBY_ENGINE != "jruby"
|
32
|
-
gem.add_dependency("oj", "~> 2.
|
32
|
+
gem.add_dependency("oj", "~> 2.17")
|
33
33
|
else
|
34
|
-
gem.add_dependency("json", "~>
|
34
|
+
gem.add_dependency("json", "~> 2.0")
|
35
35
|
end
|
36
36
|
end
|
data/lib/lazier/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shogun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '3.
|
40
|
+
version: '3.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: oj
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.17'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
54
|
+
version: '2.17'
|
55
55
|
description: Several Ruby object enhancements.
|
56
56
|
email:
|
57
57
|
- shogun@cowtech.it
|
@@ -69,40 +69,40 @@ files:
|
|
69
69
|
- Gemfile
|
70
70
|
- README.md
|
71
71
|
- Rakefile
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
-
|
88
|
-
-
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
72
|
+
- docs/Lazier.html
|
73
|
+
- docs/Lazier/Boolean.html
|
74
|
+
- docs/Lazier/Configuration.html
|
75
|
+
- docs/Lazier/DateTime.html
|
76
|
+
- docs/Lazier/DateTime/ClassMethods.html
|
77
|
+
- docs/Lazier/Exceptions.html
|
78
|
+
- docs/Lazier/Exceptions/Debug.html
|
79
|
+
- docs/Lazier/Exceptions/MissingTranslation.html
|
80
|
+
- docs/Lazier/Exceptions/TranslationExceptionHandler.html
|
81
|
+
- docs/Lazier/Hash.html
|
82
|
+
- docs/Lazier/I18n.html
|
83
|
+
- docs/Lazier/Math.html
|
84
|
+
- docs/Lazier/Math/ClassMethods.html
|
85
|
+
- docs/Lazier/Object.html
|
86
|
+
- docs/Lazier/Pathname.html
|
87
|
+
- docs/Lazier/Settings.html
|
88
|
+
- docs/Lazier/String.html
|
89
|
+
- docs/Lazier/TimeZone.html
|
90
|
+
- docs/Lazier/TimeZone/ClassMethods.html
|
91
|
+
- docs/Lazier/Version.html
|
92
|
+
- docs/_index.html
|
93
|
+
- docs/class_list.html
|
94
|
+
- docs/css/common.css
|
95
|
+
- docs/css/full_list.css
|
96
|
+
- docs/css/style.css
|
97
|
+
- docs/file.README.html
|
98
|
+
- docs/file_list.html
|
99
|
+
- docs/frames.html
|
100
|
+
- docs/index.html
|
101
|
+
- docs/js/app.js
|
102
|
+
- docs/js/full_list.js
|
103
|
+
- docs/js/jquery.js
|
104
|
+
- docs/method_list.html
|
105
|
+
- docs/top-level-namespace.html
|
106
106
|
- lazier.gemspec
|
107
107
|
- lib/lazier.rb
|
108
108
|
- lib/lazier/boolean.rb
|
@@ -173,4 +173,3 @@ test_files:
|
|
173
173
|
- spec/lazier/timezone_spec.rb
|
174
174
|
- spec/lazier_spec.rb
|
175
175
|
- spec/spec_helper.rb
|
176
|
-
has_rdoc:
|
data/doc/Lazier/Version.html
DELETED
@@ -1,189 +0,0 @@
|
|
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.7.6
|
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#!Lazier/Version.html";
|
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'>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'>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 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 Tue Mar 29 11:11:36 2016 by
|
184
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.7.6 (ruby-2.3.0).
|
186
|
-
</div>
|
187
|
-
|
188
|
-
</body>
|
189
|
-
</html>
|