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
- Host: GitHub
- URL: https://github.com/ostaptan/firudo
- Owner: ostaptan
- License: mit
- Created: 2015-01-30T15:22:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-03T14:37:55.000Z (over 11 years ago)
- Last Synced: 2024-04-24T05:03:35.902Z (about 2 years ago)
- Topics: filtering, ruby, security, sinatra, url-parameters
- Language: JavaScript
- Homepage:
- Size: 473 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firudo
[](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, ...