[DRE-commits] [ruby-bogus] 01/02: do not build-depend on ruby-activerecord-nulldb-adapter, exclude tests using it

Cédric Boutillier boutil at moszumanska.debian.org
Sat Nov 15 15:08:27 UTC 2014


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

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

commit 94e8c7be903393733f538e15dd3cdfeb6fadeb1b
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Nov 15 15:59:24 2014 +0100

    do not build-depend on ruby-activerecord-nulldb-adapter, exclude tests using it
---
 debian/control         | 1 -
 debian/ruby-tests.rake | 6 +++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index debf4ee..076a26a 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: Cédric Boutillier <boutil at debian.org>
 Build-Depends: debhelper (>= 7.0.50~),
                gem2deb (>= 0.7.5~),
-               ruby-activerecord-nulldb-adapter,
                ruby-dependor,
                ruby-minitest,
                ruby-rr,
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 70a846d..4813377 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,9 @@
 require 'rspec/core/rake_task'
 
-RSpec::Core::RakeTask.new(:spec)
+RSpec::Core::RakeTask.new(:spec) do |t|
+  t.pattern = FileList.new('spec/**/*_spec.rb') do |fl|
+    fl.exclude 'spec/bogus/fakes/fake_ar_attributes_spec.rb'
+  end
+end
 
 task :default => :spec

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



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