lazier 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/doc/Lazier.html +1 -1
- data/doc/Lazier/Boolean.html +1 -1
- data/doc/Lazier/Configuration.html +1 -1
- data/doc/Lazier/DateTime.html +1 -1
- data/doc/Lazier/DateTime/ClassMethods.html +1 -1
- data/doc/Lazier/Exceptions.html +1 -1
- data/doc/Lazier/Exceptions/Debug.html +1 -1
- data/doc/Lazier/Exceptions/MissingTranslation.html +1 -1
- data/doc/Lazier/Exceptions/TranslationExceptionHandler.html +1 -1
- data/doc/Lazier/Hash.html +1 -1
- data/doc/Lazier/I18n.html +5 -13
- data/doc/Lazier/Math.html +1 -1
- data/doc/Lazier/Math/ClassMethods.html +1 -1
- data/doc/Lazier/Object.html +1 -1
- data/doc/Lazier/Pathname.html +1 -1
- data/doc/Lazier/Settings.html +1 -1
- data/doc/Lazier/String.html +1 -1
- data/doc/Lazier/TimeZone.html +1 -1
- data/doc/Lazier/TimeZone/ClassMethods.html +1 -1
- data/doc/Lazier/Version.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/lazier/i18n.rb +0 -1
- data/lib/lazier/version.rb +1 -1
- data/spec/lazier/i18n_spec.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12f953fc1e85442f5881383b834ef900dc7f4c57
|
4
|
+
data.tar.gz: ade920299449c204d49773f37fce761711d905ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a280d5c32c99c9372d202f8feadf561ecb6539525616747c81eee496d0953fc39c5d991ccbac9e31fd1e5264bf1158314b11e5083c0371592129382b1b31706
|
7
|
+
data.tar.gz: e3aa89273238eaf6c4740733d95c764fbf1a113862ff9f93d61649bb2ca761868f5b596e102c4eaa13890f056b1f9e98d1c9d25f2c9d33e74440ef7f107241ac
|
data/CHANGELOG.md
CHANGED
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
|
1233
|
+
Generated on Fri Jun 6 12:01:46 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>
|
data/doc/Lazier/Boolean.html
CHANGED
@@ -288,7 +288,7 @@
|
|
288
288
|
</div>
|
289
289
|
|
290
290
|
<div id="footer">
|
291
|
-
Generated on Fri Jun 6
|
291
|
+
Generated on Fri Jun 6 12:01:46 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
|
363
|
+
Generated on Fri Jun 6 12:01:47 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>
|
data/doc/Lazier/DateTime.html
CHANGED
@@ -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
|
469
|
+
Generated on Fri Jun 6 12:01:46 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
|
867
|
+
Generated on Fri Jun 6 12:01:46 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>
|
data/doc/Lazier/Exceptions.html
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on Fri Jun 6
|
119
|
+
Generated on Fri Jun 6 12:01:46 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
|
127
|
+
Generated on Fri Jun 6 12:01:47 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
|
245
|
+
Generated on Fri Jun 6 12:01:47 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
|
207
|
+
Generated on Fri Jun 6 12:01:47 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
|
555
|
+
Generated on Fri Jun 6 12:01:46 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
@@ -750,8 +750,7 @@
|
|
750
750
|
163
|
751
751
|
164
|
752
752
|
165
|
753
|
-
166
|
754
|
-
167</pre>
|
753
|
+
166</pre>
|
755
754
|
</td>
|
756
755
|
<td>
|
757
756
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -898,7 +897,6 @@
|
|
898
897
|
|
899
898
|
<span class='comment'># :nodoc:
|
900
899
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_backend'>setup_backend</span>
|
901
|
-
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_enforce_available_locales'>enforce_available_locales</span> <span class='op'>=</span> <span class='kw'>true</span>
|
902
900
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span> <span class='op'>+=</span> <span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@path</span><span class='embexpr_end'>}</span><span class='tstring_content'>/*.yml</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
903
901
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
|
904
902
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_exception_handler'>exception_handler</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Exceptions</span><span class='op'>::</span><span class='const'>TranslationExceptionHandler</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -1105,8 +1103,7 @@
|
|
1105
1103
|
163
|
1106
1104
|
164
|
1107
1105
|
165
|
1108
|
-
166
|
1109
|
-
167</pre>
|
1106
|
+
166</pre>
|
1110
1107
|
</td>
|
1111
1108
|
<td>
|
1112
1109
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -1253,7 +1250,6 @@
|
|
1253
1250
|
|
1254
1251
|
<span class='comment'># :nodoc:
|
1255
1252
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_backend'>setup_backend</span>
|
1256
|
-
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_enforce_available_locales'>enforce_available_locales</span> <span class='op'>=</span> <span class='kw'>true</span>
|
1257
1253
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span> <span class='op'>+=</span> <span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@path</span><span class='embexpr_end'>}</span><span class='tstring_content'>/*.yml</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
1258
1254
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
|
1259
1255
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_exception_handler'>exception_handler</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Exceptions</span><span class='op'>::</span><span class='const'>TranslationExceptionHandler</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -1460,8 +1456,7 @@
|
|
1460
1456
|
163
|
1461
1457
|
164
|
1462
1458
|
165
|
1463
|
-
166
|
1464
|
-
167</pre>
|
1459
|
+
166</pre>
|
1465
1460
|
</td>
|
1466
1461
|
<td>
|
1467
1462
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -1608,7 +1603,6 @@
|
|
1608
1603
|
|
1609
1604
|
<span class='comment'># :nodoc:
|
1610
1605
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_backend'>setup_backend</span>
|
1611
|
-
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_enforce_available_locales'>enforce_available_locales</span> <span class='op'>=</span> <span class='kw'>true</span>
|
1612
1606
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span> <span class='op'>+=</span> <span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@path</span><span class='embexpr_end'>}</span><span class='tstring_content'>/*.yml</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
1613
1607
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
|
1614
1608
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_exception_handler'>exception_handler</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Exceptions</span><span class='op'>::</span><span class='const'>TranslationExceptionHandler</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -1815,8 +1809,7 @@
|
|
1815
1809
|
163
|
1816
1810
|
164
|
1817
1811
|
165
|
1818
|
-
166
|
1819
|
-
167</pre>
|
1812
|
+
166</pre>
|
1820
1813
|
</td>
|
1821
1814
|
<td>
|
1822
1815
|
<pre class="code"><span class="info file"># File 'lib/lazier/i18n.rb', line 17</span>
|
@@ -1963,7 +1956,6 @@
|
|
1963
1956
|
|
1964
1957
|
<span class='comment'># :nodoc:
|
1965
1958
|
</span> <span class='kw'>def</span> <span class='id identifier rubyid_setup_backend'>setup_backend</span>
|
1966
|
-
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_enforce_available_locales'>enforce_available_locales</span> <span class='op'>=</span> <span class='kw'>true</span>
|
1967
1959
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span> <span class='op'>+=</span> <span class='const'>Dir</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@path</span><span class='embexpr_end'>}</span><span class='tstring_content'>/*.yml</span><span class='tstring_end'>"</span></span><span class='rbracket'>]</span>
|
1968
1960
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_load_path'>load_path</span><span class='period'>.</span><span class='id identifier rubyid_uniq!'>uniq!</span>
|
1969
1961
|
<span class='op'>::</span><span class='const'>I18n</span><span class='period'>.</span><span class='id identifier rubyid_exception_handler'>exception_handler</span> <span class='op'>=</span> <span class='op'>::</span><span class='const'>Lazier</span><span class='op'>::</span><span class='const'>Exceptions</span><span class='op'>::</span><span class='const'>TranslationExceptionHandler</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
@@ -2591,7 +2583,7 @@
|
|
2591
2583
|
</div>
|
2592
2584
|
|
2593
2585
|
<div id="footer">
|
2594
|
-
Generated on Fri Jun 6
|
2586
|
+
Generated on Fri Jun 6 12:01:46 2014 by
|
2595
2587
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2596
2588
|
0.8.7.4 (ruby-2.1.2).
|
2597
2589
|
</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
|
124
|
+
Generated on Fri Jun 6 12:01:46 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
|
324
|
+
Generated on Fri Jun 6 12:01:46 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>
|
data/doc/Lazier/Object.html
CHANGED
@@ -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
|
2334
|
+
Generated on Fri Jun 6 12:01:46 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>
|
data/doc/Lazier/Pathname.html
CHANGED
@@ -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
|
216
|
+
Generated on Fri Jun 6 12:01:46 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>
|
data/doc/Lazier/Settings.html
CHANGED
@@ -2413,7 +2413,7 @@
|
|
2413
2413
|
</div>
|
2414
2414
|
|
2415
2415
|
<div id="footer">
|
2416
|
-
Generated on Fri Jun 6
|
2416
|
+
Generated on Fri Jun 6 12:01:47 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>
|
data/doc/Lazier/String.html
CHANGED
@@ -563,7 +563,7 @@
|
|
563
563
|
</div>
|
564
564
|
|
565
565
|
<div id="footer">
|
566
|
-
Generated on Fri Jun 6
|
566
|
+
Generated on Fri Jun 6 12:01:46 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>
|
data/doc/Lazier/TimeZone.html
CHANGED
@@ -1251,7 +1251,7 @@
|
|
1251
1251
|
</div>
|
1252
1252
|
|
1253
1253
|
<div id="footer">
|
1254
|
-
Generated on Fri Jun 6
|
1254
|
+
Generated on Fri Jun 6 12:01:46 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
|
1004
|
+
Generated on Fri Jun 6 12:01:46 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>
|
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'>2</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
|
183
|
+
Generated on Fri Jun 6 12:01:46 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
|
336
|
+
Generated on Fri Jun 6 12:01:46 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
|
113
|
+
Generated on Fri Jun 6 12:01:46 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
|
113
|
+
Generated on Fri Jun 6 12:01:46 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
|
106
|
+
Generated on Fri Jun 6 12:01:46 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
@@ -156,7 +156,6 @@ module Lazier
|
|
156
156
|
|
157
157
|
# :nodoc:
|
158
158
|
def setup_backend
|
159
|
-
::I18n.enforce_available_locales = true
|
160
159
|
::I18n.load_path += Dir["#{@path}/*.yml"]
|
161
160
|
::I18n.load_path.uniq!
|
162
161
|
::I18n.exception_handler = ::Lazier::Exceptions::TranslationExceptionHandler.new
|
data/lib/lazier/version.rb
CHANGED
data/spec/lazier/i18n_spec.rb
CHANGED
@@ -91,7 +91,6 @@ describe Lazier::I18n do
|
|
91
91
|
open("/tmp/it.yml", "w") {|f| f.write("---\nit:\n lazier:") }
|
92
92
|
subject = Lazier::I18n.new("it", path: "/tmp")
|
93
93
|
|
94
|
-
expect(::I18n.enforce_available_locales).to be_truthy
|
95
94
|
expect(::I18n.load_path).to include("/tmp/it.yml")
|
96
95
|
expect(::I18n.exception_handler).to be_a(::Lazier::Exceptions::TranslationExceptionHandler)
|
97
96
|
expect(subject.backend).to be_a(::I18n::Backend::Simple)
|