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

https://github.com/0exp/blast_wave

A set of useful rack middlewares (in active development)
https://github.com/0exp/blast_wave

rack rack-middleware rails-middleware

Last synced: 8 months ago
JSON representation

A set of useful rack middlewares (in active development)

Awesome Lists containing this project

README

          

# BlastWave · [![Gem Version](https://badge.fury.io/rb/blast_wave.svg)](https://badge.fury.io/rb/blast_wave) [![Build Status](https://travis-ci.org/0exp/blast_wave.svg?branch=master)](https://travis-ci.org/0exp/blast_wave) [![Coverage Status](https://coveralls.io/repos/github/0exp/blast_wave/badge.svg?branch=master)](https://coveralls.io/github/0exp/blast_wave?branch=master)

**!IMPORTANT** In active development!

A set of useful **rack** middlewares.

## Installation

```ruby
gem 'blast_wave'
```

```shell
bundle install
```

```ruby
require 'blast_wave'
```

## Usage

- [Rack::BlastWave::RequestId](/docs/request_id.md) - provides an unique id attribute to the each request;
- [Rack::BlastWave::WhiteList](/docs/white_list.md) - a set of filters that allows requests;
- [Rack::BlastWave::BlackList](/docs/black_list.md) - a set of filters that blocks requests;

## Contributing

- Fork it (https://github.com/0exp/blast_wave/fork)
- Create your feature branch (`git checkout -b feature/my-new-feature`)
- Commit your changes (`git commit -am 'Add some feature'`)
- Push to the branch (`git push origin feature/my-new-feature`)
- Create new Pull Request

## License

Released under MIT License.

## Authors

Created by [Rustam Ibragimov](https://github.com/0exp/)