public
Description: A throttler for ActiveResource requests.
Homepage: http://aiaio.github.com/active_resource_throttle
Clone URL: git://github.com/aiaio/active_resource_throttle.git
100644 15 lines (12 sloc) 0.308 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rubygems'
require 'rake'
require 'rake/testtask'
require './lib/active_resource_throttle.rb'
 
desc 'Default: run unit tests.'
task :default => :test
 
test_files_pattern = 'test/**/*_test.rb'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = test_files_pattern
  t.verbose = false
end