summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Doubrovkine (dB.) @dblockdotorg <dblock@dblock.org>2016-09-16 13:40:02 -0400
committerGitHub <noreply@github.com>2016-09-16 13:40:02 -0400
commit21c9ea200f62c936d834a7d175f36739760ae6e9 (patch)
treeaa406eb986c4fb5ff4282c3e187e2d93d5d7fc11
parent229ee36d7c6a07eff6d8a0434726e12b8c3a0223 (diff)
parent0feba44d1f9d063a6f512771cba424fcb813da9e (diff)
downloadhashie-21c9ea200f62c936d834a7d175f36739760ae6e9.tar.gz
Merge pull request #368 from jrafanie/fix_name_error_hashie_extensions_array
Since hashie/mash can be required alone, require its dependencies
-rw-r--r--CHANGELOG.md2
-rw-r--r--lib/hashie/array.rb3
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b4f8c42..6a62343 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -28,7 +28,7 @@ scheme are considered to be bugs.
### Fixed
-* Your contribution here.
+* [#368](https://github.com/intridea/hashie/pull/368): Since `hashie/mash` can be required alone, require its dependencies - [@jrafanie](https://github.com/jrafanie).
### Security
diff --git a/lib/hashie/array.rb b/lib/hashie/array.rb
index b0dca8b..c615813 100644
--- a/lib/hashie/array.rb
+++ b/lib/hashie/array.rb
@@ -1,3 +1,6 @@
+require 'hashie/extensions/array/pretty_inspect'
+require 'hashie/extensions/ruby_version_check'
+
module Hashie
class Array < ::Array
include Hashie::Extensions::Array::PrettyInspect