File: remove_lib_from_loadpath.patch

package info (click to toggle)
ruby-addressable 2.8.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 824 kB
  • sloc: ruby: 13,651; makefile: 11
file content (16 lines) | stat: -rw-r--r-- 522 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: remove lib/ from loadpath in spec using unicode.data
 so that it picks up the installed version of the library in debian/
Author: Cédric Boutillier <boutil@debian.org>
Forwarded: no
Last-Update: 2023-08-24

--- a/spec/addressable/idna_spec.rb
+++ b/spec/addressable/idna_spec.rb
@@ -20,6 +20,7 @@
 # Have to use RubyGems to load the idn gem.
 #require "rubygems"
 
+$:.delete File.expand_path("../../../lib", __FILE__)
 require "addressable/idna"
 
 shared_examples_for "converting from unicode to ASCII" do