README.md in bidu-house-1.1.0 vs README.md in bidu-house-1.2.0
- old
+ new
@@ -1,9 +1,10 @@
Bidu House
==========
[![Code Climate](https://codeclimate.com/github/Bidu/house/badges/gpa.svg)](https://codeclimate.com/github/Bidu/house)
+[![Test Coverage](https://codeclimate.com/github/Bidu/house/badges/coverage.svg)](https://codeclimate.com/github/Bidu/house/coverage)
This gem tries to make server monitoring easier and more reliable by adding an easly configurable
report and making it avaliable in a controller
Getting started
@@ -21,10 +22,10 @@
```ruby
class HealthCheckController < ApplicationController
include Bidu::House
status_report :failures, clazz: Document
- status_report :'failures.schedules', clazz: Schedules, on: :schedules
+ status_report :failures, clazz: Schedules, on: :schedules
status_report :delays, clazz: Schedules, scope: :late, on: :schedules
status_report :'documents.count', clazz: Document, scope: :active, type: House::Range, minimum: 100
status_report :'documents.errors', clazz: Document, scope: :'active.with_error', type: :range, maximum: 1000
def status