lazier 2.6.3 → 2.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -16,5 +16,5 @@ gem "rake", "~> 10.0.3"
16
16
  gem "simplecov", ">= 0.7.1"
17
17
  gem "pry", ">= 0"
18
18
  gem "yard", ">= 0.8.4"
19
- gem "redcarpet", ">= 2.2.2"
19
+ gem "kramdown", ">= 0.14.2"
20
20
  gem "github-markup", ">= 0.7.5"
data/Rakefile CHANGED
@@ -8,11 +8,4 @@ require "bundler/gem_tasks"
8
8
  require "rspec/core/rake_task"
9
9
 
10
10
  RSpec::Core::RakeTask.new("spec")
11
-
12
- namespace :spec do
13
- desc "Run all specs with coverage"
14
- task :coverage do
15
- ENV["LAZIER_COVERAGE"] = "TRUE"
16
- Rake::Task["spec"].invoke
17
- end
18
- end
11
+ RSpec::Core::RakeTask.new("spec:coverage") { |t| t.ruby_opts = "-r./spec/coverage_helper" }
@@ -88,8 +88,8 @@
88
88
 
89
89
  <h2>Overview</h2><div class="docstring">
90
90
  <div class="discussion">
91
- <p>This file is part of the lazier gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>.
92
- Licensed under the MIT license, which can be found at <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p>
91
+ <p>This file is part of the lazier gem. Copyright (C) 2013 and above Shogun &lt;shogun_panda@me.com&gt;.
92
+ Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
93
93
 
94
94
 
95
95
  </div>
@@ -838,7 +838,7 @@ Licensed under the MIT license, which can be found at <a href="http://www.openso
838
838
  </div>
839
839
 
840
840
  <div id="footer">
841
- Generated on Tue Feb 5 10:05:04 2013 by
841
+ Generated on Thu Feb 7 23:34:10 2013 by
842
842
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
843
843
  0.8.4 (ruby-1.9.3).
844
844
  </div>
@@ -288,7 +288,7 @@
288
288
  </div>
289
289
 
290
290
  <div id="footer">
291
- Generated on Tue Feb 5 10:05:04 2013 by
291
+ Generated on Thu Feb 7 23:34:11 2013 by
292
292
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
293
293
  0.8.4 (ruby-1.9.3).
294
294
  </div>
@@ -284,9 +284,10 @@
284
284
  <div class="discussion">
285
285
  <p>Returns the number of months passed between the beginning of the base year and the current date.</p>
286
286
 
287
- <pre class="code ruby"><code class="ruby"><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_civil'>civil</span><span class='lparen'>(</span><span class='int'>2013</span><span class='comma'>,</span> <span class='int'>6</span><span class='comma'>,</span> <span class='int'>1</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_in_months'>in_months</span><span class='lparen'>(</span><span class='int'>2011</span><span class='rparen'>)</span>
288
- <span class='comment'># =&gt; 18
289
- </span></code></pre>
287
+ <p><code>ruby
288
+ DateTime.civil(2013, 6, 1).in_months(2011)
289
+ # =&gt; 18
290
+ </code></p>
290
291
 
291
292
 
292
293
  </div>
@@ -724,7 +725,7 @@
724
725
  </div>
725
726
 
726
727
  <div id="footer">
727
- Generated on Tue Feb 5 10:05:04 2013 by
728
+ Generated on Thu Feb 7 23:34:11 2013 by
728
729
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
729
730
  0.8.4 (ruby-1.9.3).
730
731
  </div>
@@ -1087,9 +1087,10 @@
1087
1087
  <div class="discussion">
1088
1088
  <p>Returns a string representation of a timezone.</p>
1089
1089
 
1090
- <pre class="code ruby"><code class="ruby"><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Pacific Time (US &amp; Canada)</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
1091
- <span class='comment'># =&gt; &quot;-0800@pacific-time-us-canada&quot;
1092
- </span></code></pre>
1090
+ <p><code>ruby
1091
+ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US &amp; Canada)"])
1092
+ # =&gt; "-0800@pacific-time-us-canada"
1093
+ </code></p>
1093
1094
 
1094
1095
 
1095
1096
  </div>
@@ -1434,13 +1435,15 @@
1434
1435
  <div class="discussion">
1435
1436
  <p>Returns a range of years.</p>
1436
1437
 
1437
- <pre class="code ruby"><code class="ruby"><span class='const'>Date</span><span class='period'>.</span><span class='id identifier rubyid_years'>years</span><span class='lparen'>(</span><span class='int'>3</span><span class='comma'>,</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='int'>2010</span><span class='rparen'>)</span>
1438
- <span class='comment'># =&gt; [2007, 2008, 2009, 2010]
1439
- </span></code></pre>
1438
+ <p><code>ruby
1439
+ Date.years(3, false, 2010)
1440
+ # =&gt; [2007, 2008, 2009, 2010]
1441
+ </code></p>
1440
1442
 
1441
- <pre class="code ruby"><code class="ruby"><span class='const'>Date</span><span class='period'>.</span><span class='id identifier rubyid_years'>years</span><span class='lparen'>(</span><span class='int'>1</span><span class='comma'>,</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='int'>2010</span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span>
1442
- <span class='comment'># =&gt; [{:value=&gt;2009, :label=&gt;2009}, {:value=&gt;2010, :label=&gt;2010}, {:value=&gt;2011, :label=&gt;2011}]
1443
- </span></code></pre>
1443
+ <p><code>ruby
1444
+ Date.years(1, true, 2010, true)
1445
+ # =&gt; [{:value=&gt;2009, :label=&gt;2009}, {:value=&gt;2010, :label=&gt;2010}, {:value=&gt;2011, :label=&gt;2011}]
1446
+ </code></p>
1444
1447
 
1445
1448
 
1446
1449
  </div>
@@ -1565,7 +1568,7 @@
1565
1568
  </div>
1566
1569
 
1567
1570
  <div id="footer">
1568
- Generated on Tue Feb 5 10:05:04 2013 by
1571
+ Generated on Thu Feb 7 23:34:11 2013 by
1569
1572
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1570
1573
  0.8.4 (ruby-1.9.3).
1571
1574
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Tue Feb 5 10:05:04 2013 by
119
+ Generated on Thu Feb 7 23:34:11 2013 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.4 (ruby-1.9.3).
122
122
  </div>
@@ -124,7 +124,7 @@
124
124
  </div>
125
125
 
126
126
  <div id="footer">
127
- Generated on Tue Feb 5 10:05:05 2013 by
127
+ Generated on Thu Feb 7 23:34:12 2013 by
128
128
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
129
129
  0.8.4 (ruby-1.9.3).
130
130
  </div>
@@ -238,7 +238,7 @@
238
238
  </div>
239
239
 
240
240
  <div id="footer">
241
- Generated on Tue Feb 5 10:05:05 2013 by
241
+ Generated on Thu Feb 7 23:34:12 2013 by
242
242
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
243
243
  0.8.4 (ruby-1.9.3).
244
244
  </div>
@@ -384,7 +384,7 @@
384
384
  </div>
385
385
 
386
386
  <div id="footer">
387
- Generated on Tue Feb 5 10:05:04 2013 by
387
+ Generated on Thu Feb 7 23:34:10 2013 by
388
388
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
389
389
  0.8.4 (ruby-1.9.3).
390
390
  </div>
@@ -405,7 +405,7 @@
405
405
  </div>
406
406
 
407
407
  <div id="footer">
408
- Generated on Tue Feb 5 10:05:04 2013 by
408
+ Generated on Thu Feb 7 23:34:10 2013 by
409
409
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
410
410
  0.8.4 (ruby-1.9.3).
411
411
  </div>
@@ -121,7 +121,7 @@
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Tue Feb 5 10:05:04 2013 by
124
+ Generated on Thu Feb 7 23:34:10 2013 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
126
  0.8.4 (ruby-1.9.3).
127
127
  </div>
@@ -321,7 +321,7 @@
321
321
  </div>
322
322
 
323
323
  <div id="footer">
324
- Generated on Tue Feb 5 10:05:04 2013 by
324
+ Generated on Thu Feb 7 23:34:10 2013 by
325
325
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
326
326
  0.8.4 (ruby-1.9.3).
327
327
  </div>
@@ -637,7 +637,7 @@
637
637
 
638
638
  </h3><div class="docstring">
639
639
  <div class="discussion">
640
- <p>Makes sure that the object is a string. For <code>nil</code>, it returns &quot;&quot;.</p>
640
+ <p>Makes sure that the object is a string. For <code>nil</code>, it returns &#8220;&#8221;.</p>
641
641
 
642
642
 
643
643
  </div>
@@ -1586,7 +1586,7 @@
1586
1586
  </div>
1587
1587
 
1588
1588
  <div id="footer">
1589
- Generated on Tue Feb 5 10:05:04 2013 by
1589
+ Generated on Thu Feb 7 23:34:11 2013 by
1590
1590
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1591
1591
  0.8.4 (ruby-1.9.3).
1592
1592
  </div>
@@ -159,9 +159,10 @@
159
159
  <div class="discussion">
160
160
  <p>Returns all the components that are included in this path.</p>
161
161
 
162
- <pre class="code ruby"><code class="ruby"><span class='const'>Pathname</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/usr/bin/ruby</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_components'>components</span>
163
- <span class='comment'># =&gt; [&quot;usr&quot;, &quot;bin&quot;, &quot;ruby&quot;]
164
- </span></code></pre>
162
+ <p><code>ruby
163
+ Pathname.new("/usr/bin/ruby").components
164
+ # =&gt; ["usr", "bin", "ruby"]
165
+ </code></p>
165
166
 
166
167
 
167
168
  </div>
@@ -216,7 +217,7 @@
216
217
  </div>
217
218
 
218
219
  <div id="footer">
219
- Generated on Tue Feb 5 10:05:04 2013 by
220
+ Generated on Thu Feb 7 23:34:11 2013 by
220
221
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
221
222
  0.8.4 (ruby-1.9.3).
222
223
  </div>
@@ -2496,7 +2496,7 @@
2496
2496
  </div>
2497
2497
 
2498
2498
  <div id="footer">
2499
- Generated on Tue Feb 5 10:05:05 2013 by
2499
+ Generated on Thu Feb 7 23:34:12 2013 by
2500
2500
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2501
2501
  0.8.4 (ruby-1.9.3).
2502
2502
  </div>
@@ -228,9 +228,10 @@
228
228
  <div class="discussion">
229
229
  <p>Removes accents from the string, normalizing to the normal letter.</p>
230
230
 
231
- <pre class="code ruby"><code class="ruby"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>èòàù</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_remove_accents'>remove_accents</span>
232
- <span class='comment'># =&gt; &quot;eoau&quot;
233
- </span></code></pre>
231
+ <p><code>ruby
232
+ "èòàù".remove_accents
233
+ # =&gt; "eoau"
234
+ </code></p>
234
235
 
235
236
 
236
237
  </div>
@@ -352,9 +353,10 @@
352
353
 
353
354
  <p>The string is downcased and spaces are substituted with <code>-</code>.</p>
354
355
 
355
- <pre class="code ruby"><code class="ruby"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>ABC cde</span><span class='tstring_end'>&quot;</span></span><span class='period'>.</span><span class='id identifier rubyid_untitleize'>untitleize</span>
356
- <span class='comment'># =&gt; &quot;abc-cde&quot;
357
- </span></code></pre>
356
+ <p><code>ruby
357
+ "ABC cde".untitleize
358
+ # =&gt; "abc-cde"
359
+ </code></p>
358
360
 
359
361
 
360
362
  </div>
@@ -462,7 +464,7 @@
462
464
  </div>
463
465
 
464
466
  <div id="footer">
465
- Generated on Tue Feb 5 10:05:04 2013 by
467
+ Generated on Thu Feb 7 23:34:10 2013 by
466
468
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
467
469
  0.8.4 (ruby-1.9.3).
468
470
  </div>
@@ -831,7 +831,7 @@
831
831
 
832
832
 
833
833
  &mdash;
834
- <div class='inline'><p>The name for the zone with DST or <code>nil</code>, if the timezone doesn&#39;t use DST for that year.</p>
834
+ <div class='inline'><p>The name for the zone with DST or <code>nil</code>, if the timezone doesnt use DST for that year.</p>
835
835
  </div>
836
836
 
837
837
  </li>
@@ -949,7 +949,7 @@
949
949
 
950
950
 
951
951
  &mdash;
952
- <div class='inline'><p>The DST offset for this timezone or <code>0</code>, if the timezone doesn&#39;t use DST for that year.</p>
952
+ <div class='inline'><p>The DST offset for this timezone or <code>0</code>, if the timezone doesnt use DST for that year.</p>
953
953
  </div>
954
954
 
955
955
  </li>
@@ -1031,7 +1031,7 @@
1031
1031
 
1032
1032
 
1033
1033
  &mdash;
1034
- <div class='inline'><p>A period when the Daylight Saving Time (DST) is active or <code>nil</code> if the timezone doesn&#39;t use DST for that year.</p>
1034
+ <div class='inline'><p>A period when the Daylight Saving Time (DST) is active or <code>nil</code> if the timezone doesnt use DST for that year.</p>
1035
1035
  </div>
1036
1036
 
1037
1037
  </li>
@@ -1429,7 +1429,7 @@
1429
1429
 
1430
1430
 
1431
1431
  &mdash;
1432
- <div class='inline'><p>The string representation for the zone with DST or <code>nil</code>, if the timezone doesn&#39;t use DST for that year.</p>
1432
+ <div class='inline'><p>The string representation for the zone with DST or <code>nil</code>, if the timezone doesnt use DST for that year.</p>
1433
1433
  </div>
1434
1434
 
1435
1435
  </li>
@@ -1576,7 +1576,7 @@
1576
1576
 
1577
1577
 
1578
1578
  &mdash;
1579
- <div class='inline'><p>The parametized string representation for this zone with DST or <code>nil</code>, if the timezone doesn&#39;t use DST for that year.</p>
1579
+ <div class='inline'><p>The parametized string representation for this zone with DST or <code>nil</code>, if the timezone doesnt use DST for that year.</p>
1580
1580
  </div>
1581
1581
 
1582
1582
  </li>
@@ -1697,7 +1697,7 @@
1697
1697
  </div>
1698
1698
 
1699
1699
  <div id="footer">
1700
- Generated on Tue Feb 5 10:05:04 2013 by
1700
+ Generated on Thu Feb 7 23:34:11 2013 by
1701
1701
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1702
1702
  0.8.4 (ruby-1.9.3).
1703
1703
  </div>
@@ -342,7 +342,7 @@
342
342
 
343
343
 
344
344
  &mdash;
345
- <div class='inline'><p>The result of comparison, like Ruby&#39;s operator <code>&lt;=&gt;</code>.</p>
345
+ <div class='inline'><p>The result of comparison, like Rubys operator <code>&lt;=&gt;</code>.</p>
346
346
  </div>
347
347
 
348
348
  </li>
@@ -696,9 +696,10 @@
696
696
  <div class="discussion">
697
697
  <p>Returns a string representation of a timezone.</p>
698
698
 
699
- <pre class="code ruby"><code class="ruby"><span class='const'>DateTime</span><span class='period'>.</span><span class='id identifier rubyid_parameterize_zone'>parameterize_zone</span><span class='lparen'>(</span><span class='const'>ActiveSupport</span><span class='op'>::</span><span class='const'>TimeZone</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Pacific Time (US &amp; Canada)</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
700
- <span class='comment'># =&gt; &quot;-0800@pacific-time-us-canada&quot;
701
- </span></code></pre>
699
+ <p><code>ruby
700
+ DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US &amp; Canada)"])
701
+ # =&gt; "-0800@pacific-time-us-canada"
702
+ </code></p>
702
703
 
703
704
 
704
705
  </div>
@@ -1022,7 +1023,7 @@
1022
1023
  </div>
1023
1024
 
1024
1025
  <div id="footer">
1025
- Generated on Tue Feb 5 10:05:04 2013 by
1026
+ Generated on Thu Feb 7 23:34:11 2013 by
1026
1027
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1027
1028
  0.8.4 (ruby-1.9.3).
1028
1029
  </div>
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>3</span></pre></dd>
152
+ <dd><pre class="code"><span class='int'>4</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 Tue Feb 5 10:05:04 2013 by
183
+ Generated on Thu Feb 7 23:34:11 2013 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.8.4 (ruby-1.9.3).
186
186
  </div>
@@ -319,7 +319,7 @@
319
319
  </div>
320
320
 
321
321
  <div id="footer">
322
- Generated on Tue Feb 5 10:05:04 2013 by
322
+ Generated on Thu Feb 7 23:34:10 2013 by
323
323
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
324
324
  0.8.4 (ruby-1.9.3).
325
325
  </div>
@@ -61,48 +61,49 @@
61
61
 
62
62
  <iframe id="search_frame"></iframe>
63
63
 
64
- <div id="content"><div id='filecontents'><h1>lazier</h1>
64
+ <div id="content"><div id='filecontents'><h1 id="lazier">lazier</h1>
65
65
 
66
- <p><a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status"></a>
67
- <a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status"></a>
68
- <a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate"></a></p>
66
+ <p><a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status" /></a>
67
+ <a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status" /></a>
68
+ <a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate" /></a></p>
69
69
 
70
70
  <p>Several Ruby object enhancements.</p>
71
71
 
72
- <p><a href="http://sw.cow.tc/lazier">http://sw.cow.tc/lazier</a></p>
72
+ <p>http://sw.cow.tc/lazier</p>
73
73
 
74
- <p><a href="http://rdoc.info/gems/lazier">http://rdoc.info/gems/lazier</a></p>
74
+ <p>http://rdoc.info/gems/lazier</p>
75
75
 
76
- <h2>Usage</h2>
76
+ <h2 id="usage">Usage</h2>
77
77
 
78
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lazier</span><span class='tstring_end'>&quot;</span></span>
79
- <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load!'>load!</span>
80
- </code></pre>
78
+ <p><code>ruby
79
+ require "lazier"
80
+ Lazier.load!
81
+ </code></p>
81
82
 
82
- <p>That&#39;s all!
83
+ <p>That&#8217;s all!
83
84
  See documentation for more informations.</p>
84
85
 
85
- <h2>Contributing to lazier</h2>
86
+ <h2 id="contributing-to-lazier">Contributing to lazier</h2>
86
87
 
87
88
  <ul>
88
- <li>Check out the latest master to make sure the feature hasn&#39;t been implemented or the bug hasn&#39;t been fixed yet.</li>
89
- <li>Check out the issue tracker to make sure someone already hasn&#39;t requested it and/or contributed it.</li>
90
- <li>Fork the project.</li>
91
- <li>Start a feature/bugfix branch.</li>
92
- <li>Commit and push until you are happy with your contribution.</li>
93
- <li>Make sure to add tests for it. This is important so I don&#39;t break it in a future version unintentionally.</li>
94
- <li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
89
+ <li>Check out the latest master to make sure the feature hasn&#8217;t been implemented or the bug hasn&#8217;t been fixed yet.</li>
90
+ <li>Check out the issue tracker to make sure someone already hasn&#8217;t requested it and/or contributed it.</li>
91
+ <li>Fork the project.</li>
92
+ <li>Start a feature/bugfix branch.</li>
93
+ <li>Commit and push until you are happy with your contribution.</li>
94
+ <li>Make sure to add tests for it. This is important so I don&#8217;t break it in a future version unintentionally.</li>
95
+ <li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
95
96
  </ul>
96
97
 
97
- <h2>Copyright</h2>
98
+ <h2 id="copyright">Copyright</h2>
98
99
 
99
- <p>Copyright (C) 2013 and above Shogun (<a href="mailto:shogun_panda@me.com">shogun_panda@me.com</a>).</p>
100
+ <p>Copyright (C) 2013 and above Shogun (shogun_panda@me.com).</p>
100
101
 
101
- <p>Licensed under the MIT license, which can be found at <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p>
102
+ <p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
102
103
  </div></div>
103
104
 
104
105
  <div id="footer">
105
- Generated on Tue Feb 5 10:05:04 2013 by
106
+ Generated on Thu Feb 7 23:34:10 2013 by
106
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
108
  0.8.4 (ruby-1.9.3).
108
109
  </div>
@@ -61,48 +61,49 @@
61
61
 
62
62
  <iframe id="search_frame"></iframe>
63
63
 
64
- <div id="content"><div id='filecontents'><h1>lazier</h1>
64
+ <div id="content"><div id='filecontents'><h1 id="lazier">lazier</h1>
65
65
 
66
- <p><a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status"></a>
67
- <a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status"></a>
68
- <a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate"></a></p>
66
+ <p><a href="http://travis-ci.org/ShogunPanda/lazier"><img src="https://secure.travis-ci.org/ShogunPanda/lazier.png?branch=master" alt="Build Status" /></a>
67
+ <a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status" /></a>
68
+ <a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate" /></a></p>
69
69
 
70
70
  <p>Several Ruby object enhancements.</p>
71
71
 
72
- <p><a href="http://sw.cow.tc/lazier">http://sw.cow.tc/lazier</a></p>
72
+ <p>http://sw.cow.tc/lazier</p>
73
73
 
74
- <p><a href="http://rdoc.info/gems/lazier">http://rdoc.info/gems/lazier</a></p>
74
+ <p>http://rdoc.info/gems/lazier</p>
75
75
 
76
- <h2>Usage</h2>
76
+ <h2 id="usage">Usage</h2>
77
77
 
78
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lazier</span><span class='tstring_end'>&quot;</span></span>
79
- <span class='const'>Lazier</span><span class='period'>.</span><span class='id identifier rubyid_load!'>load!</span>
80
- </code></pre>
78
+ <p><code>ruby
79
+ require "lazier"
80
+ Lazier.load!
81
+ </code></p>
81
82
 
82
- <p>That&#39;s all!
83
+ <p>That&#8217;s all!
83
84
  See documentation for more informations.</p>
84
85
 
85
- <h2>Contributing to lazier</h2>
86
+ <h2 id="contributing-to-lazier">Contributing to lazier</h2>
86
87
 
87
88
  <ul>
88
- <li>Check out the latest master to make sure the feature hasn&#39;t been implemented or the bug hasn&#39;t been fixed yet.</li>
89
- <li>Check out the issue tracker to make sure someone already hasn&#39;t requested it and/or contributed it.</li>
90
- <li>Fork the project.</li>
91
- <li>Start a feature/bugfix branch.</li>
92
- <li>Commit and push until you are happy with your contribution.</li>
93
- <li>Make sure to add tests for it. This is important so I don&#39;t break it in a future version unintentionally.</li>
94
- <li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
89
+ <li>Check out the latest master to make sure the feature hasn&#8217;t been implemented or the bug hasn&#8217;t been fixed yet.</li>
90
+ <li>Check out the issue tracker to make sure someone already hasn&#8217;t requested it and/or contributed it.</li>
91
+ <li>Fork the project.</li>
92
+ <li>Start a feature/bugfix branch.</li>
93
+ <li>Commit and push until you are happy with your contribution.</li>
94
+ <li>Make sure to add tests for it. This is important so I don&#8217;t break it in a future version unintentionally.</li>
95
+ <li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li>
95
96
  </ul>
96
97
 
97
- <h2>Copyright</h2>
98
+ <h2 id="copyright">Copyright</h2>
98
99
 
99
- <p>Copyright (C) 2013 and above Shogun (<a href="mailto:shogun_panda@me.com">shogun_panda@me.com</a>).</p>
100
+ <p>Copyright (C) 2013 and above Shogun (shogun_panda@me.com).</p>
100
101
 
101
- <p>Licensed under the MIT license, which can be found at <a href="http://www.opensource.org/licenses/mit-license.php">http://www.opensource.org/licenses/mit-license.php</a>.</p>
102
+ <p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p>
102
103
  </div></div>
103
104
 
104
105
  <div id="footer">
105
- Generated on Tue Feb 5 10:05:04 2013 by
106
+ Generated on Thu Feb 7 23:34:10 2013 by
106
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
107
108
  0.8.4 (ruby-1.9.3).
108
109
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Tue Feb 5 10:05:04 2013 by
106
+ Generated on Thu Feb 7 23:34:10 2013 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.4 (ruby-1.9.3).
109
109
  </div>
@@ -16,7 +16,7 @@ module Lazier
16
16
  MINOR = 6
17
17
 
18
18
  # The patch version.
19
- PATCH = 3
19
+ PATCH = 4
20
20
 
21
21
  # The current version of lazier.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
@@ -5,16 +5,13 @@
5
5
  #
6
6
 
7
7
  require "pathname"
8
-
9
- if ENV["LAZIER_COVERAGE"] == "TRUE" && RUBY_VERSION >= "1.9" then
10
- require "simplecov"
8
+ require "simplecov"
11
9
 
10
+ SimpleCov.start do
12
11
  root = Pathname.new(File.dirname(__FILE__)) + ".."
13
12
 
14
- SimpleCov.start do
15
- add_filter do |src_file|
16
- path = Pathname.new(src_file.filename).relative_path_from(root).to_s
17
- path !~ /^lib/
18
- end
13
+ add_filter do |src_file|
14
+ path = Pathname.new(src_file.filename).relative_path_from(root).to_s
15
+ path !~ /^lib/
19
16
  end
20
- end
17
+ end
@@ -5,7 +5,6 @@
5
5
  #
6
6
 
7
7
  require "rubygems"
8
- require "coverage_helper"
9
8
  require "bundler/setup"
10
9
  require "lazier"
11
10
 
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: 2.6.3
4
+ version: 2.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-05 00:00:00.000000000 Z
12
+ date: 2013-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
@@ -166,9 +166,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  - - ! '>='
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
+ segments:
170
+ - 0
171
+ hash: 1673408804754958952
169
172
  requirements: []
170
173
  rubyforge_project: lazier
171
- rubygems_version: 1.8.24
174
+ rubygems_version: 1.8.25
172
175
  signing_key:
173
176
  specification_version: 3
174
177
  summary: Several Ruby object enhancements.