Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only test task for rake file

  • Loading branch information...
commit 4d521bb7b055c673a2e45ab4b1023989d7bd8b55 1 parent e113fd0
@chrisroberts chrisroberts authored
Showing with 1 addition and 49 deletions.
  1. +1 −49 Rakefile
View
50 Rakefile
@@ -1,53 +1,5 @@
-#
-# To change this template, choose Tools | Templates
-# and open the template in the editor.
-
-
-require 'rubygems'
-require 'rake'
-require 'rake/clean'
-require 'rake/gempackagetask'
-require 'rake/rdoctask'
require 'rake/testtask'
-require 'spec/rake/spectask'
-
-spec = Gem::Specification.new do |s|
- s.name = 'ActionPool'
- s.author = %q(spox)
- s.email = %q(spox@modspox.com)
- s.version = '0.2.3'
- s.summary = %q(Thread Pool)
- s.platform = Gem::Platform::RUBY
- s.files = Dir['**/*']
- s.rdoc_options = %w(--title ActionPool --main README.rdoc --line-numbers)
- s.extra_rdoc_files = %w(README.rdoc CHANGELOG)
- s.require_paths = %w(lib)
- s.required_ruby_version = '>= 1.8.6'
- s.add_dependency 'splib', '~> 1.4'
- s.homepage = %q(http://github.com/spox/actionpool)
- s.description = "The ActionPool is an easy to use thread pool for ruby."
-end
-
-Rake::GemPackageTask.new(spec) do |p|
- p.gem_spec = spec
- p.need_tar = true
- p.need_zip = true
-end
-
-Rake::RDocTask.new do |rdoc|
- files =['README', 'LICENSE', 'lib/**/*.rb']
- rdoc.rdoc_files.add(files)
- rdoc.main = "README.rdoc" # page to start on
- rdoc.title = "ActionPool Docs"
- rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
- rdoc.options << '--line-numbers'
-end
Rake::TestTask.new do |t|
- t.test_files = FileList['test/**/*.rb']
+ t.pattern = 'test/*.rb'
end
-
-Spec::Rake::SpecTask.new do |t|
- t.spec_files = FileList['spec/**/*.rb']
- t.libs << Dir["lib"]
-end
Please sign in to comment.
Something went wrong with that request. Please try again.