From b12d348b6eee67a687ef940e848490a0cf4b947e Mon Sep 17 00:00:00 2001 From: kares Date: Wed, 11 Apr 2012 14:41:45 +0200 Subject: [PATCH] rspec --color -- format documentation --- .gitignore | 1 + Rakefile | 4 +++- therubyrhino.gemspec | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7dd07c5..2834533 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .idea +nbproject doc *.gem .rvmrc diff --git a/Rakefile b/Rakefile index 2264634..f47116f 100644 --- a/Rakefile +++ b/Rakefile @@ -8,6 +8,8 @@ task :clean do end require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new +RSpec::Core::RakeTask.new do |spec| + spec.rspec_opts = ['--color', "--format documentation"] +end task :default => :spec diff --git a/therubyrhino.gemspec b/therubyrhino.gemspec index 3e7d2f4..425b10e 100644 --- a/therubyrhino.gemspec +++ b/therubyrhino.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.summary = %q{Embed the Rhino JavaScript interpreter into JRuby} s.add_development_dependency "rake" - s.add_development_dependency "rspec" + s.add_development_dependency "rspec", ">= 2.7" s.add_development_dependency "mocha" s.add_development_dependency "jruby-openssl" end