lib/lita.rb in lita-2.3.0 vs lib/lita.rb in lita-2.4.0
- old
+ new
@@ -8,13 +8,10 @@
require "multi_json"
require "rack"
require "redis-namespace"
require "thin"
-require "lita/version"
-require "lita/config"
-
# The main namespace for Lita. Provides a global registry of adapters and
# handlers, as well as global configuration, logger, and Redis store.
module Lita
# The base Redis namespace for all Lita data.
REDIS_NAMESPACE = "lita"
@@ -91,9 +88,11 @@
Robot.new.run
end
end
end
+require "lita/version"
+require "lita/config"
require "lita/util"
require "lita/logger"
require "lita/user"
require "lita/source"
require "lita/authorization"