Rakefile in yawast-0.5.0.beta1 vs Rakefile in yawast-0.5.0.beta2

- old
+ new

@@ -16,15 +16,12 @@ task :codeclimate do Rake::Task['test'].execute require 'simplecov' require 'codeclimate-test-reporter' +end +task :submitcodeclimate do ENV['CODECLIMATE_REPO_TOKEN'] ='6fd9c710b9a6e0da2011c62b81075b9bd620200a2a400f4dbeab9c88829f4cb6' - SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ - SimpleCov::Formatter::HTMLFormatter, - CodeClimate::TestReporter::Formatter - ]) - - CodeClimate::TestReporter::Formatter.new.format(SimpleCov.result) + system 'codeclimate-test-reporter' end