public
Fork of mojombo/chronic
Description: Chronic is a pure Ruby natural language date parser.
Homepage: http://chronic.rubyforge.org
Clone URL: git://github.com/technoweenie/chronic.git
tweaked file requiring code
mojombo (author)
Wed Sep 06 22:20:37 -0700 2006
commit  51c769944a302ec0b69c63bb0e25e47fa1eebafb
tree    db46d537fb1ea11b499d329791c8948c2bb9906c
parent  8102242691fee0b1d61953e81f2dc3893e2fc057
...
19
20
21
22
 
23
24
25
...
19
20
21
 
22
23
24
25
0
@@ -19,7 +19,7 @@ require 'chronic/separator'
0
 
0
 require 'chronic/repeater'
0
 Dir["#{File.dirname(__FILE__)}/chronic/repeaters/*.rb"].each do |file|
0
- require 'chronic/repeaters/' + File.basename(file)[0..-4]
0
+ require file
0
 end
0
 
0
 module Chronic
...
3
4
5
6
 
7
8
9
10
 
11
...
3
4
5
 
6
7
8
 
9
10
11
0
@@ -3,7 +3,7 @@ require 'test/unit'
0
 tests = Dir["#{File.dirname(__FILE__)}/test_*.rb"]
0
 tests.delete_if { |o| o =~ /test_parsing/ }
0
 tests.each do |file|
0
- require File.basename(file)[0..-4]
0
+ require file
0
 end
0
 
0
-require 'test_parsing'
0
\ No newline at end of file
0
+require File.dirname(__FILE__) + '/test_parsing.rb'
0
\ No newline at end of file

Comments

    No one has commented yet.