Sha256: cceef48214347f996494ddfcab90302a1c41bbab1c8bc17d5ca058ea166399a9
Contents?: true
Size: 769 Bytes
Versions: 6
Compression:
Stored size: 769 Bytes
Contents
# Fuprint request printer middleware Rack middleware that prints information about your request to console in development. Perfect for Sinatra or Rack apps that don't come with request ouput built in. ### Installation ```ruby gem install fuprint ``` or add to Gemfile. ### Settings ```ruby # Print the whole env hash for each request if true Fuprint.debug = false # Fuprint only prints in development mode @mode = ENV['RACK_ENV'] || 'development' ``` ### Usage ```ruby # Require fuprint if you're not using Bundler require 'fuprint' # Include as middleware use Fuprint::Request ``` That's it! This library is actively maintained by [Fugroup Ltd.](http://www.fugroup.net) We are the creators of [CrowdfundHQ.](https://crowdfundhq.com) Thanks! `@authors: Vidar`
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
fuprint-0.2.0 | README.md |
fuprint-0.1.4 | README.md |
fuprint-0.1.3 | README.md |
fuprint-0.1.2 | README.md |
fuprint-0.1.1 | README.md |
fuprint-0.1.0 | README.md |