README.md in capistrano-measure-0.8.1 vs README.md in capistrano-measure-0.9.0
- old
+ new
@@ -1,6 +1,8 @@
# Capistrano::Measure - deployment speed measure tool
+[![Gem Version](https://badge.fury.io/rb/capistrano-measure.svg)](https://badge.fury.io/rb/capistrano-measure)
+[![Build Status](https://travis-ci.org/AMekss/capistrano-measure.svg?branch=master)](https://travis-ci.org/AMekss/capistrano-measure)
In order to improve something you have to measure it! This helps you measure performance of your Capistrano deployments by appending performance reports after each Capistrano execution
Works with **Capistrano 2** and **Capistrano 3**
@@ -82,9 +84,17 @@
I, [2014-10-23T18:10:31.386107 #14352] INFO -- : ..deploy:finished
I, [2014-10-23T18:10:31.386142 #14352] INFO -- : ....deploy:log_revision 0s
I, [2014-10-23T18:10:31.386192 #14352] INFO -- : ..deploy:finished 0s
I, [2014-10-23T18:10:31.386225 #14352] INFO -- : deploy 104s
I, [2014-10-23T18:10:31.386246 #14352] INFO -- : ==========================================================
+
+### Settings
+You could change threshold time to change the results duration's color.
+
+```ruby
+set :alert_threshold, 10 # default 60 sec
+set :warning_threshold, 5 # default 30 sec
+```
## Contributing
1. Fork it ( https://github.com/[my-github-username]/capistrano-measure/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)