Sha256: acfd12e701d493d5bfaa0b3bb6d27a7cff216dacc15763a3ad0daae353d1bdf3
Contents?: true
Size: 1.29 KB
Versions: 5
Compression:
Stored size: 1.29 KB
Contents
libdir = File.expand_path("lib") $:.unshift(libdir) unless $:.include?(libdir) begin require 'jeweler' Jeweler::Tasks.new do |s| s.name = "em-beanstalk" s.description = s.summary = "EventMachine client for Beanstalkd" s.email = "dan@postrank.com" s.homepage = "http://github.com/joshbuddy/em-beastalk" s.authors = ["Dan"] s.files = FileList["[A-Z]*", "{lib,spec}/**/*"] s.add_dependency 'eventmachine' end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end require 'spec' require 'spec/rake/spectask' task :spec => 'spec:all' namespace(:spec) do Spec::Rake::SpecTask.new(:all) do |t| t.spec_opts ||= [] t.spec_opts << "-rubygems" t.spec_opts << "--options" << "spec/spec.opts" t.spec_files = FileList['spec/**/*_spec.rb'] end end desc "Run all examples with RCov" Spec::Rake::SpecTask.new('spec_with_rcov') do |t| t.spec_files = FileList['spec/**/*.rb'] t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end require 'rake/rdoctask' desc "Generate documentation" Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.rdoc_files.include("README.rdoc", "lib/**/*.rb") rd.rdoc_dir = 'rdoc' end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
em-beanstalk-0.0.10 | Rakefile |
em-beanstalk-0.0.9 | Rakefile |
em-beanstalk-0.0.8 | Rakefile |
em-beanstalk-0.0.7 | Rakefile |
em-beanstalk-0.0.6 | Rakefile |