Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rkh/sinatra-web-inspector
DEPRECATED
https://github.com/rkh/sinatra-web-inspector
Last synced: about 1 month ago
JSON representation
DEPRECATED
- Host: GitHub
- URL: https://github.com/rkh/sinatra-web-inspector
- Owner: rkh
- Created: 2010-02-15T14:31:30.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-03-02T14:21:19.000Z (over 14 years ago)
- Last Synced: 2023-04-19T14:36:07.301Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 78.1 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sinatra::WebInspector
=====================The WebInspector allows you to inspect a running [Sinatra](http://sinatrarb.com) app.
Just browse http://localhost:4567/\_\_inspect\_\_When used with BigBand, it will – per default – only be activated in development mode.
BigBand
-------Sinatra::WebInspector is part of the [BigBand](http://github.com/rkh/big_band) stack.
Check it out if you are looking for other fancy Sinatra extensions.Installation
------------_Note:_ CSS has not yet been imported from BigBand, so you won't really enjoy this.
gem install sinatra-web-inspector --prerelease
Usage
-----Classic style:
require "sinatra"
configure(:development) { require "sinatra/webinspector" }Modular style:
require "sinatra/base"
require "sinatra/webinspector"
class Foo < Sintra::Base
configure(:development) { register Sintra::WebInspector }
end