Rakefile in hyperclient-0.8.1 vs Rakefile in hyperclient-0.8.2
- old
+ new
@@ -1,12 +1,12 @@
#!/usr/bin/env rake
-begin
- require 'bundler/setup'
-rescue LoadError
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
-end
+require 'rubygems'
+require 'bundler'
+Bundler.setup :default, :test, :development
+Bundler::GemHelper.install_tasks
+
if ENV['COVERAGE']
require 'simplecov'
SimpleCov.start do
add_filter '/test/'
add_filter '/features/'
@@ -27,9 +27,10 @@
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
+ t.warning = true
end
desc 'runs the whole spinach suite'
task :spinach do
ruby '-S spinach'