[DRE-commits] [ruby-sequel] 01/01: run unit tests with rake

Dmitry Borodaenko angdraug at moszumanska.debian.org
Tue Feb 9 03:56:16 UTC 2016


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

angdraug pushed a commit to branch master
in repository ruby-sequel.

commit e0b770adae36b51c9ed99c018ee3874c0404c1cc
Author: Dmitry Borodaenko <angdraug at gmail.com>
Date:   Mon Feb 8 19:56:09 2016 -0800

    run unit tests with rake
---
 debian/control       | 1 +
 debian/ruby-tests.rb | 6 +-----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 821808a..46592e7 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.al
 Uploaders: Dmitry Borodaenko <angdraug at debian.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
+               rake,
                ruby-rspec,
                ruby-json,
                ruby-sqlite3,
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 32e2ef7..ac0a213 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,5 +1 @@
-$: << 'lib' << '.'
-require 'rspec'
-Dir['spec/**/*_spec.rb'].select {|f|
-  f !~ %r{database_spec.rb$} and f !~ %r{/adapters/}
-}.each {|f| require f }
+exec 'rake', 'spec'

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



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