hashie/spec/hashie
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
..
extensions Add a PermissiveRespondTo extension for Mashes 2019-11-17 11:36:31 -06:00
parsers Update Rubocop and address the addressable todos 2018-06-17 11:04:56 -05:00
array_spec.rb Update Rubocop and address the addressable todos 2018-06-17 11:04:56 -05:00
clash_spec.rb Clash: multiple bang notation calls 2015-10-27 15:21:32 -03:00
dash_spec.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
hash_spec.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
mash_spec.rb Update github urls to hashie/hashie (#497) 2019-11-17 11:35:30 -06:00
rash_spec.rb Update Rubocop and address the addressable todos 2018-06-17 11:04:56 -05:00
trash_spec.rb Change rubocop to allow 100 character lines. 2019-10-17 23:55:45 -04:00
utils_spec.rb Add a logging layer to address common issues (#381) 2016-11-02 06:47:33 -04:00
version_spec.rb Convert specs to RSpec 2.14.7 syntax with Transpec 2014-04-06 12:43:18 -07:00