summaryrefslogtreecommitdiff
path: root/README.md
Commit message (Collapse)AuthorAgeFilesLines
* Add documentation about circular coercioncircular-coercion-docsMichael Herold2015-04-261-0/+35
| | | | | | | | | | | | | | | | | | | | | | | The `coerce_key` method in the Coercion extension is a class-level method. As such, using circular coercion is not possible without using a coercion proc/lambda, since the coercion in the first type will not have the second type defined at load time. This can be worked around through the use of a coercion proc. I have added docs about this to the README, as well as tests that demonstrate the behavior. I don't see this as a bug, since doing this raises a Ruby-level error that makes sense. The only way I can think of to make the non-working demonstration work that I can think of would make the DSL a lot noisier (i.e. make all of the "intos" use procs/lambdas to yield the class name/structure that you'd like. Something like `coerce_key :model, to: -> { Model }`, which then grabs that returned `Model` and is applied. I think this is a reduction in user experience, so I chose not to pursue it. Fixes #115
* Minor fix in docKonstantin Delchev2015-04-031-1/+1
|
* Added Gitter badgeThe Gitter Badger2015-02-231-0/+2
|
* Added Hashie::Extensions::DeepLocateMichael Sievers2015-02-031-0/+42
|
* Update README.mdGoT2015-01-151-1/+1
| | | Just fix example in README.
* Updated badges to look nice.Daniel Doubrovkine (dB.) @dblockdotorg2014-12-301-1/+7
|
* Corrected typo.dblock2014-12-301-9/+5
|
* Public utility methods for stringify/symbolize keysMax Lincoln2014-12-301-0/+13
|
* Add block to Extensions::DeepMergeIlya Kamenko2014-12-301-0/+15
|
* Support for conditionally required Dash propertiesChris Cashwell2014-12-111-0/+8
|
* SafeAssignment will now also protect hash-style assignments.Jonathan Rochkind2014-12-091-1/+2
|
* Code coverage reportingBartosz Kopiński2014-11-271-1/+1
|
* fixed documentationTaylor Martin2014-10-221-1/+1
|
* Merge pull request #234 from cvengros/patch-1Daniel Doubrovkine (dB.) @dblockdotorg2014-10-101-5/+2
|\ | | | | README.md: Fixed issue in deep_merge example
| * README.md: Fixed issue in deep_merge example Petr Cvengros2014-10-091-5/+2
| | | | | | The way it was written doesn't work, because h1 and h2 will be standard Hashes (not MyHashes) that don't have the deep_merge method.
* | Custom error messages for required properties in Hashie::Dash subclassesPetr Balaban2014-10-071-4/+8
|/
* Preparing for 3.3.1 release.dblock2014-08-261-1/+1
|
* Preparing for next releaseMichael Herold2014-08-261-1/+1
|
* Preparing for release, 3.3.0v3.3.0Michael Herold2014-08-261-1/+1
|
* Add Hashie::Extensions::DeepFindMichael Herold2014-08-221-0/+26
| | | | | | | | | | | | This extension adds a `#deep_find` (aliased as `#deep_detect`) and a `#deep_find_all` (aliased as `#deep_select`) method to any Hash-like object. These methods perform a depth-first search on the object and its values and return either the first occurrence (for `#deep_find`) or an array of all occurrences (for `#deep_find_all`) within the nested structure of the hash. They work for nested Hash-like objects and nested Enumerables. [Closes #156]
* Add Hashie::Extensions::Mash::SafeAssignmentMichael Herold2014-08-201-0/+15
| | | | This is part 3 of 3 of the to-do list determined in #198.
* Add Hashie::Extensions::MethodOverridingWriterMichael Herold2014-08-201-0/+23
| | | | This is part 2 of 3 of the to-do list determined in #198.
* Merge pull request #203 from michaelherold/update-mash-readmeDaniel Doubrovkine (dB.) @dblockdotorg2014-08-201-1/+12
|\ | | | | Update the README for Mash
| * Update the README for MashMichael Herold2014-08-201-1/+12
| | | | | | | | This is part 1 of 3 of the to-do list determined in #198.
* | doc updatesMax Lincoln2014-08-171-0/+41
|/
* Added Mash#load with YAML file support.gregory2014-07-141-0/+43
|
* Preparing for next development iteration, 3.2.1.dblock2014-07-101-1/+1
|
* Preparing for release, 3.2.0.v3.2.0dblock2014-07-101-1/+1
|
* Better title.Daniel Doubrovkine (dB.) @dblockdotorg2014-06-301-1/+1
|
* Consistently capitalized title.Daniel Doubrovkine (dB.) @dblockdotorg2014-06-301-1/+1
|
* Merge pull request #177 from gregory/issues_176_coercing_collectionDaniel Doubrovkine (dB.) @dblockdotorg2014-06-301-0/+44
|\ | | | | Porposition for Issues 176 - coerce collections
| * Added support for coercing enumerables and collectionsgregory2014-06-261-0/+44
| |
* | Preparing for next development release, 3.1.1.dblock2014-06-251-1/+1
| |
* | Preparing for release, 3.1.v3.1.0dblock2014-06-251-1/+1
|/
* Auto include Dash::IndifferentAccess when Extensions::IndiferentAccess is ↵gregory2014-06-191-2/+0
| | | | included in Dash.
* Corrected documentation, update_attributes with a bang.dblock2014-06-191-2/+2
|
* Added Dash and Trash#update_attributes.gregory2014-06-191-0/+5
|
* Preparing for next development release, 3.0.1.dblock2014-06-031-1/+1
|
* Preparing for release, 3.0.v3.0.0dblock2014-06-031-2/+2
|
* Documented hashie_rails.Maxim Filimonov2014-06-021-9/+1
|
* Code Climate badgeBartosz Kopiński2014-05-241-1/+1
|
* Corrected README, requires Hashie namespace.dblock2014-05-051-2/+2
|
* Added documentation for upgrading.dblock2014-05-051-1/+9
|
* Removed inconsistent 80-column alignment.dblock2014-05-051-76/+32
|
* Do not convert keys to strings in Dash and Trash.dblock2014-05-021-0/+27
|
* Added Hashie::Extensions::Mash::ActiveModel for compatibility with Rails 4 ↵dblock2014-04-301-0/+10
| | | | Strong Parameters.
* Added IgnoreUndeclared, an extension to silently ignore undeclared ↵Michael Righi2014-04-061-0/+26
| | | | properties at hash intialization.
* Added Hashie::Rash.epitron2014-04-061-1/+34
|
* Merge pull request #134 from tylerdooling/traverseDaniel Doubrovkine (dB.) @dblockdotorg2014-04-061-0/+30
|\ | | | | Adds deep_fetch extension for nested access.
| * Adds deep_fetch extension for nested access.Tyler Dooling2014-04-041-0/+30
| |