Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $:.unshift( "waves/lib" )
- require 'rubygems'
- require 'waves'
- module BoogieBoard
- include Waves::Foundations::Simple
- module Configurations
- class Production < Waves::Configurations::Default
- host '0.0.0.0' ; port 3000 ; debug false ; synchronize? false
- handler ::Rack::Handler::Mongrel, :Host => host, :Port => port
- application { run ::Waves::Dispatchers::Default.new }
- end
- module Mapping
- extend Waves::Mapping
- on( :get => [] ) { data = "x" * ( query.size.to_i * 1024 ) }
- end
- end
- end
- Waves << BoogieBoard
Add Comment
Please, Sign In to add comment