[DRE-commits] [gem2deb] 01/03: dh-make-ruby: fix rspec rake task rspec 3
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Apr 9 14:16:25 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 f3f5bc13259bc252e29a1cca2900511450c2408f
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Apr 9 12:23:52 2015 +0200
dh-make-ruby: fix rspec rake task rspec 3
---
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 4c39f1f..031c803 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'
-RSpec::Core::RakeTask.new(:spec) do |spec|
- spec.pattern = './spec/**/*_spec.rb'
+task :spec do
+ ruby '-S', 'rspec'
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