Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add documentation about circular coercioncircular-coercion-docs | Michael Herold | 2015-04-26 | 1 | -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 doc | Konstantin Delchev | 2015-04-03 | 1 | -1/+1 |
| | |||||
* | Added Gitter badge | The Gitter Badger | 2015-02-23 | 1 | -0/+2 |
| | |||||
* | Added Hashie::Extensions::DeepLocate | Michael Sievers | 2015-02-03 | 1 | -0/+42 |
| | |||||
* | Update README.md | GoT | 2015-01-15 | 1 | -1/+1 |
| | | | Just fix example in README. | ||||
* | Updated badges to look nice. | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-12-30 | 1 | -1/+7 |
| | |||||
* | Corrected typo. | dblock | 2014-12-30 | 1 | -9/+5 |
| | |||||
* | Public utility methods for stringify/symbolize keys | Max Lincoln | 2014-12-30 | 1 | -0/+13 |
| | |||||
* | Add block to Extensions::DeepMerge | Ilya Kamenko | 2014-12-30 | 1 | -0/+15 |
| | |||||
* | Support for conditionally required Dash properties | Chris Cashwell | 2014-12-11 | 1 | -0/+8 |
| | |||||
* | SafeAssignment will now also protect hash-style assignments. | Jonathan Rochkind | 2014-12-09 | 1 | -1/+2 |
| | |||||
* | Code coverage reporting | Bartosz Kopiński | 2014-11-27 | 1 | -1/+1 |
| | |||||
* | fixed documentation | Taylor Martin | 2014-10-22 | 1 | -1/+1 |
| | |||||
* | Merge pull request #234 from cvengros/patch-1 | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-10-10 | 1 | -5/+2 |
|\ | | | | | README.md: Fixed issue in deep_merge example | ||||
| * | README.md: Fixed issue in deep_merge example | Petr Cvengros | 2014-10-09 | 1 | -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 subclasses | Petr Balaban | 2014-10-07 | 1 | -4/+8 |
|/ | |||||
* | Preparing for 3.3.1 release. | dblock | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Preparing for next release | Michael Herold | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Preparing for release, 3.3.0v3.3.0 | Michael Herold | 2014-08-26 | 1 | -1/+1 |
| | |||||
* | Add Hashie::Extensions::DeepFind | Michael Herold | 2014-08-22 | 1 | -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::SafeAssignment | Michael Herold | 2014-08-20 | 1 | -0/+15 |
| | | | | This is part 3 of 3 of the to-do list determined in #198. | ||||
* | Add Hashie::Extensions::MethodOverridingWriter | Michael Herold | 2014-08-20 | 1 | -0/+23 |
| | | | | This is part 2 of 3 of the to-do list determined in #198. | ||||
* | Merge pull request #203 from michaelherold/update-mash-readme | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-08-20 | 1 | -1/+12 |
|\ | | | | | Update the README for Mash | ||||
| * | Update the README for Mash | Michael Herold | 2014-08-20 | 1 | -1/+12 |
| | | | | | | | | This is part 1 of 3 of the to-do list determined in #198. | ||||
* | | doc updates | Max Lincoln | 2014-08-17 | 1 | -0/+41 |
|/ | |||||
* | Added Mash#load with YAML file support. | gregory | 2014-07-14 | 1 | -0/+43 |
| | |||||
* | Preparing for next development iteration, 3.2.1. | dblock | 2014-07-10 | 1 | -1/+1 |
| | |||||
* | Preparing for release, 3.2.0.v3.2.0 | dblock | 2014-07-10 | 1 | -1/+1 |
| | |||||
* | Better title. | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Consistently capitalized title. | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Merge pull request #177 from gregory/issues_176_coercing_collection | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-06-30 | 1 | -0/+44 |
|\ | | | | | Porposition for Issues 176 - coerce collections | ||||
| * | Added support for coercing enumerables and collections | gregory | 2014-06-26 | 1 | -0/+44 |
| | | |||||
* | | Preparing for next development release, 3.1.1. | dblock | 2014-06-25 | 1 | -1/+1 |
| | | |||||
* | | Preparing for release, 3.1.v3.1.0 | dblock | 2014-06-25 | 1 | -1/+1 |
|/ | |||||
* | Auto include Dash::IndifferentAccess when Extensions::IndiferentAccess is ↵ | gregory | 2014-06-19 | 1 | -2/+0 |
| | | | | included in Dash. | ||||
* | Corrected documentation, update_attributes with a bang. | dblock | 2014-06-19 | 1 | -2/+2 |
| | |||||
* | Added Dash and Trash#update_attributes. | gregory | 2014-06-19 | 1 | -0/+5 |
| | |||||
* | Preparing for next development release, 3.0.1. | dblock | 2014-06-03 | 1 | -1/+1 |
| | |||||
* | Preparing for release, 3.0.v3.0.0 | dblock | 2014-06-03 | 1 | -2/+2 |
| | |||||
* | Documented hashie_rails. | Maxim Filimonov | 2014-06-02 | 1 | -9/+1 |
| | |||||
* | Code Climate badge | Bartosz Kopiński | 2014-05-24 | 1 | -1/+1 |
| | |||||
* | Corrected README, requires Hashie namespace. | dblock | 2014-05-05 | 1 | -2/+2 |
| | |||||
* | Added documentation for upgrading. | dblock | 2014-05-05 | 1 | -1/+9 |
| | |||||
* | Removed inconsistent 80-column alignment. | dblock | 2014-05-05 | 1 | -76/+32 |
| | |||||
* | Do not convert keys to strings in Dash and Trash. | dblock | 2014-05-02 | 1 | -0/+27 |
| | |||||
* | Added Hashie::Extensions::Mash::ActiveModel for compatibility with Rails 4 ↵ | dblock | 2014-04-30 | 1 | -0/+10 |
| | | | | Strong Parameters. | ||||
* | Added IgnoreUndeclared, an extension to silently ignore undeclared ↵ | Michael Righi | 2014-04-06 | 1 | -0/+26 |
| | | | | properties at hash intialization. | ||||
* | Added Hashie::Rash. | epitron | 2014-04-06 | 1 | -1/+34 |
| | |||||
* | Merge pull request #134 from tylerdooling/traverse | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-04-06 | 1 | -0/+30 |
|\ | | | | | Adds deep_fetch extension for nested access. | ||||
| * | Adds deep_fetch extension for nested access. | Tyler Dooling | 2014-04-04 | 1 | -0/+30 |
| | |