hashie/lib/hashie/extensions
Michael Herold 15ea67ef06
Add a PermissiveRespondTo extension for Mashes
By default, Mashes don't state that they respond to unset keys. This
causes unexpected behavior when you try to use a Mash with a
SimpleDelegator.

This new extension allows you create a permissive subclass of Mash that
will be fully compatible with SimpleDelegator and allow you to fully do
thunk-oriented programming with Mashes.

This comes with the trade-off of a ~19KB cache for each of these
subclasses and a ~20% performance penalty on any of those subclasses.
2019-11-17 11:36:31 -06:00
..
active_support/core_ext Make Hashie play nice with Rails 6 Hash#except method (#479) 2019-10-02 10:48:19 -04:00
array Fix support for Array#dig 2016-06-01 14:53:29 -07:00
dash Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
mash Add a PermissiveRespondTo extension for Mashes 2019-11-17 11:36:31 -06:00
parsers Remove references to blacklists and whitelists 2019-10-25 20:27:26 -04:00
coercion.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
deep_fetch.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
deep_find.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
deep_locate.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
deep_merge.rb Update Rubocop and address the addressable todos 2018-06-17 11:04:56 -05:00
ignore_undeclared.rb Refactor IgnoreUndeclared#initialize_attributes. 2016-02-08 09:37:05 +03:00
indifferent_access.rb [rubocop] Improve our RuboCop setup 2018-09-30 14:59:58 -05:00
key_conflict_warning.rb Remove references to blacklists and whitelists 2019-10-25 20:27:26 -04:00
key_conversion.rb Reorganized extensions, consolidated Hashie StringifyKeys implementation. 2014-04-30 21:00:01 -04:00
merge_initializer.rb Handle coercion correctly when MergeInitializer is used 2011-11-22 17:08:03 +00:00
method_access.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
pretty_inspect.rb Merging Hashie::Mash now correctly only calls the block on duplicate values 2014-09-05 14:06:11 -07:00
ruby_version.rb Check ruby version without rubygems 2016-10-18 09:47:28 +03:00
ruby_version_check.rb Fix #391: require all dependencies in Hashie::Mash. 2017-01-31 13:11:19 -05:00
strict_key_access.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
stringify_keys.rb Update Rubocop and address the addressable todos 2018-06-17 11:04:56 -05:00
symbolize_keys.rb Update Rubocop and address the addressable todos 2018-06-17 11:04:56 -05:00