Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Prepare for next development iteration, 3.5.2 | Michael Herold | 2017-01-31 | 1 | -1/+1 | |
| | ||||||
* | Prepare for release of 3.5.1v3.5.1 | Michael Herold | 2017-01-31 | 1 | -1/+1 | |
| | ||||||
* | Add MergeInitializer to Coercian example | Paul Bowsher | 2016-12-01 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Before: ```ruby class Tweet < Hash include Hashie::Extensions::Coercion coerce_key :user, User end user_hash = { name: "Bob" } Tweet.new(user: user_hash) # => {} ``` After: ```ruby class Tweet < Hash include Hashie::Extensions::Coercion include Hashie::Extensions::MergeInitializer coerce_key :user, User end user_hash = { name: "Bob" } Tweet.new(user: user_hash) #=> {:user=>#<struct User name={:name=>"Bob"}>} ``` | |||||
* | Add a logging layer to address common issues (#381) | Michael Herold | 2016-11-02 | 1 | -0/+9 | |
| | ||||||
* | Preparing for next development iteration, 3.4.7. | dblock | 2016-09-16 | 1 | -1/+1 | |
| | ||||||
* | Preparing for release, 3.4.6.v3.4.6 | dblock | 2016-09-16 | 1 | -1/+1 | |
| | ||||||
* | Preparing for next development iteration, 3.4.6. | dblock | 2016-09-16 | 1 | -1/+1 | |
| | ||||||
* | Preparing for release, 3.4.5.v3.4.5 | dblock | 2016-09-16 | 1 | -1/+1 | |
| | ||||||
* | Hashie::Mash.load accepts a Pathname object. Closes #331. | Atsushi Ishida | 2016-07-15 | 1 | -0/+7 | |
| | | | | https://github.com/intridea/hashie/issues/331 | |||||
* | Preparing for the next development iteration, 3.4.5. | dblock | 2016-04-29 | 1 | -1/+1 | |
| | ||||||
* | Preparing for release, 3.4.4.v3.4.4 | dblock | 2016-04-29 | 1 | -1/+1 | |
| | ||||||
* | Omit `return' | camelmasa | 2016-02-23 | 1 | -3/+3 | |
| | ||||||
* | Fix too fexible regex | camelmasa | 2016-02-23 | 1 | -1/+1 | |
| | ||||||
* | README: fix typo | Prayag Verma | 2016-02-06 | 1 | -1/+1 | |
| | | | | Found a spelling mistake - includeable → includable | |||||
* | README: Clarified IndifferentAccess docs | Christian Höltje | 2016-01-26 | 1 | -2/+23 | |
| | | | | | | Tried to make the IndifferentAccess documentation clearer. Closes #340 | |||||
* | Update README.md | Vasiliy Yorkin | 2015-12-17 | 1 | -1/+1 | |
| | ||||||
* | Preparing for next development iteration, 3.4.4. [ci skip] | dblock | 2015-10-25 | 1 | -2/+2 | |
| | ||||||
* | Preparing for release, 3.4.3. [ci skip]v3.4.3 | dblock | 2015-10-25 | 1 | -4/+4 | |
| | ||||||
* | SRP: The StrictKeyAccess extension will raise an error whenever a key is ↵ | Peter Boling | 2015-10-23 | 1 | -0/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | accessed that does not exist in the hash. In Python a "Hash" is called a "Dictionary", and ... > "It is an error to extract a value using a non-existent key." See: https://docs.python.org/2/tutorial/datastructures.html#dictionaries EXAMPLE: class StrictHash < Hash include Hashie::Extensions::StrictKeyAccess end >> hash = StrictHash[foo: "bar"] => {:foo=>"bar"} >> hash[:foo] => "bar" >> hash[:cow] KeyError: key not found: :cow | |||||
* | Introduce Hashie::Extensions::Dash::Coercion. | Vladimir Kochnev | 2015-08-31 | 1 | -0/+30 | |
| | ||||||
* | Preparing for next release, 3.4.3 | Michael Herold | 2015-06-02 | 1 | -1/+1 | |
| | ||||||
* | Preparing for release 3.4.2v3.4.2 | Michael Herold | 2015-06-02 | 1 | -1/+1 | |
| | ||||||
* | The hashie_rails gem is now hashie-forbidden_attributes. | Daniel Doubrovkine (dB.) @dblockdotorg | 2015-05-19 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #297 from michaelherold/property-translation | Daniel Doubrovkine (dB.) @dblockdotorg | 2015-04-30 | 1 | -1/+46 | |
|\ | | | | | Extract Trash behavior into an extension | |||||
| * | Update readme with PropertyTranslation docs | Michael Herold | 2015-04-29 | 1 | -1/+46 | |
| | | ||||||
* | | 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 | |
|/ |