[DRE-commits] [ruby-combustion] 03/08: Add tests for package build

Lucas Moura lucasmoura-guest at moszumanska.debian.org
Sat Mar 5 15:35:04 UTC 2016


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

lucasmoura-guest pushed a commit to branch master
in repository ruby-combustion.

commit 59e351c2c7fe25641e94dca8cf4405390ecfd85d
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date:   Fri Mar 4 17:53:52 2016 -0300

    Add tests for package build
---
 debian/changelog       | 1 +
 debian/control         | 6 +++++-
 debian/ruby-tests.rake | 7 +++++++
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 84b6898..51e0e16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-combustion (0.5.4-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream release.
+  * Add package tests.
 
  -- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>  Fri, 04 Mar 2016 17:50:27 -0300
 
diff --git a/debian/control b/debian/control
index 70f30b9..4142102 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,11 @@ Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Andrew Lee (李健秋) <andrew.lee at collabora.co.uk>
 Build-Depends: debhelper (>= 9~),
-               gem2deb
+               gem2deb,
+               ruby-rspec,
+               bundler,
+               rubygems-integration,
+               ruby-sqlite3
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-combustion.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-combustion.git
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..99987ae
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,7 @@
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+  spec.pattern = './spec/*_spec.rb'
+end
+
+task :default => :spec

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



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