diff options
author | Michael Herold <github@michaeljherold.com> | 2018-02-07 21:00:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-07 21:00:56 -0600 |
commit | 02cbc08663cd7f5d3dfb838ce1ba19971029c511 (patch) | |
tree | 025f410603af7be6d01e1eede6aa721dbfed36c3 | |
parent | 49dfb8c65f57268c69de6255f632d5a7457e9476 (diff) | |
parent | df472808516c6dc3863fc6ce33ece21f4b233663 (diff) | |
download | hashie-02cbc08663cd7f5d3dfb838ce1ba19971029c511.tar.gz |
Merge pull request #438 from onk/require_pathname
Fix: NameError (uninitialized constant Hashie::Extensions::Parsers::YamlErbParser::Pathname)
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | lib/hashie/extensions/parsers/yaml_erb_parser.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 405ef11..3532596 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ scheme are considered to be bugs. * [#435](https://github.com/intridea/hashie/pull/435): Mash `default_proc`s are now propagated down to nested sub-Hashes - [@michaelherold](https://github.com/michaelherold). * [#436](https://github.com/intridea/hashie/pull/436): Ensure that `Hashie::Extensions::IndifferentAccess` injects itself after a non-destructive merge - [@michaelherold](https://github.com/michaelherold). * [#437](https://github.com/intridea/hashie/pull/437): Allow codependent properties to be set on Dash - [@michaelherold](https://github.com/michaelherold). +* [#438](https://github.com/intridea/hashie/pull/438): Fix: `NameError (uninitialized constant Hashie::Extensions::Parsers::YamlErbParser::Pathname)` in `Hashie::Mash.load` - [@onk](https://github.com/onk). * Your contribution here. ### Security diff --git a/lib/hashie/extensions/parsers/yaml_erb_parser.rb b/lib/hashie/extensions/parsers/yaml_erb_parser.rb index b311939..c0dda75 100644 --- a/lib/hashie/extensions/parsers/yaml_erb_parser.rb +++ b/lib/hashie/extensions/parsers/yaml_erb_parser.rb @@ -1,5 +1,7 @@ require 'yaml' require 'erb' +require 'pathname' + module Hashie module Extensions module Parsers |