Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Regenerated gemspec for version 0.4.0v0.4.0 | Michael Bleigh | 2010-08-31 | 1 | -2/+2 |
| | |||||
* | Version bump to 0.4.0 | Michael Bleigh | 2010-08-31 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:intridea/hashie | Michael Bleigh | 2010-08-31 | 2 | -2/+26 |
|\ | |||||
| * | initialze_reader and convert_value should respect subclassing by using ↵ | tcocca | 2010-08-31 | 2 | -2/+26 |
| | | | | | | | | self.class instead of Hashie::Mash | ||||
* | | call `super` in Dash.inherited method | Mislav Marohnić | 2010-08-29 | 2 | -0/+11 |
| | | | | | | | | | | One should always call `super` when defining the `inherited` method to support possible implementations in superclasses. | ||||
* | | Mash: add `shallow_update` and `shallow_merge` methods | Mislav Marohnić | 2010-08-26 | 2 | -31/+70 |
| | | | | | | | | | | Now that `update` and `merge` are consistently recursive by default, it's useful to have methods that mimic the old (shallow) behavior. | ||||
* | | fix broken Trash spec example | Mislav Marohnić | 2010-08-26 | 1 | -2/+1 |
| | | | | | | | | | | | | 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. | ||||
* | | add missing requires to Hash and Mash | Mislav Marohnić | 2010-08-26 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | | | 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' | ||||
* | | heavily rework Dash for bugfixes and performance | Mislav Marohnić | 2010-08-26 | 2 | -112/+151 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | ||||
* | | Mash: fix deep_merge/deep_update and make `merge` deep by default | Mislav Marohnić | 2010-08-26 | 2 | -8/+44 |
|/ | | | | | | | | `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. | ||||
* | Regenerated gemspec for version 0.3.1v0.3.1 | Michael Bleigh | 2010-08-19 | 1 | -2/+2 |
| | |||||
* | Version bump to 0.3.1 | Michael Bleigh | 2010-08-19 | 1 | -1/+1 |
| | |||||
* | Do not convert child mashes, retain their class. | Michael Bleigh | 2010-08-19 | 5 | -9/+22 |
| | |||||
* | Regenerated gemspec for version 0.3.0v0.3.0 | Michael Bleigh | 2010-08-10 | 1 | -2/+5 |
| | |||||
* | Version bump to 0.3.0 | Michael Bleigh | 2010-08-10 | 1 | -1/+1 |
| | |||||
* | Update README to add Trash. | Michael Bleigh | 2010-08-10 | 1 | -0/+14 |
| | |||||
* | Query methods now return false if the key has been set to nil or false. ↵ | Michael Bleigh | 2010-08-10 | 3 | -1/+12 |
| | | | | Closes #4 | ||||
* | Initializing Dash with a nil | Les Hill and Robert Pitts | 2010-08-10 | 2 | -1/+8 |
| | |||||
* | Cleanup | Les Hill and Robert Pitts | 2010-08-10 | 2 | -22/+21 |
| | |||||
* | Add Trash (translated hash) | Les Hill and Paul Elliott | 2010-08-10 | 3 | -1/+131 |
| | |||||
* | Regenerated gemspec for version 0.2.2v0.2.2 | Michael Bleigh | 2010-07-28 | 1 | -4/+4 |
| | |||||
* | Version bump to 0.2.2 | Michael Bleigh | 2010-07-28 | 1 | -1/+1 |
| | |||||
* | Changed up spec_helper a bit, added respond_to? on Mash | Michael Bleigh | 2010-07-28 | 7 | -31/+47 |
| | |||||
* | Regenerated gemspec for version 0.2.1v0.2.1 | Michael Bleigh | 2010-06-22 | 1 | -6/+41 |
| | |||||
* | Add Jeweler back in. | Michael Bleigh | 2010-06-22 | 1 | -0/+17 |
| | |||||
* | Version bump to 0.2.1 | Michael Bleigh | 2010-06-22 | 1 | -1/+1 |
| | |||||
* | Allow for arguments in to_json | Daniel Neighman | 2010-06-22 | 1 | -2/+2 |
| | |||||
* | add the gemfiles | Daniel Neighman | 2010-06-22 | 2 | -0/+36 |
| | |||||
* | Adds a fix for json generation | Daniel Neighman | 2010-06-22 | 7 | -87/+59 |
| | |||||
* | Regenerated gemspec for version 0.2.0v0.2.0 | Michael Bleigh | 2010-03-05 | 1 | -4/+7 |
| | |||||
* | Version bump to 0.2.0 | Michael Bleigh | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Adds Clash to the mix. | Michael Bleigh | 2010-03-05 | 4 | -9/+158 |
| | |||||
* | Regenerated gemspec for version 0.1.8v0.1.8 | Michael Bleigh | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | Version bump to 0.1.8 | Michael Bleigh | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:intridea/hashie | Michael Bleigh | 2010-01-14 | 2 | -6/+26 |
|\ | |||||
| * | Swapped out class variables to scale the ancestors tree. This allows for the ↵ | Ben Schwarz | 2010-01-15 | 2 | -6/+26 |
| | | | | | | | | super class to not receive properties set on subclasses. | ||||
* | | Regenerated gemspec for version 0.1.7 | Michael Bleigh | 2010-01-14 | 1 | -2/+2 |
| | | |||||
* | | Version bump to 0.1.7 | Michael Bleigh | 2010-01-14 | 1 | -1/+1 |
|/ | |||||
* | Regenerated gemspec for version 0.1.6v0.1.6 | Michael Bleigh | 2010-01-13 | 1 | -2/+2 |
| | |||||
* | Version bump to 0.1.6 | Michael Bleigh | 2010-01-13 | 1 | -1/+1 |
| | |||||
* | should not convert the type of Hashie::Mashes childs to Hashie::Mash | andrehjr | 2010-01-14 | 2 | -1/+10 |
| | |||||
* | Added a spec to cover defaults inheritance | Ben Schwarz | 2010-01-14 | 1 | -0/+4 |
| | |||||
* | Storing dash properties in a class variable to allow for subclassing (#Issue 2) | Ben Schwarz | 2010-01-14 | 2 | -4/+17 |
| | |||||
* | Regenerated gemspec for version 0.1.5v0.1.5 | Michael Bleigh | 2009-11-16 | 1 | -2/+2 |
| | |||||
* | Version bump to 0.1.5 | Michael Bleigh | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Dashes now raises NoMethodError when reading a non-existent property | André Luis Leal Cardoso Junior | 2009-11-16 | 2 | -7/+19 |
| | |||||
* | Fixing inspect for Dashes | André Luis Leal Cardoso Junior | 2009-11-16 | 2 | -1/+7 |
| | |||||
* | Regenerated gemspec for version 0.1.4v0.1.4 | Michael Bleigh | 2009-11-13 | 1 | -2/+2 |
| | |||||
* | Version bump to 0.1.4 | Michael Bleigh | 2009-11-13 | 1 | -1/+1 |
| | |||||
* | Updates to the mash for ensuring that nil values aren't overwritten | Daniel Neighman | 2009-11-13 | 1 | -2/+3 |
| |