Skip to content

Commit

Permalink
fix all the relative require paths (fix #55)
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Jeffery committed Dec 20, 2012
1 parent 211743f commit ba788eb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions lib/timecop.rb
@@ -1,2 +1,2 @@
require 'timecop/timecop' require File.join(File.dirname(__FILE__), "timecop", "timecop")
require 'timecop/version' require File.join(File.dirname(__FILE__), "timecop", "version")
4 changes: 2 additions & 2 deletions lib/timecop/timecop.rb
@@ -1,6 +1,6 @@
require 'singleton' require 'singleton'
require 'timecop/time_extensions' require File.join(File.dirname(__FILE__), "time_extensions")
require 'timecop/time_stack_item' require File.join(File.dirname(__FILE__), "time_stack_item")


# Timecop # Timecop
# * Wrapper class for manipulating the extensions to the Time, Date, and DateTime objects # * Wrapper class for manipulating the extensions to the Time, Date, and DateTime objects
Expand Down
2 changes: 1 addition & 1 deletion lib/timecop/version.rb
@@ -1,3 +1,3 @@
class Timecop class Timecop
VERSION = "0.5.4" VERSION = "0.5.5"
end end
2 changes: 1 addition & 1 deletion test/time_stack_item_test.rb
@@ -1,5 +1,5 @@
require 'date' require 'date'
require 'test_helper' require File.join(File.dirname(__FILE__), "test_helper")
require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop') require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop')


class TestTimeStackItem < Test::Unit::TestCase class TestTimeStackItem < Test::Unit::TestCase
Expand Down
2 changes: 1 addition & 1 deletion test/timecop_test.rb
@@ -1,5 +1,5 @@
require 'date' require 'date'
require 'test_helper' require File.join(File.dirname(__FILE__), "test_helper")
require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop') require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop')


class TestTimecop < Test::Unit::TestCase class TestTimecop < Test::Unit::TestCase
Expand Down
2 changes: 1 addition & 1 deletion 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') require File.join(File.dirname(__FILE__), '..', 'lib', 'timecop')


class TestTimecopWithoutDate < Test::Unit::TestCase class TestTimecopWithoutDate < Test::Unit::TestCase
Expand Down

0 comments on commit ba788eb

Please sign in to comment.