summaryrefslogtreecommitdiff
path: root/lib/bundler/remote_specification.rb
diff options
context:
space:
mode:
authorKenji Okimoto <okimoto@clear-code.com>2016-08-23 15:07:47 +0900
committerKenji Okimoto <okimoto@clear-code.com>2016-08-23 15:42:12 +0900
commit1fa3057257cf3bc73f1f003e5da42d7c56c6069a (patch)
tree30da40de52cb98816a48b63e25b6c8b2a5254d68 /lib/bundler/remote_specification.rb
parentcdd286377909e8f1c116ce176a2a4c78105ab2fd (diff)
downloadbundler-1fa3057257cf3bc73f1f003e5da42d7c56c6069a.tar.gz
Add missing definition of `respond_to_missing?`
Because we should overwrite this method when we overwrite `method_missing`. See http://ruby-doc.org/core-2.3.1/BasicObject.html#method-i-method_missing
Diffstat (limited to 'lib/bundler/remote_specification.rb')
-rw-r--r--lib/bundler/remote_specification.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/remote_specification.rb b/lib/bundler/remote_specification.rb
index 6a02897c63..f45bf4a5ed 100644
--- a/lib/bundler/remote_specification.rb
+++ b/lib/bundler/remote_specification.rb
@@ -81,5 +81,9 @@ module Bundler
def method_missing(method, *args, &blk)
_remote_specification.send(method, *args, &blk)
end
+
+ def respond_to_missing?(method, include_all)
+ _remote_specification.respond_to?(method, include_all)
+ end
end
end