[DRE-commits] [yard] 03/13: debian/rules, debian/ruby-tests.rake: refreshed with `dh-make-ruby -w`

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Jan 13 09:54:04 UTC 2017


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

terceiro pushed a commit to branch master
in repository yard.

commit 347aaf9c73c66561d79dcc980a38b767d88eaba5
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Tue Jan 10 17:47:18 2017 -0200

    debian/rules, debian/ruby-tests.rake: refreshed with `dh-make-ruby -w`
---
 debian/changelog       |  1 +
 debian/ruby-tests.rake |  8 ++++----
 debian/rules           | 13 ++-----------
 3 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 33b56ff..35abbf6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ yard (0.9.7-1) UNRELEASED; urgency=medium
   [ Antonio Terceiro ]
   * New upstream release. Includes change to make the output reproducible
     (Closes: #849972)
+  * debian/rules, debian/ruby-tests.rake: refreshed with `dh-make-ruby -w`
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 10 Jan 2017 17:44:31 -0200
 
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 70a846d..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,5 @@
-require 'rspec/core/rake_task'
+require 'gem2deb/rake/spectask'
 
-RSpec::Core::RakeTask.new(:spec)
-
-task :default => :spec
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
+end
diff --git a/debian/rules b/debian/rules
index 53417f1..9c0a359 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,6 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-export DH_RUBY_IGNORE_TESTS=require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+export GEM2DEB_TEST_RUNNER = --check-dependencies
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

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



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