Sha256: 4f87c0e553d4bad4ca32b2b6bbd3116215213cd78a045857eb9b468e0f021909

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

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

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "typhoeus"
    gemspec.summary = "A library for interacting with web services (and building SOAs) at blinding speed."
    gemspec.description = "Like a modern code version of the mythical beast with 100 serpent heads, Typhoeus runs HTTP requests in parallel while cleanly encapsulating handling logic."
    gemspec.email = "paul@pauldix.net"
    gemspec.homepage = "http://github.com/pauldix/typhoeus"
    gemspec.authors = ["Paul Dix"]
  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

2 entries across 2 versions & 1 rubygems

Version Path
typhoeus-0.1.26 Rakefile
typhoeus-0.1.25 Rakefile