Skip to content

Commit

Permalink
cleanup Rakefile; update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Ryan committed Jul 21, 2011
1 parent 015d0e8 commit 5245e96
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@

## Installation

You can install overwatch-collection as a gem:

gem install overwatch-collection

Or download the source:

git clone https://github.com/danryan/overwatch-collection.git

###
## Features

### Resources
Expand All @@ -21,6 +30,5 @@ Snapshots are also broken up and saved as individual attribute/value pairs, whic
* Log to STDOUT like a proper service.
* Callbacks! Decide what happens after data gets collected.
* Taggable resources and snapshots
## TODO

* Let config file be, er, configurable
* Add a User model for authentication/authorization
19 changes: 2 additions & 17 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,11 @@ YARD::Rake::YardocTask.new do |t|
t.files = [ 'lib/**/*.rb' ]
end

# namespace :resque do
# task :setup do
# require 'resque'
# require 'resque_scheduler'
# require 'resque/scheduler'

# Resque.redis = 'localhost:6379'

# Resque.schedule = YAML.load_file(
# File.join(File.expand_path(File.dirname(__FILE__)), 'config/schedule.yml')
# )

# end
# end

namespace :overwatch do
namespace :test do
task :snapshot => :environment do
a = Asset.first
a.snapshots.create(:raw_data => {:one => rand(10), :two => { :three => rand(10) }})
a = Resource.first
a.snapshots.create(:data => {:one => rand(10), :two => { :three => rand(10) }})
end
end
end

0 comments on commit 5245e96

Please sign in to comment.