🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

rack-useful_procline

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rack-useful_procline

bundlerRubygems
Version
0.0.3
Version published
Maintainers
1
Created
Source

Rack::UsefulProcline

Make your proclines informative with some lovely middleware.

Instead of

unicorn master -p 5200
unicorn worker[0] -p 5200

See this

unicorn master -p 5200
unicorn worker[0] : last status: 200. last request_uuid: 53ebb737. Waiting for req.
unicorn worker[0] : GET : /all/the/things : cb18e336

Installation

Add this line to your application's Gemfile:

gem 'rack-useful_procline'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rack-useful_procline

Usage

Configure

Default config is:

Rack::UsefulProcline.configure do |config|
  config.opts[:request_uuid_key]    = 'action_dispatch.request_id'
  config.opts[:show_request_uuid]   = true
  config.opts[:show_request_method] = true
  config.opts[:show_request_path]   = true
end

Use

use Rack::UsefulProcline

Contributing

  • Fork it ( https://github.com/[my-github-username]/rack-useful_procline/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

FAQs

Package last updated on 04 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts