Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Clean up module docs [ci skip] | Vijay Dev | 2012-03-07 | 1 | -4/+3 | |
| | | | | Removed some useless docstrings and no-doc'ed some. | |||||
* | Overrode Hash#nested_under_indifferent_access in HashWithIndifferentAccess | Miles Georgi | 2011-12-11 | 1 | -0/+4 | |
| | | | | to return self. | |||||
* | docs formatting changes | Vijay Dev | 2011-09-01 | 1 | -1/+1 | |
| | ||||||
* | document HashWithIndifferentAccess#extractable_options? | Shawn Drost | 2011-07-07 | 1 | -0/+2 | |
| | ||||||
* | Use dup to preserve previous behavior | David Lee | 2011-05-17 | 1 | -1/+1 | |
| | ||||||
* | Optimize parts of HashWithIndifferentAccess | David Lee | 2011-05-17 | 1 | -2/+10 | |
| | ||||||
* | indifferent access should recurse Hash subclasses | David Lee | 2011-05-08 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | This commit makes Hash subclasses convert to HWIA by default for nested objects of subclasses of Hash, but allows certain subclasses to prevent nested conversion by introducing Hash#nested_under_indifferent_access that subclasses can overwrite. ActiveSupport::OrderedHash is one such subclass that overwrites +nested_under_indifferent_access+, since implicitly converting it to HWIA would remove the ordering of keys and values in Ruby 1.8. This change is necessary because commit ce9456e broke nested indifferent access conversion for all subclasses of Hash. | |||||
* | Some style changes | suchasurge | 2011-03-06 | 1 | -2/+2 | |
| | ||||||
* | Only convert direct hash instances in hash with indifferent access. | José Valim | 2010-11-26 | 1 | -4/+3 | |
| | ||||||
* | HashWithIndifferentAccess should not change the subclass of an array | Larry Sprock | 2010-11-14 | 1 | -1/+1 | |
| | ||||||
* | Ensure that HashWithIndifferentAccess duplication preserves class (for ↵ | laserlemon | 2010-11-07 | 1 | -2/+4 | |
| | | | | | | sublclasses) and default value [#5724 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Override #store to be consistent with #[]. | Andrea Campi | 2010-10-10 | 1 | -0/+2 | |
| | | | | | | [#5775 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | now for real, the suite loads everything and these went unpatched | Xavier Noria | 2010-08-19 | 1 | -3/+3 | |
| | ||||||
* | avoids a ton o warnings ↵ | Xavier Noria | 2010-08-19 | 1 | -1/+6 | |
| | | | | activesupport/lib/active_support/dependencies.rb:239: warning: loading in progress, circular require considered harmful ... activesupport/lib/active_support/core_ext/hash/indifferent_access.rb while running the suite in Ruby 1.9.2 | |||||
* | Add missing require in ActiveSupport::HashWithIndifferentAccess [#5189 ↵ | Chris Hoffman | 2010-08-02 | 1 | -0/+1 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | HWIA relies on Hash#symbolize_keys and #stringify_keys extensions. | Santiago Pastorino | 2010-04-22 | 1 | -0/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Change HWIA#stringify_keys to return a HWIA not a Hash | Jeremy Kemper | 2010-04-22 | 1 | -1/+1 | |
| | ||||||
* | Restore HWIA#stringify_keys! and update changelog | Jeremy Kemper | 2010-04-22 | 1 | -2/+2 | |
| | ||||||
* | HWIA delegates to to_hash symbolize_keys and stringify_keys and bang methods ↵ | Santiago Pastorino | 2010-04-22 | 1 | -2/+4 | |
| | | | | | | are not in the api Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Limit Array#extract_options! to directl instances of Hash and HWIA. Add ↵ | wycats | 2010-03-27 | 1 | -0/+4 | |
| | | | | extractable_options? to Hash so that subclasses of Hash can opt-into extractable behavior. This fixes an issue where respond_with wasn't working with subclasses of Hash that were provided by other libraries (such as CouchDB or Mashie) [#4145 state:resolved] | |||||
* | ActiveSupport Hash optimizations [#2902 state:resolved] | Lourens Naude | 2009-07-15 | 1 | -1/+5 | |
| | | | | Signed-off-by: Carl Lerche <carllerche@mac.com> | |||||
* | Namespace HashWithIndifferentAccess | Jeremy Kemper | 2009-03-21 | 1 | -105/+109 | |
| | ||||||
* | Convert hash extension modules to class reopens | Jeremy Kemper | 2009-03-21 | 1 | -0/+129 | |