Package: bundler / 1.13.6-2

unvendorize Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From: Christian Hofstaedtler <zeha@debian.org>
Date: Tue, 5 Jul 2016 10:22:08 +0200
Subject: Replace bundled libraries with system versions

Forwarded: not-needed
Origin: vendor
---
 lib/bundler/vendored_molinillo.rb  | 2 +-
 lib/bundler/vendored_persistent.rb | 2 --
 lib/bundler/vendored_thor.rb       | 4 ++--
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/bundler/vendored_molinillo.rb b/lib/bundler/vendored_molinillo.rb
index 7b23126..9b04189 100644
--- a/lib/bundler/vendored_molinillo.rb
+++ b/lib/bundler/vendored_molinillo.rb
@@ -1,3 +1,3 @@
 # frozen_string_literal: true
 module Bundler; end
-require "bundler/vendor/molinillo/lib/molinillo"
+require "molinillo"
diff --git a/lib/bundler/vendored_persistent.rb b/lib/bundler/vendored_persistent.rb
index d5ae513..0611fbe 100644
--- a/lib/bundler/vendored_persistent.rb
+++ b/lib/bundler/vendored_persistent.rb
@@ -7,6 +7,4 @@ rescue LoadError
   # some Ruby builds don't have OpenSSL
 end
 
-vendor = File.expand_path("../vendor", __FILE__)
-$:.unshift(vendor) unless $:.include?(vendor)
 require "net/http/persistent"
diff --git a/lib/bundler/vendored_thor.rb b/lib/bundler/vendored_thor.rb
index 0d0b45b..03cedb1 100644
--- a/lib/bundler/vendored_thor.rb
+++ b/lib/bundler/vendored_thor.rb
@@ -1,4 +1,4 @@
 # frozen_string_literal: true
 module Bundler; end
-require "bundler/vendor/thor/lib/thor"
-require "bundler/vendor/thor/lib/thor/actions"
+require "thor"
+require "thor/actions"