summaryrefslogtreecommitdiff
path: root/lib/bundler/plugin.rb
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-08 20:29:25 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-06-08 20:57:53 +0530
commitd90208f9d977cca6254458d402d2e2d975034495 (patch)
treea56372ad2db2f34e93ff26c024093521c2683c36 /lib/bundler/plugin.rb
parentcf284c001657a428cc37b4721aed68df795dcfed (diff)
downloadbundler-d90208f9d977cca6254458d402d2e2d975034495.tar.gz
Fixes for failing specs for older ruby version
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r--lib/bundler/plugin.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb
index 00b4d9e941..f97de2b20d 100644
--- a/lib/bundler/plugin.rb
+++ b/lib/bundler/plugin.rb
@@ -8,8 +8,8 @@ module Bundler
autoload :Installer, "bundler/plugin/installer"
autoload :SourceList, "bundler/plugin/source_list"
- MalformattedPlugin = Class.new(PluginError)
- UndefinedCommandError = Class.new(PluginError)
+ class MalformattedPlugin < PluginError; end
+ class UndefinedCommandError < PluginError; end
PLUGIN_FILE_NAME = "plugins.rb".freeze