summaryrefslogtreecommitdiff
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
authorAdrian Gomez <adri4n.steam@gmail.com>2017-05-12 12:36:48 -0300
committerAdrian Gomez <adri4n.steam@gmail.com>2017-08-02 21:22:45 -0300
commitc9c4f23e46673ac953b34774934447c779b25e0b (patch)
tree3b89eac6efc87629aa60e388f0fc3594a83bcf6d /lib/bundler/source.rb
parent92f7781eda8e429a189c1d2ebc642ec4f8febdbf (diff)
downloadbundler-c9c4f23e46673ac953b34774934447c779b25e0b.tar.gz
Allow to add username and password to a remote during a deployment
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r--lib/bundler/source.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index 48f73d960e..38e001535c 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -46,6 +46,10 @@ module Bundler
"#<#{self.class}:0x#{object_id} #{self}>"
end
+ def path?
+ instance_of?(Bundler::Source::Path)
+ end
+
private
def version_color(spec_version, locked_spec_version)