File: remove_rubygems.patch

package info (click to toggle)
ruby-ascii85 1.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 148 kB
  • ctags: 5
  • sloc: ruby: 292; makefile: 11
file content (22 lines) | stat: -rw-r--r-- 541 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: remove use of rubygems in spec/
 also use LOAD_PATH to find the library instead of using a relative path
 It should fix autopkgtest suite.
Author: Cédric Boutillier <boutil@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2014-10-14

--- a/spec/lib/ascii85_spec.rb
+++ b/spec/lib/ascii85_spec.rb
@@ -1,10 +1,9 @@
 # encoding: utf-8
 
-require 'rubygems'
 require 'minitest/autorun'
 
 # Require implementation
-require File.expand_path('../../../lib/ascii85', __FILE__)
+require "ascii85"
 
 describe Ascii85 do