[DRE-commits] [gem2deb] 02/03: Revert "dh-make-ruby: fix rspec rake task rspec 3"

Antonio Terceiro terceiro at moszumanska.debian.org
Thu Apr 9 15:16:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository gem2deb.

commit a1d298d362cd510aea1efd75aae579ce9892171f
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Thu Apr 9 17:09:10 2015 +0200

    Revert "dh-make-ruby: fix rspec rake task rspec 3"
    
    This reverts commit f3f5bc13259bc252e29a1cca2900511450c2408f.
---
 lib/gem2deb/dh_make_ruby.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/gem2deb/dh_make_ruby.rb b/lib/gem2deb/dh_make_ruby.rb
index 031c803..4c39f1f 100644
--- a/lib/gem2deb/dh_make_ruby.rb
+++ b/lib/gem2deb/dh_make_ruby.rb
@@ -364,8 +364,8 @@ module Gem2Deb
           f.puts <<-EOF
 require 'rspec/core/rake_task'
 
-task :spec do
-  ruby '-S', 'rspec'
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
 end
 
 task :default => :spec

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git



More information about the Pkg-ruby-extras-commits mailing list