Sha256: 0789180740535ad6829facce81981cb8c1cdc59e3a58895461f1bc2a7ad7f66e

Contents?: true

Size: 1.31 KB

Versions: 2

Compression:

Stored size: 1.31 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"
end

Rake::RDocTask.new do |rdoc|
  rdoc.title = "Savon"
  rdoc.rdoc_dir = "rdoc"
  rdoc.main = "README.rdoc"
  rdoc.rdoc_files.include("README.rdoc", "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@d-harrington.com"
    spec.homepage = "http://github.com/rubiii/savon"
    spec.summary = "SOAP client library to enjoy."
    spec.description = spec.summary

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

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

    spec.add_runtime_dependency("hpricot", "0.8.241")
    spec.add_runtime_dependency("rubiii-apricoteatsgorilla", "0.5.3")

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubiii-savon-0.2.1 Rakefile
rubiii-savon-0.2.2 Rakefile