[DRE-commits] [SCM] ruby-bluecloth.git branch, master, updated. debian/2.1.0-1-12-gec3e854

Cédric Boutillier cedric.boutillier at gmail.com
Tue Jan 24 13:38:30 UTC 2012


The following commit has been merged in the master branch:
commit ec3e854f2ad1d69912f9edb5ededa543cf5ebcdb
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Tue Jan 24 14:33:42 2012 +0100

    limit debian/ruby-tests.rb to *_spec.rb files

diff --git a/debian/changelog b/debian/changelog
index 6b8198f..63f2362 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-bluecloth (2.2.0-2) unstable; urgency=low
+
+  * Refine wildcard pattern in debian/ruby-tests.rb to exclude files not
+    supposed to be loaded directly.
+
+ -- Cédric Boutillier <cedric.boutillier at gmail.com>  Tue, 24 Jan 2012 14:31:16 +0100
+
 ruby-bluecloth (2.2.0-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 200d0d8..5a24166 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/**/*_spec.rb'].each { |f| require f }

-- 
ruby-bluecloth.git



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