Sha256: 116e551757d4bad7f3cd3f93dba0230fe3295252ea3a88b94f543b52d42151a0
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 Bytes
Contents
module FixtureApp include ::TrueWeb def self.app @app ||= Rack::Builder.new do use Rack::Logger run ::FixtureApp::Controller end.to_app end class Controller < ::TrueWeb::Controller set :dump_errors, false end class Views < ::TrueWeb::Views end class Routes < NamedRoutes::Routes end end FixtureApp.init( :controller => FixtureApp::Controller, :application_name => "fixture-app", :root_dir => File.dirname(__FILE__), :named_routes => FixtureApp::Routes, :views_class => FixtureApp::Views ) FixtureApp.register_service("#{File.dirname(__FILE__)}/services/authentication")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
true-web-0.1.5 | spec/fixture-app/app.rb |
true-web-0.1.4 | spec/fixture-app/app.rb |