File: 0600_replace_require_relative_manual.patch

package info (click to toggle)
ruby-prawn 2.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,380 kB
  • sloc: ruby: 15,820; sh: 43; makefile: 20
file content (16 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: replace require_relative with a require statement with an absolute path
 The installed library is not located the same way as in the source package,
 relatively to the manual files.
Author: Cédric Boutillier
Forwarded: no
Last-Update: 2019-01-07

--- a/manual/example_helper.rb
+++ b/manual/example_helper.rb
@@ -1,6 +1,5 @@
 # frozen_string_literal: true
 
-$LOAD_PATH.unshift File.join(__dir__, '../lib')
 require 'prawn'
 require 'prawn/manual_builder'