lib/timetrap.rb in timetrap-1.8.5 vs lib/timetrap.rb in timetrap-1.8.6
- old
+ new
@@ -3,10 +3,10 @@
require 'chronic'
require 'sequel'
require 'yaml'
require 'erb'
require 'sequel/extensions/inflector'
-require 'Getopt/Declare'
+require File.join(File.dirname(__FILE__), 'Getopt/Declare')
require File.join(File.dirname(__FILE__), 'timetrap', 'config')
require File.join(File.dirname(__FILE__), 'timetrap', 'helpers')
require File.join(File.dirname(__FILE__), 'timetrap', 'cli')
require File.join(File.dirname(__FILE__), 'timetrap', 'timer')
require File.join(File.dirname(__FILE__), 'timetrap', 'formatters')