Sha256: c9bb3b493e5662f521f670de9451b2417f321827ab8dcf82feec34063c18b13f

Contents?: true

Size: 787 Bytes

Versions: 18

Compression:

Stored size: 787 Bytes

Contents

require "rubygems"

require 'chronic'
require 'sequel'
require 'yaml'
require 'erb'
require 'sequel/extensions/inflector'
require '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

18 entries across 18 versions & 1 rubygems

Version Path
timetrap-1.8.5 lib/timetrap.rb
timetrap-1.8.4 lib/timetrap.rb
timetrap-1.8.3 lib/timetrap.rb
timetrap-1.8.3.beta2 lib/timetrap.rb
timetrap-1.8.3.beta1 lib/timetrap.rb
timetrap-1.8.2 lib/timetrap.rb
timetrap-1.8.1 lib/timetrap.rb
timetrap-1.8.0 lib/timetrap.rb
timetrap-1.7.10 lib/timetrap.rb
timetrap-1.7.9 lib/timetrap.rb
timetrap-1.7.8 lib/timetrap.rb
timetrap-1.7.7 lib/timetrap.rb
timetrap-1.7.6 lib/timetrap.rb
timetrap-1.7.5 lib/timetrap.rb
timetrap-1.7.4 lib/timetrap.rb
timetrap-1.7.3 lib/timetrap.rb
timetrap-1.7.2 lib/timetrap.rb
timetrap-1.7.1 lib/timetrap.rb