File: remove_rubygems_from_examples.patch

package info (click to toggle)
ruby-rubytorrent 0.3-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 380 kB
  • ctags: 491
  • sloc: ruby: 2,751; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Remove rubygems stuff from examples
Author: Cédric Boutillier <cedric.boutillier@gmail.com>
Origin: vendor
Forwarded: not-needed
Last-Update: 2012-05-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/rtpeer-ncurses.rb
+++ b/rtpeer-ncurses.rb
@@ -11,11 +11,10 @@
 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 ## General Public License (in the file COPYING) for more details.
 
-require "rubygems"
 require "rubytorrent"
 require "ncurses"
 require "optparse"
 
 def die(x); $stderr << "#{x}\n" && exit(-1); end
 
 dlratelim = nil