Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Another spec for #288. | Max Lincoln | 2015-03-31 | 1 | -0/+12 |
| | |||||
* | Fixed coercions in a subclass accumulating in the superclass. | Martin Streicher | 2015-03-31 | 1 | -3/+9 |
| | |||||
* | Add Hashie::Mash#reverse_merge. Increase Rubocop class length. | Max Goldstein | 2015-02-25 | 1 | -0/+13 |
| | | | | Fixes intridea/hashie#270 | ||||
* | Fix crash building a Mash w/ IndifferentAccess from HashWithIndifferentAccess | Benny Weingarten-Gabbay | 2015-02-05 | 1 | -1/+13 |
| | | | | When using an ActiveRecord::HashWithIndifferentAccess that is nested (i.e. {a: {b: 1}}) to create a Mash with the IndifferentAccess extension, an ArgumentException is raised. This is because the IndifferentAccess method `convert_value` overrides ActiveRecord::HashWithIndifferentAccess's method of the same name. Changing the method name in IndifferentAccess solves the issue. | ||||
* | Added Hashie::Extensions::DeepLocate | Michael Sievers | 2015-02-03 | 1 | -0/+124 |
| | |||||
* | provide self as context when evaluating default | gregory | 2015-02-01 | 1 | -0/+13 |
| | |||||
* | add Hashie::Mash#extractable_options? | Ryan Buckley | 2015-01-19 | 1 | -0/+12 |
| | |||||
* | Methods such as abc? return true/false Hashie::Extensions::MethodReader. | Zloy | 2015-01-14 | 1 | -0/+8 |
| | |||||
* | Fix bug where Dash changes argument to `property` | Douglas Willcocks | 2015-01-13 | 1 | -0/+12 |
| | |||||
* | Upgraded RuboCop to 0.28.0. | dblock | 2014-12-30 | 4 | -5/+0 |
| | |||||
* | Public utility methods for stringify/symbolize keys | Max Lincoln | 2014-12-30 | 2 | -80/+171 |
| | |||||
* | Add block to Extensions::DeepMerge | Ilya Kamenko | 2014-12-30 | 1 | -8/+31 |
| | |||||
* | Fix handling of default proc values in Mash | Erol Fornoles | 2014-12-30 | 1 | -0/+32 |
| | |||||
* | Inherit key coercions. | Erol Fornoles | 2014-12-28 | 1 | -0/+15 |
| | |||||
* | Support for conditionally required Dash properties | Chris Cashwell | 2014-12-11 | 1 | -0/+19 |
| | |||||
* | Add block to indifferent access #fetch | Jan Graichen | 2014-12-09 | 1 | -0/+5 |
| | | | | | | | | | | The #fetch method from IndifferentAccess did not pass a block to the underlying method which resulted in a KeyError on e.g. indifferent_hash.fetch(:key) {|key| 'default value' } This fix captures the block and passes it to the underlying fetch method that yields if the key cannot be found. | ||||
* | SafeAssignment will now also protect hash-style assignments. | Jonathan Rochkind | 2014-12-09 | 1 | -0/+7 |
| | |||||
* | Update key conversion extensions | Bartosz Kopiński | 2014-12-08 | 4 | -97/+133 |
| | | | | | | Fixing collision with ActiveSupport ActiveSupport implementation is not recursive | ||||
* | Code coverage reporting | Bartosz Kopiński | 2014-11-27 | 1 | -0/+5 |
| | |||||
* | Added Hashie::Extensions::MethodAccessWithOverride to autoloads. | Fritz Meissner | 2014-11-26 | 1 | -0/+24 |
| | |||||
* | Custom error messages for required properties in Hashie::Dash subclasses | Petr Balaban | 2014-10-07 | 1 | -0/+29 |
| | |||||
* | add support for coercion for hash that inherit from Hash | gregory | 2014-10-03 | 1 | -0/+20 |
| | |||||
* | Extend YamlErbParser to understand __FILE__ when interpolating ERB. | Julien Pervillé | 2014-09-16 | 1 | -0/+29 |
| | |||||
* | Merge pull request #226 from michaelherold/update-some-configuration | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-09-08 | 1 | -5/+7 |
|\ | | | | | Update some configuration | ||||
| * | Add simple RSpec.configure block for expect syntax | Michael Herold | 2014-09-07 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | Without the configure block, [mutant][mutant] was raising an error. I'm interested in mutation testing our test suite, so thought this would be the simplest thing to add to get that working. It also enforces the expect syntax, which is a nice side benefit. [mutant]: https://github.com/mbj/mutant | ||||
| * | Don't require rubygems in spec_helper | Michael Herold | 2014-09-06 | 1 | -1/+0 |
| | | |||||
| * | Remove lines adding lib to the load path | Michael Herold | 2014-09-06 | 1 | -3/+0 |
| | | | | | | | | RSpec does this automatically now. | ||||
* | | Merging Hashie::Mash now correctly only calls the block on duplicate values | Amy Sutedja | 2014-09-05 | 3 | -2/+8 |
|/ | |||||
* | Add spec from #112 for Trash subclasses | Michael Herold | 2014-08-29 | 1 | -0/+14 |
| | |||||
* | Add a test to prevent Mash from losing indifferent_access of nested hash | Ken Ip | 2014-08-27 | 1 | -0/+10 |
| | | | | See discussion at https://github.com/intridea/hashie/pull/197 | ||||
* | Revert "dont convert keys on initialization" | dblock | 2014-08-26 | 2 | -20/+10 |
| | | | | | | | This reverts commit 33f73e0635fc4d2c9f4726c744b50667c82d7b39. Conflicts: CHANGELOG.md | ||||
* | Merge pull request #213 from michaelherold/add-some-debugging-tools | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-08-24 | 1 | -0/+1 |
|\ | | | | | Add pry and pry-stack_explorer for debugging | ||||
| * | Add pry and pry-stack_explorer for debugging | Michael Herold | 2014-08-24 | 1 | -0/+1 |
| | | |||||
* | | Preserve backward-compatible translations when a single property is translated. | dB | 2014-08-24 | 1 | -1/+5 |
| | | |||||
* | | Fix #69: regression, multiple property assignments in Trash. | dB | 2014-08-23 | 1 | -1/+1 |
| | | | | | | | | Heavily inspired from https://github.com/intridea/hashie/commit/9a389853c98af876a80d1914acc0e24c4084ffb3. | ||||
* | | Add failing spec for #69. | Michael Herold | 2014-08-23 | 1 | -0/+19 |
| | | |||||
* | | Address TODO about the Lambda style cop | Michael Herold | 2014-08-23 | 3 | -13/+13 |
|/ | |||||
* | Add Hashie::Extensions::DeepFind | Michael Herold | 2014-08-22 | 1 | -0/+45 |
| | | | | | | | | | | | | 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] | ||||
* | Fixed inheritance of transformations in Trash. | FoboCasteR | 2014-08-22 | 1 | -5/+19 |
| | |||||
* | Fix #202 by stopping method redefinition | Michael Herold | 2014-08-20 | 1 | -3/+22 |
| | |||||
* | Add Hashie::Extensions::Mash::SafeAssignment | Michael Herold | 2014-08-20 | 1 | -0/+17 |
| | | | | 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/+55 |
| | | | | This is part 2 of 3 of the to-do list determined in #198. | ||||
* | Merge pull request #200 from maxlinc/core_types | Daniel Doubrovkine (dB.) @dblockdotorg | 2014-08-18 | 1 | -2/+267 |
|\ | | | | | Improved coercion: primitives and error handling | ||||
| * | Add proc test for #coerce_value | Max Lincoln | 2014-08-17 | 1 | -1/+19 |
| | | |||||
| * | A bit of cleanup | Max Lincoln | 2014-08-14 | 1 | -11/+3 |
| | | |||||
| * | core type coercion may be done! | Max Lincoln | 2014-08-14 | 1 | -28/+71 |
| | | |||||
| * | Error handling, test showing SystemStackError | Max Lincoln | 2014-08-14 | 1 | -2/+41 |
| | | |||||
| * | Add support for coercion to Complex and Rational | Max Lincoln | 2014-08-08 | 1 | -0/+8 |
| | | |||||
| * | Remove built-in support for boolean, but all a proc | Max Lincoln | 2014-08-08 | 1 | -9/+21 |
| | | |||||
| * | Updated tests because rbx TrueClass behavior is different than MRI | Max Lincoln | 2014-08-08 | 1 | -3/+40 |
| | |