burden/README.md
Gregory Eremin 16ea9b47f3 Statistics
2013-06-05 00:41:48 +04:00

697 B

RakeControl

RakeControl is a tool for managing Rake tasks.

Installation

Add this line to your application's Gemfile:

gem 'rake_control'

And then execute:

$ bundle

Configuration

Add this lines to the top of your application's Rakefile:

require 'rake_control'
RakeControl.configure do |c|
  c.storage = :active_record # or :mongoid, :mongo_mapper
end

Usage

stats = Rake::Task['my:task:name'].stats stats.log

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request