[DRE-commits] [ruby-simplecov] 03/06: Update packaging with a new dh-make-ruby run

Antonio Terceiro terceiro at moszumanska.debian.org
Mon Dec 14 12:47:24 UTC 2015


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

terceiro pushed a commit to branch master
in repository ruby-simplecov.

commit 5f44f76d87b3ab2df365aff9ef81a05639fe0623
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Dec 14 10:37:04 2015 -0200

    Update packaging with a new dh-make-ruby run
---
 debian/changelog       |  3 +++
 debian/control         |  6 ++----
 debian/ruby-tests.rake | 10 +++-------
 3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4b9b558..fe7410f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,9 @@ ruby-simplecov (0.11.1-1) UNRELEASED; urgency=medium
     project that is also installed as a Debian package.
   * drop debian/patches/ignore-simplecov-html
     - re-added dependency on ruby-simplecov-html
+  * Update packaging with a new dh-make-ruby run
+   - upstream switched to rspec; dropping build dependencies on minitest and
+     shoulda
 
  -- Antonio Terceiro <terceiro at debian.org>  Mon, 14 Dec 2015 10:25:45 -0200
 
diff --git a/debian/control b/debian/control
index ff55ad4..6c2cf3b 100644
--- a/debian/control
+++ b/debian/control
@@ -8,10 +8,8 @@ Build-Depends: debhelper (>= 9~),
                rake,
                ruby-docile (>= 1.1.0),
                ruby-json (>= 1.8),
-               ruby-shoulda,
-               ruby-minitest,
                ruby-rspec,
-               ruby-simplecov-html,
+               ruby-simplecov-html (>= 0.10.0)
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-simplecov.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-simplecov.git
@@ -25,7 +23,7 @@ XB-Ruby-Versions: ${ruby:Versions}
 Depends: ruby | ruby-interpreter,
          ruby-docile (>= 1.1.0),
          ruby-json (>= 1.8),
-         ruby-simplecov-html,
+         ruby-simplecov-html (>= 0.10.0),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: code coverage for Ruby 1.9+
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 2b5eb2e..cf1591e 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,9 +1,5 @@
-require 'rake/testtask'
+require 'gem2deb/rake/spectask'
 
-Rake::TestTask.new(:test) do |t|
-  t.libs << "test" 
-  t.test_files = FileList['test/test_*.rb']
-  t.verbose = true
+Gem2Deb::Rake::RSpecTask.new do |spec|
+  spec.pattern = './spec/**/*_spec.rb'
 end
-
-task :default => [:test]

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



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