Improvements to the points plugin
authorEric Sorenson <eric.sorenson@puppetlabs.com>
Wed, 16 Dec 2015 00:32:45 +0000 (16:32 -0800)
committerEric Sorenson <eric.sorenson@puppetlabs.com>
Wed, 16 Dec 2015 00:32:45 +0000 (16:32 -0800)
commitbc7efe2d4b360da0276287e6cc7f6a401609c162
tree984fa736a6d21874d0d4abba3acad1710a54c8f4
parent2700d5d2817671329261b22f8edc3a27b1f52595
Improvements to the points plugin

This commit makes a couple of improvements the points plugin:
- added a 'pointsdump' command to show everything in the registry,
  not just the best and worst
- fixed Hash#index deprecation warnings under ruby >1.9
- made nicer messages when displaying stats on an empty registry
data/rbot/plugins/points.rb