[DRE-commits] [gem2deb] 01/02: gem2deb-test-runner: fail dependency resolution without a working source gemspec
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Mar 9 05:22:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository gem2deb.
commit 217e89401858dc21561573ffd5d0d72139633e7d
Author: Antonio Terceiro <terceiro at debian.org>
Date: Wed Mar 9 12:14:40 2016 +0700
gem2deb-test-runner: fail dependency resolution without a working source gemspec
---
debian/changelog | 2 ++
lib/gem2deb/test_runner.rb | 2 ++
2 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 1ff8994..7a2c7b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ gem2deb (0.30) UNRELEASED; urgency=medium
upstream gemspec to drop usage of `git ls-files` in several packages. This
change makes gem2deb try to override that with sane defaults for a Debian
package.
+ * gem2deb-test-runner: when dependency resolution is requested, fail if
+ there is no working source gemspec to read the package name from.
-- Antonio Terceiro <terceiro at debian.org> Tue, 08 Mar 2016 10:24:48 +0700
diff --git a/lib/gem2deb/test_runner.rb b/lib/gem2deb/test_runner.rb
index d44c93c..cbbe4e7 100644
--- a/lib/gem2deb/test_runner.rb
+++ b/lib/gem2deb/test_runner.rb
@@ -80,6 +80,8 @@ module Gem2Deb
system 'gem', 'list'
exit(exitstatus)
end
+ else
+ fail "E: dependency resolution check requested but no working gemspec available"
end
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gem2deb.git
More information about the Pkg-ruby-extras-commits
mailing list