lazier 4.0.2 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12f953fc1e85442f5881383b834ef900dc7f4c57
4
- data.tar.gz: ade920299449c204d49773f37fce761711d905ea
3
+ metadata.gz: f3a151ddbe1aed367ec69e8ce515fc1a18409c33
4
+ data.tar.gz: 6f3143af8526ea20ea9efecc4c2ed82591b72011
5
5
  SHA512:
6
- metadata.gz: 9a280d5c32c99c9372d202f8feadf561ecb6539525616747c81eee496d0953fc39c5d991ccbac9e31fd1e5264bf1158314b11e5083c0371592129382b1b31706
7
- data.tar.gz: e3aa89273238eaf6c4740733d95c764fbf1a113862ff9f93d61649bb2ca761868f5b596e102c4eaa13890f056b1f9e98d1c9d25f2c9d33e74440ef7f107241ac
6
+ metadata.gz: 2f1642dda453adb7525071d7ffbb5e44ac2c04d7974ad1e7c2a2d17b1044cfee9e2bc1cb509471f922cdff96ddb85abb40864d54bba2f2b27f4e292ab1c59332
7
+ data.tar.gz: de4518a7e8420f2ed80a5a621784b262a9eb11a14f240361745ad11a0c36de46b083ac10a02f34acb7d74440204ab2dc96d9d73babcf607722f4445237bd81c2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 4.0.3 / 2014-06-06
2
+
3
+ * System locale detection fix.
4
+
1
5
  ### 4.0.2 / 2014-06-06
2
6
 
3
7
  * Don't force locales validation.
data/doc/Lazier.html CHANGED
@@ -1230,7 +1230,7 @@ Otherwise the class of the object will returned.</p>
1230
1230
  </div>
1231
1231
 
1232
1232
  <div id="footer">
1233
- Generated on Fri Jun 6 12:01:46 2014 by
1233
+ Generated on Fri Jun 6 12:32:25 2014 by
1234
1234
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1235
1235
  0.8.7.4 (ruby-2.1.2).
1236
1236
  </div>
@@ -288,7 +288,7 @@
288
288
  </div>
289
289
 
290
290
  <div id="footer">
291
- Generated on Fri Jun 6 12:01:46 2014 by
291
+ Generated on Fri Jun 6 12:32:25 2014 by
292
292
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
293
293
  0.8.7.4 (ruby-2.1.2).
294
294
  </div>
@@ -360,7 +360,7 @@ Options are as follows:</p>
360
360
  </div>
361
361
 
362
362
  <div id="footer">
363
- Generated on Fri Jun 6 12:01:47 2014 by
363
+ Generated on Fri Jun 6 12:32:26 2014 by
364
364
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
365
365
  0.8.7.4 (ruby-2.1.2).
366
366
  </div>
@@ -466,7 +466,7 @@ DateTime.civil(2013, 6, 1).in_months(2011)
466
466
  </div>
467
467
 
468
468
  <div id="footer">
469
- Generated on Fri Jun 6 12:01:46 2014 by
469
+ Generated on Fri Jun 6 12:32:25 2014 by
470
470
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
471
471
  0.8.7.4 (ruby-2.1.2).
472
472
  </div>
@@ -864,7 +864,7 @@ Date.years(1, true, 2010, true)
864
864
  </div>
865
865
 
866
866
  <div id="footer">
867
- Generated on Fri Jun 6 12:01:46 2014 by
867
+ Generated on Fri Jun 6 12:32:25 2014 by
868
868
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
869
869
  0.8.7.4 (ruby-2.1.2).
870
870
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Fri Jun 6 12:01:46 2014 by
119
+ Generated on Fri Jun 6 12:32:25 2014 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.7.4 (ruby-2.1.2).
122
122
  </div>
@@ -124,7 +124,7 @@
124
124
  </div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Fri Jun 6 12:01:47 2014 by
127
+ Generated on Fri Jun 6 12:32:26 2014 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.7.4 (ruby-2.1.2).
130
130
  </div>
@@ -242,7 +242,7 @@
242
242
  </div>
243
243
 
244
244
  <div id="footer">
245
- Generated on Fri Jun 6 12:01:47 2014 by
245
+ Generated on Fri Jun 6 12:32:26 2014 by
246
246
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
247
247
  0.8.7.4 (ruby-2.1.2).
248
248
  </div>
@@ -204,7 +204,7 @@
204
204
  </div>
205
205
 
206
206
  <div id="footer">
207
- Generated on Fri Jun 6 12:01:47 2014 by
207
+ Generated on Fri Jun 6 12:32:26 2014 by
208
208
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
209
209
  0.8.7.4 (ruby-2.1.2).
210
210
  </div>
data/doc/Lazier/Hash.html CHANGED
@@ -552,7 +552,7 @@
552
552
  </div>
553
553
 
554
554
  <div id="footer">
555
- Generated on Fri Jun 6 12:01:46 2014 by
555
+ Generated on Fri Jun 6 12:32:25 2014 by
556
556
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
557
557
  0.8.7.4 (ruby-2.1.2).
558
558
  </div>
data/doc/Lazier/I18n.html CHANGED
@@ -748,9 +748,7 @@
748
748
  161
749
749
  162
750
750
  163
751
- 164
752
- 165
753
- 166</pre>
751
+ 164</pre>
754
752
  </td>
755
753
  <td>
756
754
  <pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
@@ -871,11 +869,9 @@
871
869
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_system_locale'>system_locale</span>
872
870
  <span class='id identifier rubyid_platform'>platform</span> <span class='op'>=</span> <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span>
873
871
 
874
- <span class='kw'>if</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span>
875
- <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
876
- <span class='kw'>else</span>
877
- <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span>
878
- <span class='kw'>end</span>
872
+ <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>:</span> <span class='kw'>nil</span>
873
+ <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_rv'>rv</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
874
+ <span class='id identifier rubyid_rv'>rv</span>
879
875
  <span class='kw'>rescue</span>
880
876
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>en</span><span class='tstring_end'>&quot;</span></span>
881
877
  <span class='kw'>end</span>
@@ -1101,9 +1097,7 @@
1101
1097
  161
1102
1098
  162
1103
1099
  163
1104
- 164
1105
- 165
1106
- 166</pre>
1100
+ 164</pre>
1107
1101
  </td>
1108
1102
  <td>
1109
1103
  <pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
@@ -1224,11 +1218,9 @@
1224
1218
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_system_locale'>system_locale</span>
1225
1219
  <span class='id identifier rubyid_platform'>platform</span> <span class='op'>=</span> <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span>
1226
1220
 
1227
- <span class='kw'>if</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span>
1228
- <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1229
- <span class='kw'>else</span>
1230
- <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span>
1231
- <span class='kw'>end</span>
1221
+ <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>:</span> <span class='kw'>nil</span>
1222
+ <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_rv'>rv</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
1223
+ <span class='id identifier rubyid_rv'>rv</span>
1232
1224
  <span class='kw'>rescue</span>
1233
1225
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>en</span><span class='tstring_end'>&quot;</span></span>
1234
1226
  <span class='kw'>end</span>
@@ -1454,9 +1446,7 @@
1454
1446
  161
1455
1447
  162
1456
1448
  163
1457
- 164
1458
- 165
1459
- 166</pre>
1449
+ 164</pre>
1460
1450
  </td>
1461
1451
  <td>
1462
1452
  <pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
@@ -1577,11 +1567,9 @@
1577
1567
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_system_locale'>system_locale</span>
1578
1568
  <span class='id identifier rubyid_platform'>platform</span> <span class='op'>=</span> <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span>
1579
1569
 
1580
- <span class='kw'>if</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span>
1581
- <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1582
- <span class='kw'>else</span>
1583
- <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span>
1584
- <span class='kw'>end</span>
1570
+ <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>:</span> <span class='kw'>nil</span>
1571
+ <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_rv'>rv</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
1572
+ <span class='id identifier rubyid_rv'>rv</span>
1585
1573
  <span class='kw'>rescue</span>
1586
1574
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>en</span><span class='tstring_end'>&quot;</span></span>
1587
1575
  <span class='kw'>end</span>
@@ -1807,9 +1795,7 @@
1807
1795
  161
1808
1796
  162
1809
1797
  163
1810
- 164
1811
- 165
1812
- 166</pre>
1798
+ 164</pre>
1813
1799
  </td>
1814
1800
  <td>
1815
1801
  <pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
@@ -1930,11 +1916,9 @@
1930
1916
  </span> <span class='kw'>def</span> <span class='id identifier rubyid_system_locale'>system_locale</span>
1931
1917
  <span class='id identifier rubyid_platform'>platform</span> <span class='op'>=</span> <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span>
1932
1918
 
1933
- <span class='kw'>if</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span>
1934
- <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1935
- <span class='kw'>else</span>
1936
- <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span>
1937
- <span class='kw'>end</span>
1919
+ <span class='id identifier rubyid_rv'>rv</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:java</span><span class='comma'>,</span> <span class='symbol'>:osx</span><span class='comma'>,</span> <span class='symbol'>:posix</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_platform'>platform</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>system_locale_</span><span class='embexpr_beg'>#{</span><span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>:</span> <span class='kw'>nil</span>
1920
+ <span class='id identifier rubyid_raise'>raise</span><span class='lparen'>(</span><span class='const'>RuntimeError</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_rv'>rv</span><span class='period'>.</span><span class='id identifier rubyid_blank?'>blank?</span>
1921
+ <span class='id identifier rubyid_rv'>rv</span>
1938
1922
  <span class='kw'>rescue</span>
1939
1923
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>en</span><span class='tstring_end'>&quot;</span></span>
1940
1924
  <span class='kw'>end</span>
@@ -2583,7 +2567,7 @@
2583
2567
  </div>
2584
2568
 
2585
2569
  <div id="footer">
2586
- Generated on Fri Jun 6 12:01:46 2014 by
2570
+ Generated on Fri Jun 6 12:32:26 2014 by
2587
2571
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2588
2572
  0.8.7.4 (ruby-2.1.2).
2589
2573
  </div>
data/doc/Lazier/Math.html CHANGED
@@ -121,7 +121,7 @@
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Fri Jun 6 12:01:46 2014 by
124
+ Generated on Fri Jun 6 12:32:25 2014 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
126
  0.8.7.4 (ruby-2.1.2).
127
127
  </div>
@@ -321,7 +321,7 @@
321
321
  </div>
322
322
 
323
323
  <div id="footer">
324
- Generated on Fri Jun 6 12:01:46 2014 by
324
+ Generated on Fri Jun 6 12:32:25 2014 by
325
325
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
326
326
  0.8.7.4 (ruby-2.1.2).
327
327
  </div>
@@ -2331,7 +2331,7 @@ 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 Fri Jun 6 12:01:46 2014 by
2334
+ Generated on Fri Jun 6 12:32:25 2014 by
2335
2335
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2336
2336
  0.8.7.4 (ruby-2.1.2).
2337
2337
  </div>
@@ -213,7 +213,7 @@ Pathname.new("/usr/bin/ruby").components
213
213
  </div>
214
214
 
215
215
  <div id="footer">
216
- Generated on Fri Jun 6 12:01:46 2014 by
216
+ Generated on Fri Jun 6 12:32:25 2014 by
217
217
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
218
218
  0.8.7.4 (ruby-2.1.2).
219
219
  </div>
@@ -2413,7 +2413,7 @@
2413
2413
  </div>
2414
2414
 
2415
2415
  <div id="footer">
2416
- Generated on Fri Jun 6 12:01:47 2014 by
2416
+ Generated on Fri Jun 6 12:32:26 2014 by
2417
2417
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2418
2418
  0.8.7.4 (ruby-2.1.2).
2419
2419
  </div>
@@ -563,7 +563,7 @@
563
563
  </div>
564
564
 
565
565
  <div id="footer">
566
- Generated on Fri Jun 6 12:01:46 2014 by
566
+ Generated on Fri Jun 6 12:32:25 2014 by
567
567
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
568
568
  0.8.7.4 (ruby-2.1.2).
569
569
  </div>
@@ -1251,7 +1251,7 @@
1251
1251
  </div>
1252
1252
 
1253
1253
  <div id="footer">
1254
- Generated on Fri Jun 6 12:01:46 2014 by
1254
+ Generated on Fri Jun 6 12:32:25 2014 by
1255
1255
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1256
1256
  0.8.7.4 (ruby-2.1.2).
1257
1257
  </div>
@@ -1001,7 +1001,7 @@ Returns an offset in rational value.</p>
1001
1001
  </div>
1002
1002
 
1003
1003
  <div id="footer">
1004
- Generated on Fri Jun 6 12:01:46 2014 by
1004
+ Generated on Fri Jun 6 12:32:25 2014 by
1005
1005
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1006
1006
  0.8.7.4 (ruby-2.1.2).
1007
1007
  </div>
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>2</span></pre></dd>
152
+ <dd><pre class="code"><span class='int'>3</span></pre></dd>
153
153
 
154
154
  <dt id="STRING-constant" class="">STRING =
155
155
  <div class="docstring">
@@ -180,7 +180,7 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Fri Jun 6 12:01:46 2014 by
183
+ Generated on Fri Jun 6 12:32:25 2014 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.8.7.4 (ruby-2.1.2).
186
186
  </div>
data/doc/_index.html CHANGED
@@ -333,7 +333,7 @@
333
333
  </div>
334
334
 
335
335
  <div id="footer">
336
- Generated on Fri Jun 6 12:01:46 2014 by
336
+ Generated on Fri Jun 6 12:32:25 2014 by
337
337
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
338
338
  0.8.7.4 (ruby-2.1.2).
339
339
  </div>
data/doc/file.README.html CHANGED
@@ -110,7 +110,7 @@ See documentation for more informations.</p>
110
110
  </div></div>
111
111
 
112
112
  <div id="footer">
113
- Generated on Fri Jun 6 12:01:46 2014 by
113
+ Generated on Fri Jun 6 12:32:25 2014 by
114
114
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
115
115
  0.8.7.4 (ruby-2.1.2).
116
116
  </div>
data/doc/index.html CHANGED
@@ -110,7 +110,7 @@ See documentation for more informations.</p>
110
110
  </div></div>
111
111
 
112
112
  <div id="footer">
113
- Generated on Fri Jun 6 12:01:46 2014 by
113
+ Generated on Fri Jun 6 12:32:25 2014 by
114
114
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
115
115
  0.8.7.4 (ruby-2.1.2).
116
116
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Fri Jun 6 12:01:46 2014 by
106
+ Generated on Fri Jun 6 12:32:25 2014 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.4 (ruby-2.1.2).
109
109
  </div>
data/lib/lazier/i18n.rb CHANGED
@@ -130,11 +130,9 @@ module Lazier
130
130
  def system_locale
131
131
  platform = Lazier.platform
132
132
 
133
- if [:java, :osx, :posix].include?(platform)
134
- send("system_locale_#{Lazier.platform}")
135
- else
136
- raise(RuntimeError)
137
- end
133
+ rv = [:java, :osx, :posix].include?(platform) ? send("system_locale_#{Lazier.platform}") : nil
134
+ raise(RuntimeError) if rv.blank?
135
+ rv
138
136
  rescue
139
137
  "en"
140
138
  end
@@ -15,7 +15,7 @@ module Lazier
15
15
  MINOR = 0
16
16
 
17
17
  # The patch version.
18
- PATCH = 2
18
+ PATCH = 3
19
19
 
20
20
  # The current version of lazier.
21
21
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
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: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shogun