Permalink
Commits on Aug 29, 2010
  1. call `super` in Dash.inherited method

    mislav committed Aug 29, 2010
    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

    mislav committed Aug 26, 2010
    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

    mislav committed Aug 26, 2010
    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

    mislav committed Aug 26, 2010
    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

    mislav committed Aug 25, 2010
     - 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

    mislav committed Aug 16, 2010
    `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. Regenerated gemspec for version 0.3.1

    Michael Bleigh
    Michael Bleigh committed Aug 19, 2010
  2. Version bump to 0.3.1

    Michael Bleigh
    Michael Bleigh committed Aug 19, 2010
  3. Do not convert child mashes, retain their class.

    Michael Bleigh
    Michael Bleigh committed Aug 19, 2010
Commits on Aug 10, 2010
  1. Regenerated gemspec for version 0.3.0

    Michael Bleigh
    Michael Bleigh committed Aug 10, 2010
  2. Version bump to 0.3.0

    Michael Bleigh
    Michael Bleigh committed Aug 10, 2010
  3. Update README to add Trash.

    Michael Bleigh
    Michael Bleigh committed Aug 10, 2010
  4. Query methods now return false if the key has been set to nil or false.

    Michael Bleigh
    Michael Bleigh committed Aug 10, 2010
    Closes #4
  5. Initializing Dash with a nil

    Les Hill and Robert Pitts Michael Bleigh
    Les Hill and Robert Pitts authored and Michael Bleigh committed Aug 6, 2010
  6. Cleanup

    Les Hill and Robert Pitts Michael Bleigh
    Les Hill and Robert Pitts authored and Michael Bleigh committed Aug 6, 2010
  7. Add Trash (translated hash)

    Les Hill and Paul Elliott Michael Bleigh
    Les Hill and Paul Elliott authored and Michael Bleigh committed Jul 29, 2010
Commits on Jul 29, 2010
  1. Regenerated gemspec for version 0.2.2

    Michael Bleigh
    Michael Bleigh committed Jul 29, 2010
  2. Version bump to 0.2.2

    Michael Bleigh
    Michael Bleigh committed Jul 29, 2010
  3. Changed up spec_helper a bit, added respond_to? on Mash

    Michael Bleigh
    Michael Bleigh committed Jul 29, 2010
Commits on Jun 22, 2010
  1. Regenerated gemspec for version 0.2.1

    Michael Bleigh
    Michael Bleigh committed Jun 22, 2010
  2. Add Jeweler back in.

    Michael Bleigh
    Michael Bleigh committed Jun 22, 2010
  3. Version bump to 0.2.1

    Michael Bleigh
    Michael Bleigh committed Jun 22, 2010
  4. Allow for arguments in to_json

    Daniel Neighman Michael Bleigh
    Daniel Neighman authored and Michael Bleigh committed Jun 15, 2010
  5. add the gemfiles

    Daniel Neighman Michael Bleigh
    Daniel Neighman authored and Michael Bleigh committed Jun 15, 2010
  6. Adds a fix for json generation

    Daniel Neighman Michael Bleigh
    Daniel Neighman authored and Michael Bleigh committed Jun 15, 2010
Commits on Mar 5, 2010
  1. Regenerated gemspec for version 0.2.0

    Michael Bleigh
    Michael Bleigh committed Mar 5, 2010
  2. Version bump to 0.2.0

    Michael Bleigh
    Michael Bleigh committed Mar 5, 2010
  3. Adds Clash to the mix.

    Michael Bleigh
    Michael Bleigh committed Mar 5, 2010
Commits on Jan 14, 2010
  1. Regenerated gemspec for version 0.1.8

    Michael Bleigh
    Michael Bleigh committed Jan 14, 2010
  2. Version bump to 0.1.8

    Michael Bleigh
    Michael Bleigh committed Jan 14, 2010
  3. Merge branch 'master' of github.com:intridea/hashie

    Michael Bleigh
    Michael Bleigh committed Jan 14, 2010
  4. Regenerated gemspec for version 0.1.7

    Michael Bleigh
    Michael Bleigh committed Jan 14, 2010
  5. Version bump to 0.1.7

    Michael Bleigh
    Michael Bleigh committed Jan 14, 2010
  6. Swapped out class variables to scale the ancestors tree. This allows …

    benschwarz authored and Michael Bleigh committed Jan 14, 2010
    …for the super class to not receive properties set on subclasses.
Commits on Jan 13, 2010
  1. Regenerated gemspec for version 0.1.6

    Michael Bleigh
    Michael Bleigh committed Jan 13, 2010