summaryrefslogtreecommitdiff
path: root/lib/bundler/endpoint_specification.rb
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2012-03-05 00:59:50 -0800
committerTerence Lee <hone02@gmail.com>2012-03-05 00:59:50 -0800
commit526fe46044cda19b661c664821a3fae90fb65d93 (patch)
tree060b564026e0ee2c49401fa92644a33f7405512e /lib/bundler/endpoint_specification.rb
parent32dfee464e0520ddb444632c8455fb31f34fd332 (diff)
downloadbundler-526fe46044cda19b661c664821a3fae90fb65d93.tar.gz
support post_install_message when using the endpoint
Diffstat (limited to 'lib/bundler/endpoint_specification.rb')
-rw-r--r--lib/bundler/endpoint_specification.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/bundler/endpoint_specification.rb b/lib/bundler/endpoint_specification.rb
index ec9fff6939..c046ea69f0 100644
--- a/lib/bundler/endpoint_specification.rb
+++ b/lib/bundler/endpoint_specification.rb
@@ -53,6 +53,15 @@ module Bundler
end
end
+ # needed for post_install_messages during install
+ def post_install_message
+ if @remote_specification
+ @remote_specification.post_install_message
+ elsif _local_specification
+ _local_specification.post_install_message
+ end
+ end
+
def _local_specification
eval(File.read(local_specification_path)) if @loaded_from && File.exists?(local_specification_path)
end