lib/streambot.rb in streambot-0.5.4 vs lib/streambot.rb in streambot-1.0.0.rc1
- old
+ new
@@ -1,20 +1,22 @@
require 'rubygems'
require 'open-uri'
require 'net/http'
require 'oauth'
-require 'tweetstream'
+require 'twistream'
require 'logger'
require 'yaml'
-require 'streambot/callbacks'
+require 'streambot/event'
+require 'streambot/event_handler'
require 'streambot/retweet'
require 'streambot/handler'
require 'streambot/oauth'
+require 'streambot/array_path'
require 'streambot/tracker'
-module StreamBot
+module StreamBot
LOG = Logger.new(STDOUT)
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
- VERSION = ::File.exist?(PATH + 'VERSION') ? ::File.read(PATH+'VERSION') : ""
+ VERSION = ::File.exist?('VERSION') ? ::File.read('VERSION') : ""
end
\ No newline at end of file