Rakefile in catarse_moip-0.1.1 vs Rakefile in catarse_moip-1.0.0

- old
+ new

@@ -1,8 +1,9 @@ #!/usr/bin/env rake begin require 'bundler/setup' + require 'rspec/core/rake_task' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end begin require 'rdoc/task' @@ -18,10 +19,14 @@ rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end +Bundler::GemHelper.install_tasks +RSpec::Core::RakeTask.new(:spec) +task :jasmine do + sh "jasmine-node spec/javascripts" +end - -Bundler::GemHelper.install_tasks +task default: [:spec, :jasmine]