We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require 'yaml' require 'safe_yaml' yaml = <<-YAML defaults: &defaults development: <<: *defaults YAML YAML.load(yaml) # TypeError: no implicit conversion of nil into Hash # from /Users/cody/.gem/ruby/2.2.3/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_handler.rb:42:in `merge!'
it also fails with syck:
require 'yaml' require 'syck' require 'safe_yaml' yaml = <<-YAML defaults: &defaults development: <<: *defaults YAML YAML.load(yaml) # NoMethodError: undefined method `each' for nil:NilClass # from /Users/cody/.gem/ruby/2.2.3/gems/safe_yaml-1.0.4/lib/safe_yaml/resolver.rb:89:in `merge_into_hash'
The text was updated successfully, but these errors were encountered:
fix merge constructs with safe_yaml
a582434
see dtao/safe_yaml#81 and dtao/safe_yaml#82 test plan: * have a merge construct in your database.yml * canvas should boot Change-Id: Ie5ca4dfac5d9fe4e62ad89474a2eb7d84feae02c Reviewed-on: https://gerrit.instructure.com/69083 Tested-by: Jenkins Reviewed-by: Simon Williams <[email protected]> Product-Review: August Thornton <[email protected]> QA-Review: August Thornton <[email protected]>
No branches or pull requests
it also fails with syck:
The text was updated successfully, but these errors were encountered: