Rakefile in cloudfiles-1.4.8 vs Rakefile in cloudfiles-1.4.9
- old
+ new
@@ -8,10 +8,11 @@
gemspec.description = "A Ruby version of the Rackspace Cloud Files API."
gemspec.email = "minter@lunenburg.org"
gemspec.homepage = "http://www.rackspacecloud.com/cloud_hosting_products/files"
gemspec.authors = ["H. Wade Minter", "Rackspace Hosting"]
gemspec.add_dependency('mime-types', '>= 1.16')
+ gemspec.add_development_dependency "mocha", "~> 0.9.8"
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
@@ -29,6 +30,11 @@
rm_r 'coverage' rescue nil
end
end
-
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/*_test.rb'
+ test.verbose = true
+end