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