Skip to content

Commit

Permalink
Merge pull request #438 from onk/require_pathname
Browse files Browse the repository at this point in the history
Fix: NameError (uninitialized constant Hashie::Extensions::Parsers::YamlErbParser::Pathname)
  • Loading branch information
michaelherold committed Feb 8, 2018
2 parents 49dfb8c + df47280 commit 02cbc08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions lib/hashie/extensions/parsers/yaml_erb_parser.rb
@@ -1,5 +1,7 @@
require 'yaml'
require 'erb'
require 'pathname'

module Hashie
module Extensions
module Parsers
Expand Down

0 comments on commit 02cbc08

Please sign in to comment.