Sha256: d8dcdda6f506b802e8447d7d9f976633ae2f68ef220dad032ec7cdfa640a6ad3

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))

require "spec"
require "spec/rake/spectask"
require 'lib/typhoeus'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "arachni-typhoeus"
    gemspec.summary = "Typhoeus gem tailored for Arachni."
    gemspec.description = "Original @ https://github.com/dbalatero/typhoeus."
    gemspec.email = "tasos.laskos@gmail.com"
    gemspec.homepage = "https://github.com/Zapotek/typhoeus/tree/arachni-typhoeus"
    gemspec.authors = ["Paul Dix", "Tasos Laskos"]
    gemspec.add_development_dependency "rspec"
    gemspec.add_development_dependency "jeweler"
    gemspec.add_development_dependency "diff-lcs"
    gemspec.add_development_dependency "sinatra"
    gemspec.add_development_dependency "json"
  end

  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
  t.spec_files = FileList['spec/**/*_spec.rb']
end

task :install do
  rm_rf "*.gem"
  puts `gem build typhoeus.gemspec`
  puts `sudo gem install typhoeus-#{Typhoeus::VERSION}.gem`
end

desc "Run all the tests"
task :default => :spec

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arachni-typhoeus-0.2.0.2 Rakefile
arachni-typhoeus-0.2.0.1 Rakefile
arachni-typhoeus-0.2.0 Rakefile