aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/plugin.rb
diff options
context:
space:
mode:
authorAsutosh Palai <asupalai@gmail.com>2016-06-20 14:31:28 +0530
committerAsutosh Palai <asupalai@gmail.com>2016-07-03 09:40:59 +0530
commitbd1b1cfb2fd13d98a0b9ffd799ee1c0042d6226c (patch)
tree7018674786041b6503cc86f1f81f4ee17ea637de /lib/bundler/plugin.rb
parentdefd15ba97236b56f0c3c1a754cf8f4ae846bc3a (diff)
downloadbundler-bd1b1cfb2fd13d98a0b9ffd799ee1c0042d6226c.tar.gz
Added spec for unlocking
Diffstat (limited to 'lib/bundler/plugin.rb')
-rw-r--r--lib/bundler/plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/plugin.rb b/lib/bundler/plugin.rb
index 92804932..8d12703e 100644
--- a/lib/bundler/plugin.rb
+++ b/lib/bundler/plugin.rb
@@ -95,7 +95,7 @@ module Bundler
# Checks if any plugin declares the source
def source?(name)
- !index.source_plugin(name).nil?
+ !index.source_plugin(name.to_s).nil?
end
# @return [Class] that handles the source. The calss includes API::Source