Sha256: c45084064e425dfd9124e377e79fac74f130c502e0557cd3ed9c113783453693

Contents?: true

Size: 1.35 KB

Versions: 4

Compression:

Stored size: 1.35 KB

Contents

require "rubygems"
require "rake"
require "spec/rake/spectask"
require "rake/rdoctask"

task :default => :spec

Spec::Rake::SpecTask.new do |spec|
  spec.spec_files = FileList["spec/**/*_spec.rb"]
  spec.spec_opts << "--color"
  spec.libs += ["lib", "spec"]
  spec.rcov = true
  spec.rcov_dir = "rcov"
end

Rake::RDocTask.new do |rdoc|
  rdoc.title = "Savon"
  rdoc.rdoc_dir = "rdoc"
  rdoc.rdoc_files.include("lib/**/*.rb")
  rdoc.options = ["--line-numbers", "--inline-source"]
end

begin
  require "jeweler"
  Jeweler::Tasks.new do |spec|
    spec.name = "savon"
    spec.author = "Daniel Harrington"
    spec.email = "me@rubiii.com"
    spec.homepage = "http://github.com/rubiii/savon"
    spec.summary = "Heavy metal Ruby SOAP client library"
    spec.description = spec.summary

    spec.files = FileList["[A-Z]*", "{lib,spec}/**/*.{rb,xml}"]

    spec.rdoc_options += [
      "--title", "Savon",
      "--line-numbers",
      "--inline-source"
    ]

    spec.add_runtime_dependency("builder", ">= 2.1.2")
    spec.add_runtime_dependency("crack", ">= 0.1.4")

    spec.add_development_dependency("rspec", ">= 1.2.8")
    spec.add_development_dependency("mocha", ">= 0.9.7")
    spec.add_development_dependency("fakeweb", ">= 1.2.7")
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
savon-0.6.7 Rakefile
savon-0.6.6 Rakefile
savon-0.6.5 Rakefile
savon-0.6.4 Rakefile