mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/rake: Update to rake 10.4.0
* test/rake: ditto. * NEWS: ditto. * test/lib/minitest/unit.rb: Add compatibility shim for minitest 5. This only provides minitest 5 unit test naming compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f20f84d60a
commit
3908d5d330
18 changed files with 90 additions and 35 deletions
17
lib/rake/late_time.rb
Normal file
17
lib/rake/late_time.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
module Rake
|
||||
# LateTime is a fake timestamp that occurs _after_ any other time value.
|
||||
class LateTime
|
||||
include Comparable
|
||||
include Singleton
|
||||
|
||||
def <=>(other)
|
||||
1
|
||||
end
|
||||
|
||||
def to_s
|
||||
'<LATE TIME>'
|
||||
end
|
||||
end
|
||||
|
||||
LATE = LateTime.instance
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue