lazier 4.0.5 → 4.0.6

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: 2344028e9e7395f8bc61fe9f3a414ef2ebb0067e
4
- data.tar.gz: b34b69504161db6b7fcf54b068d012c97eaea883
3
+ metadata.gz: e5d481e8bd9cdd8693a72d52fb2511aceb4dd5db
4
+ data.tar.gz: 193b2ae20ea19e1eb29f65c2a4ada418b1cc4ff5
5
5
  SHA512:
6
- metadata.gz: 71a8fc8d0c5f26a4454fcb3fc9f83c5739088e564a9e8da7e17a6cf10256ea03e239151913f60d01569cdd93d87b490bbdba359d50b0fb1cdbbc2f4f41609af4
7
- data.tar.gz: b5991c96353dd73a77af01b0d2e194603c887cf18761a24cb44c49d0ca886a40bc174a668fc8ef6a230e2abb609117958b935575c60e3ae6171762c6be9d57d6
6
+ metadata.gz: 9fd71ebea9d562cc6db18b3b3e636e7b49c22d9d2c33a971b5eed05c884e922c1b7df2f107a6653d32ae54fc1632c585a4654bf99490a8381f3385ac456f46af
7
+ data.tar.gz: fbc89a2e2d3348e4efcbc8eb92c51078f71d3472dcae49525c2412a3bc8ee31f0da6a3eb238396d7dfb95b7ddb98a6b8aff3da5dc520986c526b358f28c362ca
@@ -10,6 +10,9 @@ BracesAroundHashParameters:
10
10
  CyclomaticComplexity:
11
11
  Max: 15
12
12
 
13
+ EachWithObject:
14
+ Enabled: false
15
+
13
16
  IndentationConsistency:
14
17
  Enabled: false
15
18
 
@@ -9,7 +9,7 @@ source "http://rubygems.org"
9
9
  gemspec
10
10
 
11
11
  # Testing
12
- gem "rspec", "~> 3.0"
12
+ gem "rspec", "~> 3.1"
13
13
  gem "rake", "~> 10.3"
14
- gem "simplecov", "~> 0.8"
14
+ gem "simplecov", "~> 0.9"
15
15
  gem "coveralls", "~> 0.7", require: false
@@ -1,3 +1,7 @@
1
+ ### 4.0.6 / 2014-09-29
2
+
3
+ * Include fallback mechanism for translations lookup.
4
+
1
5
  ### 4.0.5 / 2014-06-19
2
6
 
3
7
  * Save alias upon timezone finding.
data/Gemfile CHANGED
@@ -9,13 +9,13 @@ source "http://rubygems.org"
9
9
  gemspec
10
10
 
11
11
  # Testing
12
- gem "rspec", "~> 3.0"
12
+ gem "rspec", "~> 3.1"
13
13
  gem "rake", "~> 10.3"
14
14
 
15
15
  # Documentation
16
- gem "simplecov", "~> 0.8"
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.3"
21
- gem "github-markup", "~> 1.2" if RUBY_ENGINE != "jruby"
20
+ gem "kramdown", "~> 1.4"
21
+ gem "github-markup", "~> 1.3" if RUBY_ENGINE != "jruby"
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  Several Ruby object enhancements.
11
11
 
12
- http://sw.cow.tc/lazier
12
+ http://sw.cowtech.it/lazier
13
13
 
14
14
  http://rdoc.info/gems/lazier
15
15
 
@@ -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</pre>
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 144</span>
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'>&amp;</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'>&amp;</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</pre>
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 127</span>
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'>&quot;</span><span class='tstring_content'>::@</span><span class='tstring_end'>&quot;</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</pre>
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 54</span>
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</pre>
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 70</span>
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</pre>
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 97</span>
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</pre>
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 87</span>
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</pre>
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 110</span>
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</pre>
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 64</span>
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
- 116
1031
- 117
1032
- 118</pre>
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 116</span>
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
- 82
1071
- 83
1072
- 84</pre>
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 82</span>
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</pre>
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 153</span>
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
- 37
1214
- 38
1215
- 39</pre>
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 37</span>
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 Thu Jun 19 12:10:35 2014 by
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.2).
1235
+ 0.8.7.4 (ruby-2.1.3).
1236
1236
  </div>
1237
1237
 
1238
1238
  </body>
@@ -288,9 +288,9 @@
288
288
  </div>
289
289
 
290
290
  <div id="footer">
291
- Generated on Thu Jun 19 12:10:36 2014 by
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.2).
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 Thu Jun 19 12:10:37 2014 by
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.2).
365
+ 0.8.7.4 (ruby-2.1.3).
366
366
  </div>
367
367
 
368
368
  </body>
@@ -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 Thu Jun 19 12:10:36 2014 by
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.2).
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 Thu Jun 19 12:10:36 2014 by
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.2).
869
+ 0.8.7.4 (ruby-2.1.3).
870
870
  </div>
871
871
 
872
872
  </body>
@@ -116,9 +116,9 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Thu Jun 19 12:10:36 2014 by
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.2).
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 Thu Jun 19 12:10:36 2014 by
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.2).
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 Thu Jun 19 12:10:37 2014 by
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.2).
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 Thu Jun 19 12:10:36 2014 by
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.2).
209
+ 0.8.7.4 (ruby-2.1.3).
210
210
  </div>
211
211
 
212
212
  </body>
@@ -552,9 +552,9 @@
552
552
  </div>
553
553
 
554
554
  <div id="footer">
555
- Generated on Thu Jun 19 12:10:35 2014 by
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.2).
557
+ 0.8.7.4 (ruby-2.1.3).
558
558
  </div>
559
559
 
560
560
  </body>
@@ -2567,9 +2567,9 @@
2567
2567
  </div>
2568
2568
 
2569
2569
  <div id="footer">
2570
- Generated on Thu Jun 19 12:10:36 2014 by
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.2).
2572
+ 0.8.7.4 (ruby-2.1.3).
2573
2573
  </div>
2574
2574
 
2575
2575
  </body>
@@ -121,9 +121,9 @@
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Thu Jun 19 12:10:35 2014 by
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.2).
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 Thu Jun 19 12:10:35 2014 by
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.2).
326
+ 0.8.7.4 (ruby-2.1.3).
327
327
  </div>
328
328
 
329
329
  </body>
@@ -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 Thu Jun 19 12:10:36 2014 by
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.2).
2336
+ 0.8.7.4 (ruby-2.1.3).
2337
2337
  </div>
2338
2338
 
2339
2339
  </body>
@@ -213,9 +213,9 @@ Pathname.new("/usr/bin/ruby").components
213
213
  </div>
214
214
 
215
215
  <div id="footer">
216
- Generated on Thu Jun 19 12:10:36 2014 by
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.2).
218
+ 0.8.7.4 (ruby-2.1.3).
219
219
  </div>
220
220
 
221
221
  </body>
@@ -2413,9 +2413,9 @@
2413
2413
  </div>
2414
2414
 
2415
2415
  <div id="footer">
2416
- Generated on Thu Jun 19 12:10:36 2014 by
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.2).
2418
+ 0.8.7.4 (ruby-2.1.3).
2419
2419
  </div>
2420
2420
 
2421
2421
  </body>
@@ -563,9 +563,9 @@
563
563
  </div>
564
564
 
565
565
  <div id="footer">
566
- Generated on Thu Jun 19 12:10:35 2014 by
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.2).
568
+ 0.8.7.4 (ruby-2.1.3).
569
569
  </div>
570
570
 
571
571
  </body>
@@ -1322,9 +1322,9 @@
1322
1322
  </div>
1323
1323
 
1324
1324
  <div id="footer">
1325
- Generated on Thu Jun 19 12:10:36 2014 by
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.2).
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 Thu Jun 19 12:10:36 2014 by
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.2).
1010
+ 0.8.7.4 (ruby-2.1.3).
1011
1011
  </div>
1012
1012
 
1013
1013
  </body>
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>5</span></pre></dd>
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 Thu Jun 19 12:10:36 2014 by
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.2).
185
+ 0.8.7.4 (ruby-2.1.3).
186
186
  </div>
187
187
 
188
188
  </body>
@@ -333,9 +333,9 @@
333
333
  </div>
334
334
 
335
335
  <div id="footer">
336
- Generated on Thu Jun 19 12:10:35 2014 by
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.2).
338
+ 0.8.7.4 (ruby-2.1.3).
339
339
  </div>
340
340
 
341
341
  </body>
@@ -72,7 +72,7 @@
72
72
 
73
73
  <p>Several Ruby object enhancements.</p>
74
74
 
75
- <p>http://sw.cow.tc/lazier</p>
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 Thu Jun 19 12:10:35 2014 by
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.2).
115
+ 0.8.7.4 (ruby-2.1.3).
116
116
  </div>
117
117
 
118
118
  </body>
@@ -72,7 +72,7 @@
72
72
 
73
73
  <p>Several Ruby object enhancements.</p>
74
74
 
75
- <p>http://sw.cow.tc/lazier</p>
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 Thu Jun 19 12:10:35 2014 by
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.2).
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 Thu Jun 19 12:10:35 2014 by
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.2).
108
+ 0.8.7.4 (ruby-2.1.3).
109
109
  </div>
110
110
 
111
111
  </body>
@@ -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.cow.tc/lazier"
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.0")
30
+ gem.add_dependency("hashie", "~> 3.3")
30
31
 
31
32
  if RUBY_ENGINE != "jruby"
32
- gem.add_dependency("oj", "~> 2.9")
33
+ gem.add_dependency("oj", "~> 2.10")
33
34
  else
34
35
  gem.add_dependency("json", "~> 1.8")
35
36
  end
@@ -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"
@@ -15,7 +15,7 @@ module Lazier
15
15
  MINOR = 0
16
16
 
17
17
  # The patch version.
18
- PATCH = 5
18
+ PATCH = 6
19
19
 
20
20
  # The current version of lazier.
21
21
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
@@ -13,4 +13,5 @@ RSpec.configure do |config|
13
13
  end
14
14
  end
15
15
 
16
+ ::I18n.enforce_available_locales = false
16
17
  Lazier::I18n.default_locale = :en
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.5
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-06-19 00:00:00.000000000 Z
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.0'
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.0'
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.9'
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.9'
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.cow.tc/lazier
138
+ homepage: http://sw.cowtech.it/lazier
139
139
  licenses:
140
140
  - MIT
141
141
  metadata: {}