README.md in litecable-0.5.0 vs README.md in litecable-0.6.0

- old
+ new

@@ -1,7 +1,6 @@ -[![Gem Version](https://badge.fury.io/rb/litecable.svg)](https://rubygems.org/gems/litecable) [![Build Status](https://travis-ci.org/palkan/litecable.svg?branch=master)](https://travis-ci.org/palkan/litecable) [![Circle CI](https://circleci.com/gh/palkan/litecable/tree/master.svg?style=svg)](https://circleci.com/gh/palkan/litecable/tree/master) -[![Dependency Status](https://dependencyci.com/github/palkan/litecable/badge)](https://dependencyci.com/github/palkan/litecable) +[![Gem Version](https://badge.fury.io/rb/litecable.svg)](https://rubygems.org/gems/litecable) [![Build Status](https://travis-ci.org/palkan/litecable.svg?branch=master)](https://travis-ci.org/palkan/litecable) # Lite Cable Lightweight ActionCable implementation. @@ -21,11 +20,11 @@ ## Installation Add this line to your application's Gemfile: ```ruby -gem 'litecable' +gem "litecable" ``` And then execute: $ bundle @@ -72,13 +71,13 @@ - Add `LiteCable::Server::Middleware` to your Rack stack, for example: ```ruby Rack::Builder.new do - map '/cable' do + map "/cable" do # You have to specify your app's connection class use LiteCable::Server::Middleware, connection_class: App::Connection - run proc { |_| [200, { 'Content-Type' => 'text/plain' }, ['OK']] } + run proc { |_| [200, {"Content-Type" => "text/plain"}, ["OK"]] } end end ``` ### Using with AnyCable