Rakefile in smacks-apricoteatsgorilla-0.5.0 vs Rakefile in smacks-apricoteatsgorilla-0.5.1

- old
+ new

@@ -15,5 +15,29 @@ 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 = "apricoteatsgorilla" + spec.author = "Daniel Harrington" + spec.email = "me@d-harrington.com" + spec.homepage = "http://github.com/smacks/apricoteatsgorilla" + spec.summary = "SOAP communication helper." + spec.description = spec.summary + + spec.rdoc_options += [ + "--title", "Apricot eats Gorilla", + "--main", "README.rdoc", + "--line-numbers", + "--inline-source" + ] + + spec.add_runtime_dependency("hpricot", "0.8.241") + spec.add_development_dependency("rspec", ">= 1.2.8") + end +rescue LoadError + puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" +end