summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Herold <opensource@michaeljherold.com>2018-08-14 21:33:09 -0500
committerMichael Herold <opensource@michaeljherold.com>2018-08-14 21:33:09 -0500
commita59d200849b1f579f4ff4369816ea7aeba295fd6 (patch)
tree44489a9651dd14001b14766b56713126c4770286 /lib
parent955d1713a4c101cb9e68020ddb7fe956be734c78 (diff)
downloadhashie-a59d200849b1f579f4ff4369816ea7aeba295fd6.tar.gz
Fix a regression with aliases on `Mash.load`
Also, reorganize the test into the existing file and update the changelog.
Diffstat (limited to 'lib')
-rw-r--r--lib/hashie/extensions/parsers/yaml_erb_parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hashie/extensions/parsers/yaml_erb_parser.rb b/lib/hashie/extensions/parsers/yaml_erb_parser.rb
index c2808de..d3b5c80 100644
--- a/lib/hashie/extensions/parsers/yaml_erb_parser.rb
+++ b/lib/hashie/extensions/parsers/yaml_erb_parser.rb
@@ -14,7 +14,7 @@ module Hashie
def perform
template = ERB.new(@content)
template.filename = @file_path
- YAML.safe_load template.result
+ YAML.safe_load template.result, [], [], true
end
def self.perform(file_path)