Sha256: 81baf16ec47f1c13bd6c4c905fa5c1aa297ac357c258439bbd98d834c8073ded
Contents?: true
Size: 822 Bytes
Versions: 6
Compression:
Stored size: 822 Bytes
Contents
require "rubygems" require 'chronic' require 'sequel' require 'yaml' require 'erb' require 'sequel/extensions/inflector' 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') module Timetrap DB_NAME = defined?(TEST_MODE) ? nil : Timetrap::Config['database_file'] # connect to database. This will create one if it doesn't exist DB = Sequel.sqlite DB_NAME CLI.args = Getopt::Declare.new(<<-EOF) #{CLI::USAGE} EOF end require File.join(File.dirname(__FILE__), 'timetrap', 'models')
Version data entries
6 entries across 6 versions & 1 rubygems