[DRE-commits] [itamae] 02/08: Patch ruby-tests.rake to get specs running, add missing build-dep.

Scott Leggett smlx-guest at moszumanska.debian.org
Thu Dec 1 10:34:55 UTC 2016


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

smlx-guest pushed a commit to branch master
in repository itamae.

commit 7d72dff6616a9cc48ba8e0ddc4143e97020a81f1
Author: Scott Leggett <scott at sl.id.au>
Date:   Wed Nov 30 22:50:30 2016 +1100

    Patch ruby-tests.rake to get specs running, add missing build-dep.
---
 debian/control         | 1 +
 debian/ruby-tests.rake | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 91ce304..7033412 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: debhelper (>= 9~),
                gem2deb,
                rake,
                ruby-ansi,
+               ruby-fakefs,
                ruby-hashie,
                ruby-rspec,
                ruby-schash (>= 0.1.0),
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index cf1591e..7b16a6f 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,7 @@
 require 'gem2deb/rake/spectask'
 
 Gem2Deb::Rake::RSpecTask.new do |spec|
-  spec.pattern = './spec/**/*_spec.rb'
+  spec.ruby_opts = '-I ./spec/unit'
+  spec.exclude_pattern = './spec/unit/lib/itamae/handler/fluentd_spec.rb'
+  spec.pattern = './spec/unit/**/*_spec.rb'
 end

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



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