Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jul 24, 2011
  1. enhance Hashie::Mash#respond_to? so that it supports the optional inc…

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

    Michael Bleigh authored
  2. Removing methods_spec.rb

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

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

    Michael Bleigh authored
  2. Version bump to 1.0.0

    Michael Bleigh authored
  3. Merge branch 'master' of https://github.com/rainux/hashie

    Michael Bleigh authored
  4. Update to RSpec 2.0

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

    Darcy Laycock authored
  2. Add add a failing state to the dash spec

    Darcy Laycock authored
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 authored
  2. Version bump to 0.4.0

    Michael Bleigh authored
  3. Merge branch 'master' of github.com:intridea/hashie

    Michael Bleigh authored
  4. @tcocca

    initialze_reader and convert_value should respect subclassing by usin…

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

    call `super` in Dash.inherited method

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

    Mash: add `shallow_update` and `shallow_merge` methods

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

    fix broken Trash spec example

    mislav 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. @mislav

    add missing requires to Hash and Mash

    mislav 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. @mislav

    heavily rework Dash for bugfixes and performance

    mislav 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. @mislav

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

    mislav 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. Regenerated gemspec for version 0.3.1

    Michael Bleigh authored
  2. Version bump to 0.3.1

    Michael Bleigh authored
  3. Do not convert child mashes, retain their class.

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

    Michael Bleigh authored
  2. Version bump to 0.3.0

    Michael Bleigh authored
  3. Update README to add Trash.

    Michael Bleigh authored
  4. Query methods now return false if the key has been set to nil or fals…

    Michael Bleigh authored
    …e. Closes #4
  5. Initializing Dash with a nil

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

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

    Les Hill and Paul Elliott authored Michael Bleigh committed
Something went wrong with that request. Please try again.