[DRE-commits] [ruby-serverspec] 07/07: debian/ruby-tests.rake: load upstream Rakefile instead of duplicating it

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Jun 13 22:23:15 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-serverspec.

commit 14f9c9c13ef17beb4be169f0e04a7536e7b32b28
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jun 13 19:11:43 2015 -0300

    debian/ruby-tests.rake: load upstream Rakefile instead of duplicating it
---
 debian/changelog       | 1 +
 debian/ruby-tests.rake | 8 ++------
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fc4a2a8..1042937 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ ruby-serverspec (2.18.0-1) UNRELEASED; urgency=medium
   * debian/patches/old-rspec: dropped, we want the new rspec now
   * debian/patches/fix-example: dropped, not needed anymore
   * Update packaging with a new dh-make-ruby run
+  * debian/ruby-tests.rake: load upstream Rakefile instead of duplicating it
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 13 Jun 2015 17:25:51 -0300
 
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index dcc1601..0c75a56 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,7 +1,3 @@
-require 'rspec/core/rake_task'
+load 'Rakefile'
 
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern = './spec/**/*_spec.rb'
-end
-
-task :default => :spec
+task :default => 'spec:all'

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



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