lazier 4.0.5 → 4.0.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.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/.travis-gemfile +2 -2
- data/CHANGELOG.md +4 -0
- data/Gemfile +4 -4
- data/README.md +1 -1
- data/doc/Lazier.html +50 -50
- data/doc/Lazier/Boolean.html +2 -2
- data/doc/Lazier/Configuration.html +2 -2
- data/doc/Lazier/DateTime.html +2 -2
- data/doc/Lazier/DateTime/ClassMethods.html +2 -2
- data/doc/Lazier/Exceptions.html +2 -2
- data/doc/Lazier/Exceptions/Debug.html +2 -2
- data/doc/Lazier/Exceptions/MissingTranslation.html +2 -2
- data/doc/Lazier/Exceptions/TranslationExceptionHandler.html +2 -2
- data/doc/Lazier/Hash.html +2 -2
- data/doc/Lazier/I18n.html +2 -2
- data/doc/Lazier/Math.html +2 -2
- data/doc/Lazier/Math/ClassMethods.html +2 -2
- data/doc/Lazier/Object.html +2 -2
- data/doc/Lazier/Pathname.html +2 -2
- data/doc/Lazier/Settings.html +2 -2
- data/doc/Lazier/String.html +2 -2
- data/doc/Lazier/TimeZone.html +2 -2
- data/doc/Lazier/TimeZone/ClassMethods.html +2 -2
- data/doc/Lazier/Version.html +3 -3
- data/doc/_index.html +2 -2
- data/doc/file.README.html +3 -3
- data/doc/index.html +3 -3
- data/doc/top-level-namespace.html +2 -2
- data/lazier.gemspec +4 -3
- data/lib/lazier.rb +2 -0
- data/lib/lazier/version.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5d481e8bd9cdd8693a72d52fb2511aceb4dd5db
|
4
|
+
data.tar.gz: 193b2ae20ea19e1eb29f65c2a4ada418b1cc4ff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fd71ebea9d562cc6db18b3b3e636e7b49c22d9d2c33a971b5eed05c884e922c1b7df2f107a6653d32ae54fc1632c585a4654bf99490a8381f3385ac456f46af
|
7
|
+
data.tar.gz: fbc89a2e2d3348e4efcbc8eb92c51078f71d3472dcae49525c2412a3bc8ee31f0da6a3eb238396d7dfb95b7ddb98a6b8aff3da5dc520986c526b358f28c362ca
|
data/.rubocop.yml
CHANGED
data/.travis-gemfile
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -9,13 +9,13 @@ source "http://rubygems.org"
|
|
9
9
|
gemspec
|
10
10
|
|
11
11
|
# Testing
|
12
|
-
gem "rspec", "~> 3.
|
12
|
+
gem "rspec", "~> 3.1"
|
13
13
|
gem "rake", "~> 10.3"
|
14
14
|
|
15
15
|
# Documentation
|
16
|
-
gem "simplecov", "~> 0.
|
16
|
+
gem "simplecov", "~> 0.9"
|
17
17
|
gem "coveralls", "~> 0.7", require: false
|
18
18
|
gem "pry", "~> 0"
|
19
19
|
gem "yard", "~> 0.8"
|
20
|
-
gem "kramdown", "~> 1.
|
21
|
-
gem "github-markup", "~> 1.
|
20
|
+
gem "kramdown", "~> 1.4"
|
21
|
+
gem "github-markup", "~> 1.3" if RUBY_ENGINE != "jruby"
|
data/README.md
CHANGED
data/doc/Lazier.html
CHANGED
@@ -523,13 +523,13 @@ otherwise the duration alone as a number.</p>
|
|
523
523
|
<pre class="lines">
|
524
524
|
|
525
525
|
|
526
|
-
144
|
527
|
-
145
|
528
526
|
146
|
529
|
-
147
|
527
|
+
147
|
528
|
+
148
|
529
|
+
149</pre>
|
530
530
|
</td>
|
531
531
|
<td>
|
532
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
532
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 146</span>
|
533
533
|
|
534
534
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_benchmark'>benchmark</span><span class='lparen'>(</span><span class='label'>message:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>precision:</span> <span class='int'>0</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
535
535
|
<span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='const'>Benchmark</span><span class='period'>.</span><span class='id identifier rubyid_ms'>ms</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
@@ -636,18 +636,18 @@ Otherwise the class of the object will returned.</p>
|
|
636
636
|
<pre class="lines">
|
637
637
|
|
638
638
|
|
639
|
-
127
|
640
|
-
128
|
641
639
|
129
|
642
640
|
130
|
643
641
|
131
|
644
642
|
132
|
645
643
|
133
|
646
644
|
134
|
647
|
-
135
|
645
|
+
135
|
646
|
+
136
|
647
|
+
137</pre>
|
648
648
|
</td>
|
649
649
|
<td>
|
650
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
650
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 129</span>
|
651
651
|
|
652
652
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_find_class'>find_class</span><span class='lparen'>(</span><span class='id identifier rubyid_cls'>cls</span><span class='comma'>,</span> <span class='id identifier rubyid_scope'>scope</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>::@</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_only_in_scope'>only_in_scope</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
653
653
|
<span class='kw'>if</span> <span class='lbracket'>[</span><span class='op'>::</span><span class='const'>String</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Symbol</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span><span class='lparen'>(</span><span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='rparen'>)</span>
|
@@ -733,17 +733,17 @@ Otherwise the class of the object will returned.</p>
|
|
733
733
|
<pre class="lines">
|
734
734
|
|
735
735
|
|
736
|
-
54
|
737
|
-
55
|
738
736
|
56
|
739
737
|
57
|
740
738
|
58
|
741
739
|
59
|
742
740
|
60
|
743
|
-
61
|
741
|
+
61
|
742
|
+
62
|
743
|
+
63</pre>
|
744
744
|
</td>
|
745
745
|
<td>
|
746
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
746
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 56</span>
|
747
747
|
|
748
748
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load!'>load!</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_what'>what</span><span class='rparen'>)</span>
|
749
749
|
<span class='id identifier rubyid_valid_modules'>valid_modules</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:object</span><span class='comma'>,</span> <span class='symbol'>:boolean</span><span class='comma'>,</span> <span class='symbol'>:string</span><span class='comma'>,</span> <span class='symbol'>:hash</span><span class='comma'>,</span> <span class='symbol'>:datetime</span><span class='comma'>,</span> <span class='symbol'>:math</span><span class='comma'>,</span> <span class='symbol'>:pathname</span><span class='rbracket'>]</span>
|
@@ -783,8 +783,6 @@ Otherwise the class of the object will returned.</p>
|
|
783
783
|
<pre class="lines">
|
784
784
|
|
785
785
|
|
786
|
-
70
|
787
|
-
71
|
788
786
|
72
|
789
787
|
73
|
790
788
|
74
|
@@ -792,10 +790,12 @@ Otherwise the class of the object will returned.</p>
|
|
792
790
|
76
|
793
791
|
77
|
794
792
|
78
|
795
|
-
79
|
793
|
+
79
|
794
|
+
80
|
795
|
+
81</pre>
|
796
796
|
</td>
|
797
797
|
<td>
|
798
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
798
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 72</span>
|
799
799
|
|
800
800
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_boolean'>load_boolean</span>
|
801
801
|
<span class='id identifier rubyid_perform_load'>perform_load</span><span class='lparen'>(</span><span class='symbol'>:boolean</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
@@ -837,8 +837,6 @@ Otherwise the class of the object will returned.</p>
|
|
837
837
|
<pre class="lines">
|
838
838
|
|
839
839
|
|
840
|
-
97
|
841
|
-
98
|
842
840
|
99
|
843
841
|
100
|
844
842
|
101
|
@@ -847,10 +845,12 @@ Otherwise the class of the object will returned.</p>
|
|
847
845
|
104
|
848
846
|
105
|
849
847
|
106
|
850
|
-
107
|
848
|
+
107
|
849
|
+
108
|
850
|
+
109</pre>
|
851
851
|
</td>
|
852
852
|
<td>
|
853
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
853
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 99</span>
|
854
854
|
|
855
855
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_datetime'>load_datetime</span>
|
856
856
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
@@ -893,17 +893,17 @@ Otherwise the class of the object will returned.</p>
|
|
893
893
|
<pre class="lines">
|
894
894
|
|
895
895
|
|
896
|
-
87
|
897
|
-
88
|
898
896
|
89
|
899
897
|
90
|
900
898
|
91
|
901
899
|
92
|
902
900
|
93
|
903
|
-
94
|
901
|
+
94
|
902
|
+
95
|
903
|
+
96</pre>
|
904
904
|
</td>
|
905
905
|
<td>
|
906
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
906
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 89</span>
|
907
907
|
|
908
908
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_hash'>load_hash</span>
|
909
909
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
@@ -943,13 +943,13 @@ Otherwise the class of the object will returned.</p>
|
|
943
943
|
<pre class="lines">
|
944
944
|
|
945
945
|
|
946
|
-
110
|
947
|
-
111
|
948
946
|
112
|
949
|
-
113
|
947
|
+
113
|
948
|
+
114
|
949
|
+
115</pre>
|
950
950
|
</td>
|
951
951
|
<td>
|
952
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
952
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 112</span>
|
953
953
|
|
954
954
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_math'>load_math</span>
|
955
955
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
@@ -985,13 +985,13 @@ Otherwise the class of the object will returned.</p>
|
|
985
985
|
<pre class="lines">
|
986
986
|
|
987
987
|
|
988
|
-
64
|
989
|
-
65
|
990
988
|
66
|
991
|
-
67
|
989
|
+
67
|
990
|
+
68
|
991
|
+
69</pre>
|
992
992
|
</td>
|
993
993
|
<td>
|
994
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
994
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 66</span>
|
995
995
|
|
996
996
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_object'>load_object</span>
|
997
997
|
<span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load_boolean'>load_boolean</span>
|
@@ -1027,12 +1027,12 @@ Otherwise the class of the object will returned.</p>
|
|
1027
1027
|
<pre class="lines">
|
1028
1028
|
|
1029
1029
|
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1030
|
+
118
|
1031
|
+
119
|
1032
|
+
120</pre>
|
1033
1033
|
</td>
|
1034
1034
|
<td>
|
1035
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1035
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 118</span>
|
1036
1036
|
|
1037
1037
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_pathname'>load_pathname</span>
|
1038
1038
|
<span class='id identifier rubyid_perform_load'>perform_load</span><span class='lparen'>(</span><span class='symbol'>:pathname</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Pathname</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Pathname</span><span class='rparen'>)</span>
|
@@ -1067,12 +1067,12 @@ Otherwise the class of the object will returned.</p>
|
|
1067
1067
|
<pre class="lines">
|
1068
1068
|
|
1069
1069
|
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1070
|
+
84
|
1071
|
+
85
|
1072
|
+
86</pre>
|
1073
1073
|
</td>
|
1074
1074
|
<td>
|
1075
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1075
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 84</span>
|
1076
1076
|
|
1077
1077
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_load_string'>load_string</span>
|
1078
1078
|
<span class='id identifier rubyid_perform_load'>perform_load</span><span class='lparen'>(</span><span class='symbol'>:string</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>String</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>String</span><span class='rparen'>)</span>
|
@@ -1137,8 +1137,6 @@ Otherwise the class of the object will returned.</p>
|
|
1137
1137
|
<pre class="lines">
|
1138
1138
|
|
1139
1139
|
|
1140
|
-
153
|
1141
|
-
154
|
1142
1140
|
155
|
1143
1141
|
156
|
1144
1142
|
157
|
@@ -1147,10 +1145,12 @@ Otherwise the class of the object will returned.</p>
|
|
1147
1145
|
160
|
1148
1146
|
161
|
1149
1147
|
162
|
1150
|
-
163
|
1148
|
+
163
|
1149
|
+
164
|
1150
|
+
165</pre>
|
1151
1151
|
</td>
|
1152
1152
|
<td>
|
1153
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1153
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 155</span>
|
1154
1154
|
|
1155
1155
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='lparen'>(</span><span class='id identifier rubyid_force'>force</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
1156
1156
|
<span class='ivar'>@platform</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='kw'>if</span> <span class='id identifier rubyid_force'>force</span>
|
@@ -1210,12 +1210,12 @@ Otherwise the class of the object will returned.</p>
|
|
1210
1210
|
<pre class="lines">
|
1211
1211
|
|
1212
1212
|
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1213
|
+
39
|
1214
|
+
40
|
1215
|
+
41</pre>
|
1216
1216
|
</td>
|
1217
1217
|
<td>
|
1218
|
-
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line
|
1218
|
+
<pre class="code"><span class="info file"># File 'lib/lazier.rb', line 39</span>
|
1219
1219
|
|
1220
1220
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_settings'>settings</span>
|
1221
1221
|
<span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Settings</span><span class='period'>.</span><span class='id identifier rubyid_instance'>instance</span>
|
@@ -1230,9 +1230,9 @@ Otherwise the class of the object will returned.</p>
|
|
1230
1230
|
</div>
|
1231
1231
|
|
1232
1232
|
<div id="footer">
|
1233
|
-
Generated on
|
1233
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
1234
1234
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1235
|
-
0.8.7.4 (ruby-2.1.
|
1235
|
+
0.8.7.4 (ruby-2.1.3).
|
1236
1236
|
</div>
|
1237
1237
|
|
1238
1238
|
</body>
|
data/doc/Lazier/Boolean.html
CHANGED
@@ -288,9 +288,9 @@
|
|
288
288
|
</div>
|
289
289
|
|
290
290
|
<div id="footer">
|
291
|
-
Generated on
|
291
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
292
292
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
293
|
-
0.8.7.4 (ruby-2.1.
|
293
|
+
0.8.7.4 (ruby-2.1.3).
|
294
294
|
</div>
|
295
295
|
|
296
296
|
</body>
|
@@ -360,9 +360,9 @@ Options are as follows:</p>
|
|
360
360
|
</div>
|
361
361
|
|
362
362
|
<div id="footer">
|
363
|
-
Generated on
|
363
|
+
Generated on Mon Sep 29 16:27:07 2014 by
|
364
364
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
365
|
-
0.8.7.4 (ruby-2.1.
|
365
|
+
0.8.7.4 (ruby-2.1.3).
|
366
366
|
</div>
|
367
367
|
|
368
368
|
</body>
|
data/doc/Lazier/DateTime.html
CHANGED
@@ -466,9 +466,9 @@ DateTime.civil(2013, 6, 1).in_months(2011)
|
|
466
466
|
</div>
|
467
467
|
|
468
468
|
<div id="footer">
|
469
|
-
Generated on
|
469
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
470
470
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
471
|
-
0.8.7.4 (ruby-2.1.
|
471
|
+
0.8.7.4 (ruby-2.1.3).
|
472
472
|
</div>
|
473
473
|
|
474
474
|
</body>
|
@@ -864,9 +864,9 @@ Date.years(1, true, 2010, true)
|
|
864
864
|
</div>
|
865
865
|
|
866
866
|
<div id="footer">
|
867
|
-
Generated on
|
867
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
868
868
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
869
|
-
0.8.7.4 (ruby-2.1.
|
869
|
+
0.8.7.4 (ruby-2.1.3).
|
870
870
|
</div>
|
871
871
|
|
872
872
|
</body>
|
data/doc/Lazier/Exceptions.html
CHANGED
@@ -116,9 +116,9 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
119
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
121
|
-
0.8.7.4 (ruby-2.1.
|
121
|
+
0.8.7.4 (ruby-2.1.3).
|
122
122
|
</div>
|
123
123
|
|
124
124
|
</body>
|
@@ -124,9 +124,9 @@
|
|
124
124
|
</div>
|
125
125
|
|
126
126
|
<div id="footer">
|
127
|
-
Generated on
|
127
|
+
Generated on Mon Sep 29 16:27:07 2014 by
|
128
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
129
|
-
0.8.7.4 (ruby-2.1.
|
129
|
+
0.8.7.4 (ruby-2.1.3).
|
130
130
|
</div>
|
131
131
|
|
132
132
|
</body>
|
@@ -242,9 +242,9 @@
|
|
242
242
|
</div>
|
243
243
|
|
244
244
|
<div id="footer">
|
245
|
-
Generated on
|
245
|
+
Generated on Mon Sep 29 16:27:07 2014 by
|
246
246
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
247
|
-
0.8.7.4 (ruby-2.1.
|
247
|
+
0.8.7.4 (ruby-2.1.3).
|
248
248
|
</div>
|
249
249
|
|
250
250
|
</body>
|
@@ -204,9 +204,9 @@
|
|
204
204
|
</div>
|
205
205
|
|
206
206
|
<div id="footer">
|
207
|
-
Generated on
|
207
|
+
Generated on Mon Sep 29 16:27:07 2014 by
|
208
208
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
209
|
-
0.8.7.4 (ruby-2.1.
|
209
|
+
0.8.7.4 (ruby-2.1.3).
|
210
210
|
</div>
|
211
211
|
|
212
212
|
</body>
|
data/doc/Lazier/Hash.html
CHANGED
@@ -552,9 +552,9 @@
|
|
552
552
|
</div>
|
553
553
|
|
554
554
|
<div id="footer">
|
555
|
-
Generated on
|
555
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
556
556
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
557
|
-
0.8.7.4 (ruby-2.1.
|
557
|
+
0.8.7.4 (ruby-2.1.3).
|
558
558
|
</div>
|
559
559
|
|
560
560
|
</body>
|
data/doc/Lazier/I18n.html
CHANGED
@@ -2567,9 +2567,9 @@
|
|
2567
2567
|
</div>
|
2568
2568
|
|
2569
2569
|
<div id="footer">
|
2570
|
-
Generated on
|
2570
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
2571
2571
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2572
|
-
0.8.7.4 (ruby-2.1.
|
2572
|
+
0.8.7.4 (ruby-2.1.3).
|
2573
2573
|
</div>
|
2574
2574
|
|
2575
2575
|
</body>
|
data/doc/Lazier/Math.html
CHANGED
@@ -121,9 +121,9 @@
|
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div id="footer">
|
124
|
-
Generated on
|
124
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
125
125
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
126
|
-
0.8.7.4 (ruby-2.1.
|
126
|
+
0.8.7.4 (ruby-2.1.3).
|
127
127
|
</div>
|
128
128
|
|
129
129
|
</body>
|
@@ -321,9 +321,9 @@
|
|
321
321
|
</div>
|
322
322
|
|
323
323
|
<div id="footer">
|
324
|
-
Generated on
|
324
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
325
325
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
326
|
-
0.8.7.4 (ruby-2.1.
|
326
|
+
0.8.7.4 (ruby-2.1.3).
|
327
327
|
</div>
|
328
328
|
|
329
329
|
</body>
|
data/doc/Lazier/Object.html
CHANGED
@@ -2331,9 +2331,9 @@ Passing <code>nil</code> is equal to pass an empty Hash.</p>
|
|
2331
2331
|
</div>
|
2332
2332
|
|
2333
2333
|
<div id="footer">
|
2334
|
-
Generated on
|
2334
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
2335
2335
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2336
|
-
0.8.7.4 (ruby-2.1.
|
2336
|
+
0.8.7.4 (ruby-2.1.3).
|
2337
2337
|
</div>
|
2338
2338
|
|
2339
2339
|
</body>
|
data/doc/Lazier/Pathname.html
CHANGED
@@ -213,9 +213,9 @@ Pathname.new("/usr/bin/ruby").components
|
|
213
213
|
</div>
|
214
214
|
|
215
215
|
<div id="footer">
|
216
|
-
Generated on
|
216
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
217
217
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
218
|
-
0.8.7.4 (ruby-2.1.
|
218
|
+
0.8.7.4 (ruby-2.1.3).
|
219
219
|
</div>
|
220
220
|
|
221
221
|
</body>
|
data/doc/Lazier/Settings.html
CHANGED
@@ -2413,9 +2413,9 @@
|
|
2413
2413
|
</div>
|
2414
2414
|
|
2415
2415
|
<div id="footer">
|
2416
|
-
Generated on
|
2416
|
+
Generated on Mon Sep 29 16:27:07 2014 by
|
2417
2417
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2418
|
-
0.8.7.4 (ruby-2.1.
|
2418
|
+
0.8.7.4 (ruby-2.1.3).
|
2419
2419
|
</div>
|
2420
2420
|
|
2421
2421
|
</body>
|
data/doc/Lazier/String.html
CHANGED
@@ -563,9 +563,9 @@
|
|
563
563
|
</div>
|
564
564
|
|
565
565
|
<div id="footer">
|
566
|
-
Generated on
|
566
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
567
567
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
568
|
-
0.8.7.4 (ruby-2.1.
|
568
|
+
0.8.7.4 (ruby-2.1.3).
|
569
569
|
</div>
|
570
570
|
|
571
571
|
</body>
|
data/doc/Lazier/TimeZone.html
CHANGED
@@ -1322,9 +1322,9 @@
|
|
1322
1322
|
</div>
|
1323
1323
|
|
1324
1324
|
<div id="footer">
|
1325
|
-
Generated on
|
1325
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
1326
1326
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1327
|
-
0.8.7.4 (ruby-2.1.
|
1327
|
+
0.8.7.4 (ruby-2.1.3).
|
1328
1328
|
</div>
|
1329
1329
|
|
1330
1330
|
</body>
|
@@ -1005,9 +1005,9 @@ Returns an offset in rational value.</p>
|
|
1005
1005
|
</div>
|
1006
1006
|
|
1007
1007
|
<div id="footer">
|
1008
|
-
Generated on
|
1008
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
1009
1009
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1010
|
-
0.8.7.4 (ruby-2.1.
|
1010
|
+
0.8.7.4 (ruby-2.1.3).
|
1011
1011
|
</div>
|
1012
1012
|
|
1013
1013
|
</body>
|
data/doc/Lazier/Version.html
CHANGED
@@ -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 Mon Sep 29 16:27:06 2014 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.7.4 (ruby-2.1.
|
185
|
+
0.8.7.4 (ruby-2.1.3).
|
186
186
|
</div>
|
187
187
|
|
188
188
|
</body>
|
data/doc/_index.html
CHANGED
@@ -333,9 +333,9 @@
|
|
333
333
|
</div>
|
334
334
|
|
335
335
|
<div id="footer">
|
336
|
-
Generated on
|
336
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
337
337
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
338
|
-
0.8.7.4 (ruby-2.1.
|
338
|
+
0.8.7.4 (ruby-2.1.3).
|
339
339
|
</div>
|
340
340
|
|
341
341
|
</body>
|
data/doc/file.README.html
CHANGED
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
<p>Several Ruby object enhancements.</p>
|
74
74
|
|
75
|
-
<p>http://sw.
|
75
|
+
<p>http://sw.cowtech.it/lazier</p>
|
76
76
|
|
77
77
|
<p>http://rdoc.info/gems/lazier</p>
|
78
78
|
|
@@ -110,9 +110,9 @@ See documentation for more informations.</p>
|
|
110
110
|
</div></div>
|
111
111
|
|
112
112
|
<div id="footer">
|
113
|
-
Generated on
|
113
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
114
114
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
115
|
-
0.8.7.4 (ruby-2.1.
|
115
|
+
0.8.7.4 (ruby-2.1.3).
|
116
116
|
</div>
|
117
117
|
|
118
118
|
</body>
|
data/doc/index.html
CHANGED
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
<p>Several Ruby object enhancements.</p>
|
74
74
|
|
75
|
-
<p>http://sw.
|
75
|
+
<p>http://sw.cowtech.it/lazier</p>
|
76
76
|
|
77
77
|
<p>http://rdoc.info/gems/lazier</p>
|
78
78
|
|
@@ -110,9 +110,9 @@ See documentation for more informations.</p>
|
|
110
110
|
</div></div>
|
111
111
|
|
112
112
|
<div id="footer">
|
113
|
-
Generated on
|
113
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
114
114
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
115
|
-
0.8.7.4 (ruby-2.1.
|
115
|
+
0.8.7.4 (ruby-2.1.3).
|
116
116
|
</div>
|
117
117
|
|
118
118
|
</body>
|
@@ -103,9 +103,9 @@
|
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div id="footer">
|
106
|
-
Generated on
|
106
|
+
Generated on Mon Sep 29 16:27:06 2014 by
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
-
0.8.7.4 (ruby-2.1.
|
108
|
+
0.8.7.4 (ruby-2.1.3).
|
109
109
|
</div>
|
110
110
|
|
111
111
|
</body>
|
data/lazier.gemspec
CHANGED
@@ -9,7 +9,7 @@ require File.expand_path('../lib/lazier/version', __FILE__)
|
|
9
9
|
Gem::Specification.new do |gem|
|
10
10
|
gem.name = "lazier"
|
11
11
|
gem.version = Lazier::Version::STRING
|
12
|
-
gem.homepage = "http://sw.
|
12
|
+
gem.homepage = "http://sw.cowtech.it/lazier"
|
13
13
|
gem.summary = %q{Several Ruby object enhancements.}
|
14
14
|
gem.description = %q{Several Ruby object enhancements.}
|
15
15
|
gem.rubyforge_project = "lazier"
|
@@ -25,11 +25,12 @@ Gem::Specification.new do |gem|
|
|
25
25
|
|
26
26
|
gem.required_ruby_version = ">= 2.1"
|
27
27
|
|
28
|
+
# TODO@PI: Drop ActiveSupport requirement
|
28
29
|
gem.add_dependency("activesupport", "~> 4.1")
|
29
|
-
gem.add_dependency("hashie", "~> 3.
|
30
|
+
gem.add_dependency("hashie", "~> 3.3")
|
30
31
|
|
31
32
|
if RUBY_ENGINE != "jruby"
|
32
|
-
gem.add_dependency("oj", "~> 2.
|
33
|
+
gem.add_dependency("oj", "~> 2.10")
|
33
34
|
else
|
34
35
|
gem.add_dependency("json", "~> 1.8")
|
35
36
|
end
|
data/lib/lazier.rb
CHANGED
@@ -9,9 +9,11 @@ require "tzinfo"
|
|
9
9
|
require "active_support"
|
10
10
|
require "active_support/core_ext"
|
11
11
|
require "i18n"
|
12
|
+
require "i18n/backend/fallbacks"
|
12
13
|
require "hashie"
|
13
14
|
require "pathname"
|
14
15
|
|
16
|
+
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
|
15
17
|
require "lazier/version" unless defined?(Lazier::Version)
|
16
18
|
require "lazier/exceptions"
|
17
19
|
require "lazier/i18n"
|
data/lib/lazier/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lazier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shogun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '3.
|
33
|
+
version: '3.3'
|
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.3'
|
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.10'
|
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.10'
|
55
55
|
description: Several Ruby object enhancements.
|
56
56
|
email:
|
57
57
|
- shogun@cowtech.it
|
@@ -135,7 +135,7 @@ files:
|
|
135
135
|
- spec/lazier/timezone_spec.rb
|
136
136
|
- spec/lazier_spec.rb
|
137
137
|
- spec/spec_helper.rb
|
138
|
-
homepage: http://sw.
|
138
|
+
homepage: http://sw.cowtech.it/lazier
|
139
139
|
licenses:
|
140
140
|
- MIT
|
141
141
|
metadata: {}
|