[DRE-commits] [SCM] ruby-domain-name.git branch, master, updated. debian/0.5.2-1-8-g5a9fe68

Cédric Boutillier cedric.boutillier at gmail.com
Thu Jun 28 13:36:00 UTC 2012


The following commit has been merged in the master branch:
commit e441cc6a3a3a492ff962d21e4865037a48dde2ab
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Thu Jun 28 15:16:56 2012 +0200

    Enable test suite; build-depend on ruby-shoulda

diff --git a/debian/control b/debian/control
index 6729cc4..5619600 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Gunnar Wolf <gwolf at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-unf
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-unf, ruby-shoulda
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-domain-name.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-domain-name.git;a=summary
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..b3d9ddf 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1,2 @@
-# FIXME
-# there's a spec/ or a test/ directory in the upstream source, but
-# no test suite was defined in the Gem specification. It would be
-# a good idea to define it here so the package gets tested at build time.
-# Examples:
-# $: << 'lib' << '.'
-# Dir['{spec,test}/**/*.rb'].each { |f| require f }
-#
-# require 'test/ts_foo.rb'
-#
-# require 'rbconfig'
-# ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name'])
-# exec("#{ruby} -I. test/runtests.rb")
+$: << "test"
+Dir['{spec,test}/**/*.rb'].each { |f| require f }

-- 
ruby-domain-name.git



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