lib/junkie.rb in junkie-0.0.1 vs lib/junkie.rb in junkie-0.0.2
- old
+ new
@@ -1,5 +1,24 @@
-require "junkie/version"
+require 'junkie/version'
+require 'junkie/config'
+require 'junkie/episode'
+require 'junkie/log'
+require 'junkie/reactor'
+require 'junkie/errors'
+require 'junkie/helper'
+require 'junkie/patched/sjunkieex'
+require 'junkie/pyload/api'
+require 'junkie/pyload/observer'
+require 'logging'
+Logging.logger.root.appenders = Logging.appenders.stdout
+Logging.logger.root.level = :debug
+
module Junkie
- # Your code goes here...
+
+ CONFIG_FILE = File.join(Dir.home, '.junkie', 'config.yml')
+
+ def start_reactor
+ r = Reactor.new
+ r.start
+ end
end