File: remove-rubygems-dep.patch

package info (click to toggle)
ruby-riemann-client 0.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 144 kB
  • ctags: 115
  • sloc: ruby: 730; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 652 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
Description: remove rubygems include
 This patch removes the rubygems requirement for this library, as
 per the Debian policy.
Author: Tim Potter <tpot@hp.com>
Forwarded: no
Last-Update: 2014-10-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: ruby-riemann-client/lib/riemann.rb
===================================================================
--- ruby-riemann-client.orig/lib/riemann.rb
+++ ruby-riemann-client/lib/riemann.rb
@@ -1,7 +1,4 @@
 module Riemann
-  $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
-
-  require 'rubygems'
   require 'beefcake'
   require 'timeout'
   require 'riemann/version'