lib/plezi.rb in plezi-0.12.2 vs lib/plezi.rb in plezi-0.12.3
- old
+ new
@@ -12,18 +12,10 @@
require 'set'
# Iodine server
require 'iodine/http'
-
-## erb templating
-begin
- require 'erb'
-rescue => e
-
-end
-
### version
require "plezi/version"
### common
@@ -44,17 +36,23 @@
### HTTP and WebSocket Handlers
require 'plezi/handlers/http_router.rb'
require 'plezi/handlers/route.rb'
require 'plezi/handlers/ws_object.rb'
+require 'plezi/handlers/ws_identity.rb'
require 'plezi/handlers/controller_magic.rb'
require 'plezi/handlers/controller_core.rb'
require 'plezi/handlers/placebo.rb'
require 'plezi/handlers/stubs.rb'
require 'plezi/handlers/session.rb'
+## erb templating
+begin
+ require 'erb'
+rescue => e
+end
##############################################################################
#
# Plezi is an easy to use Ruby Websocket Framework, with full RESTful routing support and HTTP streaming support. It's name comes from the word "fun" in Haitian, since Plezi is really fun to work with and it keeps our code clean and streamlined.
#
@@ -146,8 +144,5 @@
Encoding.default_external = 'utf-8'
Iodine.threads = 30
Iodine.run { puts "Plezi is feeling optimistic running version #{::Plezi::VERSION}.\n\n"}
# PL is a shortcut for the Plezi module, so that `PL == Plezi`.
PL = Plezi
-
-
-