Permalink
Commits on Jul 24, 2011
  1. enhance Hashie::Mash#respond_to? so that it supports the optional inc…

    …lude_private argument - needed to work properly with Ruby's DelegateClass and friends
    committed Jul 24, 2011
Commits on Jul 22, 2011
  1. Fixing up specs.

    Michael Bleigh committed Jul 22, 2011
  2. Removing methods_spec.rb

    Michael Bleigh committed Jul 22, 2011
Commits on Apr 25, 2011
  1. Merged pull request #16 from cmar/master.

    Allow 'type' to be a key on a Mash
    Michael Bleigh committed Apr 25, 2011
Commits on Apr 6, 2011
  1. @cmar
Commits on Jan 27, 2011
  1. Regenerated gemspec for version 1.0.0

    Michael Bleigh committed Jan 27, 2011
  2. Version bump to 1.0.0

    Michael Bleigh committed Jan 27, 2011
  3. Merge branch 'master' of https://github.com/rainux/hashie

    Michael Bleigh committed Jan 27, 2011
  4. Update to RSpec 2.0

    Michael Bleigh committed Jan 27, 2011
Commits on Jan 20, 2011
  1. Add in better default handling

    Darcy Laycock committed Jan 20, 2011
  2. Add add a failing state to the dash spec

    Darcy Laycock committed Jan 20, 2011
Commits on Jan 13, 2011
  1. @Sutto
Commits on Sep 7, 2010
  1. @rainux
Commits on Aug 31, 2010
  1. Regenerated gemspec for version 0.4.0

    Michael Bleigh committed Aug 31, 2010
  2. Version bump to 0.4.0

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

    Michael Bleigh committed Aug 31, 2010
  4. @tcocca

    initialze_reader and convert_value should respect subclassing by usin…

    …g self.class instead of Hashie::Mash
    tcocca committed with Michael Bleigh Aug 26, 2010
Commits on Aug 29, 2010
  1. @mislav

    call `super` in Dash.inherited method

    One should always call `super` when defining the `inherited` method
    to support possible implementations in superclasses.
    mislav committed Aug 29, 2010
Commits on Aug 26, 2010
  1. @mislav

    Mash: add `shallow_update` and `shallow_merge` methods

    Now that `update` and `merge` are consistently recursive by default,
    it's useful to have methods that mimic the old (shallow) behavior.
    mislav committed Aug 26, 2010
  2. @mislav

    fix broken Trash spec example

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

    add missing requires to Hash and Mash

    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'
    mislav committed Aug 26, 2010
  4. @mislav

    heavily rework Dash for bugfixes and performance

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

    Mash: fix deep_merge/deep_update and make `merge` deep by default

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

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

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

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

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

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

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

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

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

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

    Les Hill and Paul Elliott committed with Michael Bleigh Jul 29, 2010