Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
adding some boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Lyon committed Oct 30, 2008
1 parent 71f1807 commit 6cf7c4f
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 2 deletions.
27 changes: 25 additions & 2 deletions README.mkdn
Expand Up @@ -29,7 +29,30 @@ Ouroubourus is made up of several components:

See the metronome example in `examples/metronome.rb`

## REQUIREMENTS
## Requirements

- The example provided requires Ben Bleything's [Midiator](http://rubyforge.org/projects/midiator)
- Network Time Syncing/Serving will require my own [Datagrammer](http://github.com/mattly/datagrammer)
- Network Time Syncing/Serving will require my own [Datagrammer](http://github.com/mattly/datagrammer)

## License

Copyright (c) 2008 Matt Lyon

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
5 changes: 5 additions & 0 deletions Rakefile
@@ -0,0 +1,5 @@
require "rake"
Dir['tasks/**/*.rake'].each { |rake| load rake }

desc "Run the specs."
task :default => :spec
11 changes: 11 additions & 0 deletions spec/spec_helper.rb
@@ -0,0 +1,11 @@
require 'rubygems'

gem 'rspec'
require 'spec'

gem 'ruby-debug'
require 'ruby-debug'

require "#{File.dirname(__FILE__)}/../lib/ouroubourus"

Debugger.start
20 changes: 20 additions & 0 deletions tasks/rspec.rake
@@ -0,0 +1,20 @@
begin
require 'spec'
rescue LoadError
require 'rubygems'
require 'spec'
end
begin
require 'spec/rake/spectask'
rescue LoadError
puts <<-EOS
To use rspec for testing you must install rspec gem:
gem install rspec
EOS
exit(0)
end

desc "Run the specs in spec/"
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/*_spec.rb']
end

0 comments on commit 6cf7c4f

Please sign in to comment.