Sha256: 406076aba1020eaef934fa7fb7aba1af7fe279f0ada3039c951ba91ade955851

Contents?: true

Size: 1.71 KB

Versions: 3

Compression:

Stored size: 1.71 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "shellshot"
    gem.summary = %Q{ruby proxy handling the complexities of system invocations}
    gem.description = %Q{
      A small library dealing with the obscurities of shell commands, piping and timeouts.
      Most of the stuff comes from bad experience in http://beanstalkapp.com.
    }
    gem.email = "underlog@gmail.com"
    gem.homepage = "http://github.com/underlog/shellshot"
    gem.authors = ["Petyo Ivanov"]
    gem.add_development_dependency "rspec"
    gem.add_dependency 'SystemTimer'
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_opts = %w[--format specdoc --color]
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "shellshot #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'ruby-prof/task'
desc "run the profile tests"
Rake::TestTask.new(:profile) do |t|
  t.libs << "profile"
  t.pattern = 'profile/*_profile.rb'
  t.verbose = true
  t.warning = false
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shellshot-0.4.3 Rakefile
shellshot-0.4.2 Rakefile
shellshot-0.4.1 Rakefile