example/protectedlobster.rb in rack-1.4.7 vs example/protectedlobster.rb in rack-1.5.0.beta.1
- old
+ new
@@ -9,6 +9,6 @@
protected_lobster.realm = 'Lobster 2.0'
pretty_protected_lobster = Rack::ShowStatus.new(Rack::ShowExceptions.new(protected_lobster))
-Rack::Handler::WEBrick.run pretty_protected_lobster, :Port => 9292
+Rack::Server.start :app => pretty_protected_lobster, :Port => 9292