[DRE-commits] [ruby-net-ssh-gateway] 01/02: Refresh packaging

Lucas Nussbaum lucas at moszumanska.debian.org
Tue May 5 12:38:37 UTC 2015


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

lucas pushed a commit to branch master
in repository ruby-net-ssh-gateway.

commit 65a66427ef8100e9b3e1989fd7e2a05070e36e3c
Author: Lucas Nussbaum <lucas at debian.org>
Date:   Tue May 5 14:34:09 2015 +0200

    Refresh packaging
---
 debian/control         | 5 +++--
 debian/ruby-tests.rake | 5 +++++
 debian/ruby-tests.rb   | 1 -
 debian/rules           | 2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 6116b08..424687b 100644
--- a/debian/control
+++ b/debian/control
@@ -3,17 +3,18 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Lucas Nussbaum <lucas at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-mocha (>= 0.13~), ruby-net-ssh, ruby-test-unit
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, rake, ruby-mocha (>= 0.13~), ruby-net-ssh (>= 2.6.5), ruby-test-unit
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-net-ssh-gateway.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-net-ssh-gateway.git
 Homepage: http://net-ssh.github.com/net-ssh/
+Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
 
 Package: ruby-net-ssh-gateway
 Architecture: all
 XB-Ruby-Versions: ${ruby:Versions}
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-net-ssh
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-net-ssh (>= 2.6.5)
 Description: Ruby library for tunneling connections to servers with ssh
  Net::SSH::Gateway is a library for programmatically tunneling connections to
  servers via a single "gateway" host.
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..ea98ddf
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,5 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.test_files = FileList['test/**/*_test.rb']
+end
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
deleted file mode 100644
index 8ce1370..0000000
--- a/debian/ruby-tests.rb
+++ /dev/null
@@ -1 +0,0 @@
-require './test/gateway_test.rb'
diff --git a/debian/rules b/debian/rules
index a5e7dc8..5e904b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
 #
 # Uncomment to ignore some test failures (but the tests will run anyway).
 # Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+#export DH_RUBY_IGNORE_TESTS=ruby2.1
 #
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec

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



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