Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated lib/psych.rb

Recent modification broke postrank-uri's yaml reading, Streams take single argument.
I applied the fix locally and the bug was resolved
  • Loading branch information...
commit 97b9e453823be5106003a3b598a5fb06b4495a20 1 parent 4d7c3bc
@noverloop authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/psych.rb
View
2  lib/psych.rb
@@ -200,7 +200,7 @@ def self.parser
def self.parse_stream yaml, filename = nil, &block
if block_given?
parser = Psych::Parser.new(Handlers::DocumentStream.new(&block))
- parser.parse yaml, filename
+ parser.parse yaml
else
parser = self.parser
parser.parse yaml, filename
Please sign in to comment.
Something went wrong with that request. Please try again.