summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-06-24 11:19:44 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-06-27 16:27:22 -0500
commit6cde9e23fe03673d8d1d4fa177f9cedfe0a6e2f7 (patch)
treeed432a11ce92b961bd993bf43f3c0ff0e2d61a12
parent7d1218be6efc7776e2ea68c5a4043948ae9e1538 (diff)
downloadbundler-6cde9e23fe03673d8d1d4fa177f9cedfe0a6e2f7.tar.gz
[StubSpecification] Fix StackOverflow on #to_yaml
-rw-r--r--lib/bundler/stub_specification.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/stub_specification.rb b/lib/bundler/stub_specification.rb
index f4ee7d0644..557852bdec 100644
--- a/lib/bundler/stub_specification.rb
+++ b/lib/bundler/stub_specification.rb
@@ -11,8 +11,8 @@ module Bundler
attr_accessor :stub
- def to_yaml
- _remote_specification.to_yaml
+ def encode_with(*args)
+ _remote_specification.encode_with(*args)
end
private