README.md in grape-batch-1.0.2 vs README.md in grape-batch-1.0.3

- old
+ new

@@ -1,9 +1,11 @@ # Grape::Batch Rack middleware which extends Grape::API to support request batching. +![Build status](https://travis-ci.org/c4mprod/grape-batch.svg?branch=master) + ## Installation Add this line to your application's Gemfile: gem 'grape-batch' @@ -24,10 +26,10 @@ 1. Create an initializer 'config/initializers/grape-batch.rb' 2. Add the middleware to the stack ```ruby # grape-batch.rb Rails.application.configure do - config.middleware.insert_before Rack::Sendfile, Grape::Batch::Base + config.middleware.use Grape::Batch::Base end ``` ### Sinatra and other Rack apps ```ruby \ No newline at end of file