An open API service indexing awesome lists of open source software.

https://github.com/ostaptan/firudo

rubygem to setup logging and filtering secure attributes for Sinatra
https://github.com/ostaptan/firudo

filtering ruby security sinatra url-parameters

Last synced: about 2 months ago
JSON representation

rubygem to setup logging and filtering secure attributes for Sinatra

Awesome Lists containing this project

README

          

# Firudo

[![Gem Version](https://badge.fury.io/rb/firudo.svg)](http://badge.fury.io/rb/firudo)

Provides simple logging into log files (/log/development.log || /log/production.log) and filtering security parameters from logs for Sinatra based applications.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'firudo'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install firudo

## Usage

register Sinatra::Firudo
Sinatra::Firudo.filter_attributes :password, :token, :password_confirmation, ...