[DRE-commits] [ruby-sawyer] 02/06: Enable unit tests

Miguel Landaeta nomadium at moszumanska.debian.org
Tue Mar 4 21:06:25 UTC 2014


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

nomadium pushed a commit to branch master
in repository ruby-sawyer.

commit 3ee7d2653aab77494d296021a51b1eb25dacad9e
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Tue Mar 4 17:44:10 2014 -0300

    Enable unit tests
---
 debian/control       |  3 ++-
 debian/ruby-tests.rb | 14 +-------------
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/debian/control b/debian/control
index 9a76b14..da4ac30 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders:  <>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~),
+ ruby-faraday (>= 0.8~), ruby-addressable (>= 2.3.5~)
 Standards-Version: 3.9.4
 #Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-sawyer.git
 #Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-sawyer.git;a=summary
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index eac5ce6..a07f950 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,13 +1 @@
-# 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")
+Dir['{spec,test}/**/*.rb'].each { |f| require f }

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



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