Sha256: 33b42fbe69bbf6a2948a27751cfb582ab2a4b6178a219731b071d60db477bf01

Contents?: true

Size: 956 Bytes

Versions: 3

Compression:

Stored size: 956 Bytes

Contents

require "rubygems"

require 'chronic'
require 'sequel'
require 'yaml'
require 'erb'
require 'sequel/extensions/inflector'
require File.join(File.dirname(__FILE__), 'timetrap', 'version')
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')
require File.join(File.dirname(__FILE__), 'timetrap', 'auto_sheets')
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

3 entries across 3 versions & 1 rubygems

Version Path
timetrap-1.10.0 lib/timetrap.rb
timetrap-1.9.0 lib/timetrap.rb
timetrap-1.8.14 lib/timetrap.rb