Sha256: e83b0f9c81bd12ad81d2ef291929df924cec5f995e1a0eef68045aada86bd4d4
Contents?: true
Size: 373 Bytes
Versions: 129
Compression:
Stored size: 373 Bytes
Contents
require 'rack' require 'rack/lobster' lobster = Rack::Lobster.new protected_lobster = Rack::Auth::Basic.new(lobster) do |username, password| 'secret' == password end protected_lobster.realm = 'Lobster 2.0' pretty_protected_lobster = Rack::ShowStatus.new(Rack::ShowExceptions.new(protected_lobster)) Rack::Server.start :app => pretty_protected_lobster, :Port => 9292
Version data entries
129 entries across 113 versions & 31 rubygems