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 +1 -1
- data/Rakefile +1 -8
- data/doc/Lazier.html +3 -3
- data/doc/Lazier/Boolean.html +1 -1
- data/doc/Lazier/DateTime.html +5 -4
- data/doc/Lazier/DateTime/ClassMethods.html +13 -10
- data/doc/Lazier/Exceptions.html +1 -1
- data/doc/Lazier/Exceptions/Dump.html +1 -1
- data/doc/Lazier/Exceptions/MissingTranslation.html +1 -1
- data/doc/Lazier/Hash.html +1 -1
- data/doc/Lazier/I18n.html +1 -1
- data/doc/Lazier/Math.html +1 -1
- data/doc/Lazier/Math/ClassMethods.html +1 -1
- data/doc/Lazier/Object.html +2 -2
- data/doc/Lazier/Pathname.html +5 -4
- data/doc/Lazier/Settings.html +1 -1
- data/doc/Lazier/String.html +9 -7
- data/doc/Lazier/TimeZone.html +6 -6
- data/doc/Lazier/TimeZone/ClassMethods.html +6 -5
- data/doc/Lazier/Version.html +2 -2
- data/doc/_index.html +1 -1
- data/doc/file.README.html +24 -23
- data/doc/index.html +24 -23
- data/doc/top-level-namespace.html +1 -1
- data/lib/lazier/version.rb +1 -1
- data/spec/coverage_helper.rb +6 -9
- data/spec/spec_helper.rb +0 -1
- metadata +6 -3
data/Gemfile
CHANGED
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" }
|
data/doc/Lazier.html
CHANGED
@@ -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
|
92
|
-
Licensed under the MIT license, which can be found at
|
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 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
|
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>
|
data/doc/Lazier/Boolean.html
CHANGED
@@ -288,7 +288,7 @@
|
|
288
288
|
</div>
|
289
289
|
|
290
290
|
<div id="footer">
|
291
|
-
Generated on
|
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>
|
data/doc/Lazier/DateTime.html
CHANGED
@@ -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
|
-
<
|
288
|
-
|
289
|
-
|
287
|
+
<p><code>ruby
|
288
|
+
DateTime.civil(2013, 6, 1).in_months(2011)
|
289
|
+
# => 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
|
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
|
-
<
|
1091
|
-
|
1092
|
-
|
1090
|
+
<p><code>ruby
|
1091
|
+
DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canada)"])
|
1092
|
+
# => "-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
|
-
<
|
1438
|
-
|
1439
|
-
|
1438
|
+
<p><code>ruby
|
1439
|
+
Date.years(3, false, 2010)
|
1440
|
+
# => [2007, 2008, 2009, 2010]
|
1441
|
+
</code></p>
|
1440
1442
|
|
1441
|
-
<
|
1442
|
-
|
1443
|
-
|
1443
|
+
<p><code>ruby
|
1444
|
+
Date.years(1, true, 2010, true)
|
1445
|
+
# => [{:value=>2009, :label=>2009}, {:value=>2010, :label=>2010}, {:value=>2011, :label=>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
|
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>
|
data/doc/Lazier/Exceptions.html
CHANGED
@@ -116,7 +116,7 @@
|
|
116
116
|
</div>
|
117
117
|
|
118
118
|
<div id="footer">
|
119
|
-
Generated on
|
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
|
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
|
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>
|
data/doc/Lazier/Hash.html
CHANGED
@@ -384,7 +384,7 @@
|
|
384
384
|
</div>
|
385
385
|
|
386
386
|
<div id="footer">
|
387
|
-
Generated on
|
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>
|
data/doc/Lazier/I18n.html
CHANGED
@@ -405,7 +405,7 @@
|
|
405
405
|
</div>
|
406
406
|
|
407
407
|
<div id="footer">
|
408
|
-
Generated on
|
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>
|
data/doc/Lazier/Math.html
CHANGED
@@ -121,7 +121,7 @@
|
|
121
121
|
</div>
|
122
122
|
|
123
123
|
<div id="footer">
|
124
|
-
Generated on
|
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
|
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>
|
data/doc/Lazier/Object.html
CHANGED
@@ -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
|
640
|
+
<p>Makes sure that the object is a string. For <code>nil</code>, it returns “”.</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
|
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>
|
data/doc/Lazier/Pathname.html
CHANGED
@@ -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
|
-
<
|
163
|
-
|
164
|
-
|
162
|
+
<p><code>ruby
|
163
|
+
Pathname.new("/usr/bin/ruby").components
|
164
|
+
# => ["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
|
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>
|
data/doc/Lazier/Settings.html
CHANGED
@@ -2496,7 +2496,7 @@
|
|
2496
2496
|
</div>
|
2497
2497
|
|
2498
2498
|
<div id="footer">
|
2499
|
-
Generated on
|
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>
|
data/doc/Lazier/String.html
CHANGED
@@ -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
|
-
<
|
232
|
-
|
233
|
-
|
231
|
+
<p><code>ruby
|
232
|
+
"èòàù".remove_accents
|
233
|
+
# => "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
|
-
<
|
356
|
-
|
357
|
-
|
356
|
+
<p><code>ruby
|
357
|
+
"ABC cde".untitleize
|
358
|
+
# => "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
|
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>
|
data/doc/Lazier/TimeZone.html
CHANGED
@@ -831,7 +831,7 @@
|
|
831
831
|
|
832
832
|
|
833
833
|
—
|
834
|
-
<div class='inline'><p>The name for the zone with DST or <code>nil</code>, if the timezone doesn
|
834
|
+
<div class='inline'><p>The name for the zone with DST or <code>nil</code>, if the timezone doesn’t use DST for that year.</p>
|
835
835
|
</div>
|
836
836
|
|
837
837
|
</li>
|
@@ -949,7 +949,7 @@
|
|
949
949
|
|
950
950
|
|
951
951
|
—
|
952
|
-
<div class='inline'><p>The DST offset for this timezone or <code>0</code>, if the timezone doesn
|
952
|
+
<div class='inline'><p>The DST offset for this timezone or <code>0</code>, if the timezone doesn’t use DST for that year.</p>
|
953
953
|
</div>
|
954
954
|
|
955
955
|
</li>
|
@@ -1031,7 +1031,7 @@
|
|
1031
1031
|
|
1032
1032
|
|
1033
1033
|
—
|
1034
|
-
<div class='inline'><p>A period when the Daylight Saving Time (DST) is active or <code>nil</code> if the timezone doesn
|
1034
|
+
<div class='inline'><p>A period when the Daylight Saving Time (DST) is active or <code>nil</code> if the timezone doesn’t use DST for that year.</p>
|
1035
1035
|
</div>
|
1036
1036
|
|
1037
1037
|
</li>
|
@@ -1429,7 +1429,7 @@
|
|
1429
1429
|
|
1430
1430
|
|
1431
1431
|
—
|
1432
|
-
<div class='inline'><p>The string representation for the zone with DST or <code>nil</code>, if the timezone doesn
|
1432
|
+
<div class='inline'><p>The string representation for the zone with DST or <code>nil</code>, if the timezone doesn’t use DST for that year.</p>
|
1433
1433
|
</div>
|
1434
1434
|
|
1435
1435
|
</li>
|
@@ -1576,7 +1576,7 @@
|
|
1576
1576
|
|
1577
1577
|
|
1578
1578
|
—
|
1579
|
-
<div class='inline'><p>The parametized string representation for this zone with DST or <code>nil</code>, if the timezone doesn
|
1579
|
+
<div class='inline'><p>The parametized string representation for this zone with DST or <code>nil</code>, if the timezone doesn’t 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
|
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
|
—
|
345
|
-
<div class='inline'><p>The result of comparison, like Ruby
|
345
|
+
<div class='inline'><p>The result of comparison, like Ruby’s operator <code><=></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
|
-
<
|
700
|
-
|
701
|
-
|
699
|
+
<p><code>ruby
|
700
|
+
DateTime.parameterize_zone(ActiveSupport::TimeZone["Pacific Time (US & Canada)"])
|
701
|
+
# => "-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
|
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>
|
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'>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
|
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>
|
data/doc/_index.html
CHANGED
@@ -319,7 +319,7 @@
|
|
319
319
|
</div>
|
320
320
|
|
321
321
|
<div id="footer">
|
322
|
-
Generated on
|
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>
|
data/doc/file.README.html
CHANGED
@@ -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"
|
67
|
-
<a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status"
|
68
|
-
<a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate"
|
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
|
72
|
+
<p>http://sw.cow.tc/lazier</p>
|
73
73
|
|
74
|
-
<p
|
74
|
+
<p>http://rdoc.info/gems/lazier</p>
|
75
75
|
|
76
|
-
<h2>Usage</h2>
|
76
|
+
<h2 id="usage">Usage</h2>
|
77
77
|
|
78
|
-
<
|
79
|
-
|
80
|
-
|
78
|
+
<p><code>ruby
|
79
|
+
require "lazier"
|
80
|
+
Lazier.load!
|
81
|
+
</code></p>
|
81
82
|
|
82
|
-
<p>That&#
|
83
|
+
<p>That’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&#
|
89
|
-
<li>Check out the issue tracker to make sure someone already hasn&#
|
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&#
|
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’t been implemented or the bug hasn’t been fixed yet.</li>
|
90
|
+
<li>Check out the issue tracker to make sure someone already hasn’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’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 (
|
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
|
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
|
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>
|
data/doc/index.html
CHANGED
@@ -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"
|
67
|
-
<a href="https://gemnasium.com/ShogunPanda/lazier"><img src="https://gemnasium.com/ShogunPanda/lazier.png?travis" alt="Dependency Status"
|
68
|
-
<a href="https://codeclimate.com/github/ShogunPanda/lazier"><img src="https://codeclimate.com/github/ShogunPanda/lazier.png" alt="Code Climate"
|
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
|
72
|
+
<p>http://sw.cow.tc/lazier</p>
|
73
73
|
|
74
|
-
<p
|
74
|
+
<p>http://rdoc.info/gems/lazier</p>
|
75
75
|
|
76
|
-
<h2>Usage</h2>
|
76
|
+
<h2 id="usage">Usage</h2>
|
77
77
|
|
78
|
-
<
|
79
|
-
|
80
|
-
|
78
|
+
<p><code>ruby
|
79
|
+
require "lazier"
|
80
|
+
Lazier.load!
|
81
|
+
</code></p>
|
81
82
|
|
82
|
-
<p>That&#
|
83
|
+
<p>That’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&#
|
89
|
-
<li>Check out the issue tracker to make sure someone already hasn&#
|
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&#
|
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’t been implemented or the bug hasn’t been fixed yet.</li>
|
90
|
+
<li>Check out the issue tracker to make sure someone already hasn’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’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 (
|
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
|
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
|
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
|
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>
|
data/lib/lazier/version.rb
CHANGED
data/spec/coverage_helper.rb
CHANGED
@@ -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
|
-
|
15
|
-
|
16
|
-
|
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
|
data/spec/spec_helper.rb
CHANGED
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.
|
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-
|
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.
|
174
|
+
rubygems_version: 1.8.25
|
172
175
|
signing_key:
|
173
176
|
specification_version: 3
|
174
177
|
summary: Several Ruby object enhancements.
|