README.md in sidekiq-logstash-1.2.1 vs README.md in sidekiq-logstash-2.0.0
- old
+ new
@@ -1,10 +1,10 @@
# Sidekiq::Logstash
-[![Gem Version](https://badge.fury.io/rb/sidekiq-logstash.svg)](https://badge.fury.io/rb/sidekiq-logstash) [<img src="https://travis-ci.org/iMacTia/sidekiq-logstash.svg?branch=master" alt="version" />](https://travis-ci.org/iMacTia/sidekiq-logstash)
+[![Gem Version](https://badge.fury.io/rb/sidekiq-logstash.svg)](https://badge.fury.io/rb/sidekiq-logstash)
+[![GitHub Actions CI](https://github.com/iMacTia/sidekiq-logstash/workflows/CI/badge.svg)](https://github.com/iMacTia/sidekiq-logstash/actions?query=workflow%3ACI)
-
Sidekiq::Logstash turns your [Sidekiq](https://github.com/mperham/sidekiq) log into an organised, aggregated, JSON-syntax log ready to be sent to a logstash server.
```json
{
"class" : "MyWorker",
@@ -28,13 +28,14 @@
}
```
## Installation
-Add this line to your application's Gemfile:
+Add one of the following lines to your application's Gemfile:
```ruby
-gem 'sidekiq-logstash'
+gem 'sidekiq-logstash', '~> 2.0' # Sidekiq 6
+gem 'sidekiq-logstash', '< 2' # Sidekiq 5 or older
```
And then execute:
```bash