Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Aug 29, 2010
  1. call `super` in Dash.inherited method

    authored
    One should always call `super` when defining the `inherited` method
    to support possible implementations in superclasses.
Commits on Aug 26, 2010
  1. Mash: add `shallow_update` and `shallow_merge` methods

    authored
    Now that `update` and `merge` are consistently recursive by default,
    it's useful to have methods that mimic the old (shallow) behavior.
  2. fix broken Trash spec example

    authored
    Simply check that an already defined property is present,
    and use symbol keys for properties. Redefining the test class
    is a bad idea in spec examples, so don't do that.
  3. add missing requires to Hash and Mash

    authored
    If the user required the main files with autoloads, these requires
    are not needed, but it's good to have them in case the user never
    requires the main file, but goes straight to one of the sub-files:
    
      gem 'hashie'
      require 'hashie/mash'
  4. heavily rework Dash for bugfixes and performance

    authored
     - optimize `properties` and `defaults` so they don't do a full
       ancestry lookup each time a property is accessed
    
     - API change: `properties` is now a Set of symbols (was Array of strings)
    
     - API change: `defaults` is a Hash with symbol keys and doesn't include
       properties without defaults
    
     - optimize generated accessors to skip lookup if a property exists
    
     - fixed accessing the dash with square brackets
    
     - change keys to be stored internally as strings instead of symbols
    
     - change initialization so it doesn't initialize properties without
       defaults to nil
    
     - allow creating a dash with a block that defines default values as
       fallback (regular Hash behavior)
    
     - allow redefining a property in descendants in order to set a new
       default value or clear the existing one
    
     - rewritten test suite to be more concise and better focused on what's important
  5. Mash: fix deep_merge/deep_update and make `merge` deep by default

    authored
    `deep_update` was broken because it wasn't recursive at all. Also,
    since `merge` wasn't implemented in Mash it was also broken as a
    consequence of not normalizing the keys. This makes `merge` deep
    by default to be consistent with `update` and `merge!` which were
    deep before.
Commits on Aug 19, 2010
  1. @mbleigh
  2. @mbleigh

    Version bump to 0.3.1

    mbleigh authored
  3. @mbleigh
Commits on Aug 10, 2010
  1. @mbleigh
  2. @mbleigh

    Version bump to 0.3.0

    mbleigh authored
  3. @mbleigh

    Update README to add Trash.

    mbleigh authored
  4. @mbleigh
  5. @mbleigh

    Initializing Dash with a nil

    Les Hill and Robert Pitts authored mbleigh committed
  6. @mbleigh

    Cleanup

    Les Hill and Robert Pitts authored mbleigh committed
  7. @mbleigh

    Add Trash (translated hash)

    Les Hill and Paul Elliott authored mbleigh committed
Commits on Jul 29, 2010
  1. @mbleigh
  2. @mbleigh

    Version bump to 0.2.2

    mbleigh authored
  3. @mbleigh
Commits on Jun 22, 2010
  1. @mbleigh
  2. @mbleigh

    Add Jeweler back in.

    mbleigh authored
  3. @mbleigh

    Version bump to 0.2.1

    mbleigh authored
  4. @hassox @mbleigh

    Allow for arguments in to_json

    hassox authored mbleigh committed
  5. @hassox @mbleigh

    add the gemfiles

    hassox authored mbleigh committed
  6. @hassox @mbleigh

    Adds a fix for json generation

    hassox authored mbleigh committed
Commits on Mar 5, 2010
  1. @mbleigh
  2. @mbleigh

    Version bump to 0.2.0

    mbleigh authored
  3. @mbleigh

    Adds Clash to the mix.

    mbleigh authored
Commits on Jan 14, 2010
  1. @mbleigh
  2. @mbleigh

    Version bump to 0.1.8

    mbleigh authored
  3. @mbleigh
  4. @mbleigh
  5. @mbleigh

    Version bump to 0.1.7

    mbleigh authored
  6. @benschwarz @mbleigh

    Swapped out class variables to scale the ancestors tree. This allows …

    benschwarz authored mbleigh committed
    …for the super class to not receive properties set on subclasses.
Commits on Jan 13, 2010
  1. @mbleigh
Something went wrong with that request. Please try again.