[DRE-commits] [ruby-merb-haml] 01/09: Use the rake method to run the tests

Cédric Boutillier boutil at moszumanska.debian.org
Wed Jul 9 05:36:19 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-merb-haml.

commit 6448c9bbcc2219952b4936ae9291c67dc31d8dbf
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Jul 9 06:48:01 2014 +0200

    Use the rake method to run the tests
---
 debian/changelog       | 9 +++++++++
 debian/ruby-tests.rake | 5 +++++
 debian/ruby-tests.rb   | 5 -----
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 18a1953..386efe3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-merb-haml (1.1.3-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Use the rake method to run the tests.
+    It adds spec/ to the loadpath automatically and the spec_helper.rb file is
+    found without additional directory information (Closes: #747690)
+
+ -- Cédric Boutillier <boutil at debian.org>  Wed, 09 Jul 2014 06:48:12 +0200
+
 ruby-merb-haml (1.1.3-2) unstable; urgency=low
 
   * Add missing depends on ruby-haml.  Closes: #685317.
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..70a846d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+
+task :default => :spec
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 9b4db02..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-require 'rspec/autorun'
-
-Dir['spec/*_spec.rb'].each { |f|
-  require f
-}

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



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