README.md in barnes-0.0.7 vs README.md in barnes-0.0.8
- old
+ new
@@ -2,13 +2,13 @@
A fork of [trashed](https://github.com/basecamp/trashed) focused on Ruby metrics for Heroku.
## Setup
-### Rails 5
+### Rails 3, 4, 5, and 6
-On Rails 5 (and Rails 3 and 4), add this to your Gemfile:
+On Rails 6 (and Rails 3 and 4 and 5), add this to your Gemfile:
```
gem "barnes"
```
@@ -30,18 +30,21 @@
```
$ bundle install
```
-In your application:
+In your puma.rb file:
```ruby
require 'barnes'
```
Then you'll need to start the client with default values:
```ruby
-Barnes.start
+before_fork do
+ # worker configuration
+ Barnes.start
+end
```