[DRE-commits] [SCM] ruby-mail.git branch, master, updated. upstream/2.4.1-14-gf05f783

Carl Worth cworth at debian.org
Fri Mar 2 23:27:59 UTC 2012


The following commit has been merged in the master branch:
commit f80d8c86b55f2286f764f6f747b23f27827a6b7f
Author: Carl Worth <cworth at debian.org>
Date:   Fri Mar 2 15:00:49 2012 -0800

    debian: Run all tests in the spec directory
    
    The original import of the ruby-mail source did not include the spec
    directory of tests since the author apparently doesn't include these
    in the gem. I got these by not using "git import-orig" to pull in a
    tar file of the same 2.4.1 release of mail-ruby downloaded from
    github.

diff --git a/debian/control b/debian/control
index 4134449..fb6fc54 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:  <cworth at debian.org>
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~)
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-rspec
 Standards-Version: 3.9.2
 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-mail.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-mail.git;a=summary
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..f6d0a8a
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1 @@
+Dir['{spec}/**/*.rb'].each { |f| require f }

-- 
ruby-mail.git



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