Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Glimpse for Rack - A client side Glimpse into whats going on in your server

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Glimpse.Rack

Glimpse for Rack - A client side Glimpse into whats going on in your server

Rack Server Module

The Glimpse "theory of operation" is that server modules or plugins expose application, configuration, diagnostic, or environment information. This project provides Glimpse for any Rack-based framework or application.

Installation

% gem install glimpse

Configuration

# add a use line to your builder
require 'rack/glimpse'
Rack::Builder.new do
  use Rack::Glimpse, {
    :glimpse          => { :enabled => false, :request_limit => '15', :logging_enabled => false, :cache_enabled => true, :ip_forwarding_enabled => false },
    :ip_addresses     => {},
    :plugin_blacklist => {},
    :url_blacklist    => {},
    :content_types    => {},
    :environments     => {}
  }

  run Hello.new
end

Creating Plugins

Read the documentation for more information.

Contributing

Obtain the project (assumes you've forked it)

% cd ~/projects
% git clone git@github.com:user/Glimpse.Rack.git && cd Glimpse.Rack
% bundle install

Run Tests

% bundle exec rake test

License

Glimpse is licensed under the ??? license.

Something went wrong with that request. Please try again.