~ubuntu-branches/ubuntu/oneiric/ruby-net-ssh/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/disable-rubygems-in-tests.patch

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2011-04-16 09:31:22 UTC
  • Revision ID: james.westby@ubuntu.com-20110416093122-8pp6sxxv0zz093a5
Tags: 2.1.4-1
* Migrated to gem2deb packaging.
  + Rename source and binary package.
* Merged both libnet-ssh2-ruby and libnet-ssh-ruby (add transitional
  packages).
* The new version was tested to work with gnome-keyring as an SSH agent.
  Closes: #472427.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Disable rubygems in tests.
 
2
 In order to use test/unit >= 2.0, the test suite uses rubygems. This is
 
3
 not needed in Debian.
 
4
Author: Lucas Nussbaum <lucas@lucas-nussbaum.net>
 
5
Forwarded: not-needed
 
6
 
 
7
--- a/test/common.rb
 
8
+++ b/test/common.rb
 
9
@@ -1,5 +1,5 @@
 
10
 $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
 
11
-gem "test-unit" # http://rubyforge.org/pipermail/test-unit-tracker/2009-July/000075.html
 
12
+#gem "test-unit" # http://rubyforge.org/pipermail/test-unit-tracker/2009-July/000075.html
 
13
 require 'test/unit'
 
14
 require 'mocha'
 
15
 require 'net/ssh/buffer'