Rakefile in brightcove-api-1.0.8 vs Rakefile in brightcove-api-1.0.9
- old
+ new
@@ -34,20 +34,20 @@
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
-task :default => :test
-
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "brightcove-api #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+task :default => :test_rubies
+
task :test_rubies do
- system "rvm 1.8.7,1.9.2 rake test"
+ system "rvm 1.8.7@brightcove-api_gem,1.9.2@brightcove-api_gem rake test"
end
\ No newline at end of file