File: remove_lib_from_loadpath.patch

package info (click to toggle)
ruby-addressable 2.8.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: ruby: 9,421; makefile: 11
file content (16 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
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