lib/spontaneous/rack.rb in spontaneous-0.2.0.alpha7 vs lib/spontaneous/rack.rb in spontaneous-0.2.0.beta1
- old
+ new
@@ -43,29 +43,29 @@
class ServerBase < ::Sinatra::Base
set :environment, Proc.new { Spontaneous.environment }
end
- autoload :HTTP, 'spontaneous/rack/http'
+ autoload :AroundBack, 'spontaneous/rack/around_back'
+ autoload :AroundFront, 'spontaneous/rack/around_front'
+ autoload :AroundPreview, 'spontaneous/rack/around_preview'
autoload :Assets, 'spontaneous/rack/assets'
- autoload :Back, 'spontaneous/rack/back'
- autoload :Front, 'spontaneous/rack/front'
- autoload :Public, 'spontaneous/rack/public'
autoload :Authentication, 'spontaneous/rack/authentication'
+ autoload :Back, 'spontaneous/rack/back'
+ autoload :CSS, 'spontaneous/rack/css'
autoload :CacheableFile, 'spontaneous/rack/cacheable_file'
- autoload :Static, 'spontaneous/rack/static'
- autoload :UserHelpers, 'spontaneous/rack/user_helpers'
- autoload :UserAdmin, 'spontaneous/rack/user_admin'
- autoload :Helpers, 'spontaneous/rack/helpers'
autoload :CookieAuthentication, 'spontaneous/rack/cookie_authentication'
- autoload :QueryAuthentication, 'spontaneous/rack/query_authentication'
- autoload :AroundBack, 'spontaneous/rack/around_back'
- autoload :AroundFront, 'spontaneous/rack/around_front'
- autoload :AroundPreview, 'spontaneous/rack/around_preview'
- autoload :Reloader, 'spontaneous/rack/reloader'
autoload :EventSource, 'spontaneous/rack/event_source'
- autoload :CSS, 'spontaneous/rack/css'
+ autoload :Front, 'spontaneous/rack/front'
+ autoload :HTTP, 'spontaneous/rack/http'
+ autoload :Helpers, 'spontaneous/rack/helpers'
autoload :JS, 'spontaneous/rack/js'
+ autoload :PageController, "spontaneous/rack/page_controller"
+ autoload :Public, 'spontaneous/rack/public'
+ autoload :QueryAuthentication, 'spontaneous/rack/query_authentication'
+ autoload :Reloader, 'spontaneous/rack/reloader'
autoload :SSE, 'spontaneous/rack/sse'
- autoload :FiberPool, 'spontaneous/rack/fiber_pool'
+ autoload :Static, 'spontaneous/rack/static'
+ autoload :UserAdmin, 'spontaneous/rack/user_admin'
+ autoload :UserHelpers, 'spontaneous/rack/user_helpers'
end
end