[DRE-commits] [ruby-clamp] 01/01: Enable test suite

Tim Potter tpot-guest at moszumanska.debian.org
Mon Sep 15 02:20:41 UTC 2014


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

tpot-guest pushed a commit to branch master
in repository ruby-clamp.

commit f15b4d1fe05f204a3127f86e10d87d16d6de1dfb
Author: Tim Potter <tpot at hp.com>
Date:   Mon Sep 15 12:20:32 2014 +1000

    Enable test suite
---
 debian/control         | 2 +-
 debian/ruby-tests.rake | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 1a82029..3c39baf 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Tim Potter <tpot at hp.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), ruby-rspec, ruby-rr
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-clamp.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-clamp.git;a=summary
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..89a753d
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+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/ruby-clamp.git



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