summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-07-21 09:56:03 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-07-21 09:56:03 +0530
commit292fb5857c8c4f743675db687feb102e7a7a70c1 (patch)
tree052c67e935b6910130fa74489112b925989b7a70
parent01172502c14e9553ba98d24e8e8133159bf3f816 (diff)
downloadbundler-292fb5857c8c4f743675db687feb102e7a7a70c1.tar.gz
Shifted Plugin.reset! to Bundler.reset!
-rw-r--r--lib/bundler.rb1
-rw-r--r--spec/support/helpers.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index c73c07af3a..6ed4de3815 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -393,6 +393,7 @@ module Bundler
rubygems.undo_replacements
rubygems.reset
@rubygems = nil
+ Plugin.reset!
end
private
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index accd1cb300..0293f08716 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -16,7 +16,6 @@ module Spec
Bundler.reset!
Bundler.ui = nil
Bundler.ui # force it to initialize
- Bundler::Plugin.reset!
end
def self.bang(method)