Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 2, 2015
  1. @dblock

    Merge pull request #311 from marshall-lee/refactor_coercion

    dblock authored
    Refactor `Hashie::Extensions::Coercion`, add cache.
  2. @marshall-lee
  3. @marshall-lee
Commits on Aug 31, 2015
  1. @dblock

    Merge pull request #308 from marshall-lee/mash_micro_optimize

    dblock authored
    Some micro optimizations to Hashie::Mash.
  2. @marshall-lee
  3. @marshall-lee

    Remove needless code

    marshall-lee authored
  4. @marshall-lee
Commits on Jun 8, 2015
  1. @regexident

    Fix bug (#303) preventing use of deep_merge/stringify_keys/symbolize_…

    Vincent Esche authored regexident committed
    …keys on extended singleton objects.
Commits on Jun 2, 2015
  1. @michaelherold
Commits on Apr 26, 2015
  1. @michaelherold

    Extract Trash behavior into an extension

    michaelherold authored
    Issue #188 brought up the fact that a Trash is really just a Dash with
    some extended behavior. Why don't we make that a little more explicit
    and define its behavior as an extension?
    *Follow Up*
    If this is merged, I move that we deprecate Trash for removal in 4.0.
    I think reducing the number of classes will help users better understand
    what behavior they are including in their subclasses.
    In the long run, a 4.0 release would look really good with all of the behavior
    factored out into extension methods. As we continue down that path, we can
    slowly deprecate all of the `*ash` classes with the 3.x releases.
    What do the other maintainers think of this suggestion?
    Fixes #188
Commits on Apr 19, 2015
  1. @michaelherold
Commits on Apr 8, 2015
  1. @jrochkind @dblock

    Removed Mash#id and Mash#type.

    jrochkind authored dblock committed
    Ruby 1.8.7 had Object#id and #type, both of which were deprecated,
    which Hashie::Mash wanted to cover with more reasonable methods.
    These methods in Object were removed in ruby 1.9.  The cover methods
    are unneeded, and can cause problems with Mash::SafeAssignment
    preventing you from using these as keys.
    Fixes #290
Commits on Mar 31, 2015
  1. @dblock
  2. @dblock

    Preparing for release, 3.4.1.

    dblock authored
  3. @martinstreicher @dblock
Commits on Feb 25, 2015
  1. @mgold
Commits on Feb 5, 2015
  1. @gardenofwine

    Fix crash building a Mash w/ IndifferentAccess from HashWithIndiffere…

    gardenofwine authored
    When using an ActiveRecord::HashWithIndifferentAccess that is nested (i.e. {a: {b: 1}}) to create a Mash with the IndifferentAccess extension, an ArgumentException is raised. This is because the IndifferentAccess method `convert_value` overrides ActiveRecord::HashWithIndifferentAccess's method of the same name. Changing the method name in IndifferentAccess solves the issue.
Commits on Feb 3, 2015
  1. @dblock

    Merge pull request #272 from msievers/deep_locate

    dblock authored
  2. @msievers
  3. @msievers
  4. @gregory

    bump to 3.4.0

    gregory authored
Commits on Feb 2, 2015
  1. @gregory
Commits on Jan 19, 2015
  1. @ridiculous
  2. @Zloy
Commits on Jan 14, 2015
  1. @Zloy @dblock
Commits on Jan 13, 2015
  1. @d-tw
Commits on Dec 30, 2014
  1. @maxlinc @dblock

    Public utility methods for stringify/symbolize keys

    maxlinc authored dblock committed
  2. Add block to Extensions::DeepMerge

    Ilya Kamenko authored
Commits on Dec 29, 2014
  1. @Erol
Commits on Dec 28, 2014
  1. @Erol
  2. @Erol @dblock

    Inherit key coercions.

    Erol authored dblock committed
Commits on Dec 12, 2014
  1. @ccashwell
Commits on Dec 9, 2014
  1. @jgraichen

    Add block to indifferent access #fetch

    jgraichen authored
    The #fetch method from IndifferentAccess did not pass a block to the
    underlying method which resulted in a KeyError on e.g.
        indifferent_hash.fetch(:key) {|key| 'default value' }
    This fix captures the block and passes it to the underlying fetch
    method that yields if the key cannot be found.
  2. @jrochkind @dblock
Commits on Dec 8, 2014
  1. @bartoszkopinski @dblock

    Update key conversion extensions

    bartoszkopinski authored dblock committed
    Fixing collision with ActiveSupport
    ActiveSupport implementation is not recursive
Something went wrong with that request. Please try again.