Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 52 lines (43 sloc) 1.44 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
# -*- coding: utf-8 -*-

$KCODE = "u" unless Object.const_defined? :Encoding

$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) ||
                                          $:.include?(File.expand_path(File.dirname(__FILE__)))

require 'rubygems'

require 'cgi'
require 'enumerator'
require 'json'
require 'net/https'
require 'open-uri'
require 'optparse'
require 'readline'
require 'rubytter'
require 'notify'
require 'timeout'
require 'oauth'

module Termtter
  APP_NAME = 'termtter'

  require 'termtter/version'
  require 'termtter/config'
  require 'termtter/crypt'
  require 'termtter/default_config'
  require 'termtter/optparse'
  require 'termtter/command'
  require 'termtter/hook'
  require 'termtter/task'
  require 'termtter/task_manager'
  require 'termtter/hookable'
  require 'termtter/memory_cache'
  require 'termtter/rubytter_proxy'
  require 'termtter/client'
  require 'termtter/api'
  require 'termtter/system_extensions'
  require 'termtter/httppool'
  require 'termtter/event'

  OptParser.parse!(ARGV)
  CONF_DIR = File.expand_path('~/.termtter') unless defined? CONF_DIR
  CONF_FILE = File.join(Termtter::CONF_DIR, 'config') unless defined? CONF_FILE
  config.token_file = File.join(Termtter::CONF_DIR, config.token_file_name)
  $:.unshift(CONF_DIR)

  CONSUMER_KEY = 'eFFLaGJ3M0VMZExvNmtlNHJMVndsQQ=='
  CONSUMER_SECRET = 'cW8xbW9JT3dyT0NHTmVaMWtGbHpjSk1tN0lReTlJYTl0N0trcW9Fdkhr'
end
Something went wrong with that request. Please try again.