Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix all the relative require paths (fix #55)

  • Loading branch information...
commit ba788eb5d9b1156c55a5c96135f53a9441b2464d 1 parent 211743f
@travisjeffery authored
View
4 lib/timecop.rb
@@ -1,2 +1,2 @@
-require 'timecop/timecop'
-require 'timecop/version'
+require File.join(File.dirname(__FILE__), "timecop", "timecop")
+require File.join(File.dirname(__FILE__), "timecop", "version")
View
4 lib/timecop/timecop.rb
@@ -1,6 +1,6 @@
require 'singleton'
-require 'timecop/time_extensions'
-require 'timecop/time_stack_item'
+require File.join(File.dirname(__FILE__), "time_extensions")
+require File.join(File.dirname(__FILE__), "time_stack_item")
# Timecop
# * Wrapper class for manipulating the extensions to the Time, Date, and DateTime objects
View
2  lib/timecop/version.rb
@@ -1,3 +1,3 @@
class Timecop
- VERSION = "0.5.4"
+ VERSION = "0.5.5"
end
View
2  test/time_stack_item_test.rb
@@ -1,5 +1,5 @@
require 'date'
-require 'test_helper'
+require File.join(File.dirname(__FILE__), "test_helper")
require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop')
class TestTimeStackItem < Test::Unit::TestCase
View
2  test/timecop_test.rb
@@ -1,5 +1,5 @@
require 'date'
-require 'test_helper'
+require File.join(File.dirname(__FILE__), "test_helper")
require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop')
class TestTimecop < Test::Unit::TestCase
View
2  test/timecop_without_date_test.rb
@@ -1,5 +1,5 @@
-require 'test_helper'
+require File.join(File.dirname(__FILE__), "test_helper")
require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop')
class TestTimecopWithoutDate < Test::Unit::TestCase
Please sign in to comment.
Something went wrong with that request. Please try again.