On Wed, 2012-08-08 at 14:54 +0200, [email protected] wrote:
> From: Michal Fojtik <[email protected]>
>
> * Fixtures generators are not needed
> * Removed task for deltacloudc
> * Added minitest task
>
> Signed-off-by: Michal fojtik <[email protected]>
You should also remove the rspec stuff:
diff --git a/client/Rakefile b/client/Rakefile
index 9ced4ad..255f735 100644
--- a/client/Rakefile
+++ b/client/Rakefile
@@ -31,23 +31,6 @@ Gem::PackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
-def available?(name)
- Gem::Specification.find_by_name(name)
-rescue Gem::LoadError
- false
-rescue
- Gem.available?(name)
-end
-
-if available?('rspec')
- require 'rspec/core/rake_task'
- desc "Run all examples"
- RSpec::Core::RakeTask.new('spec') do |t|
- t.pattern = FileList['specs/**/*_spec.rb']
- t.rspec_opts = [ "--format", "nested", "--color"]
- end
-end
-
desc "Reinstall gem"
task :reinstall do
puts %x{gem uninstall deltacloud-client --all -I -x}