Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update Hash documentation with 1.9 syntax [ci skip] | Francesco Rodriguez | 2012-05-26 | 1 | -8/+16 |
| | |||||
* | add examples to Hash#deep_stringify_keys and Hash#deep_symbolize_keys [ci skip] | Francesco Rodriguez | 2012-05-26 | 1 | -0/+10 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-26 | 1 | -1/+1 |
|\ | |||||
| * | Fix unbalanced braces in Hash#typecast_xml_value internal comment | Alexey Vakhov | 2012-05-25 | 1 | -1/+1 |
| | | |||||
* | | Reorder deep_symbolize_keys methods | Mark McSpadden | 2012-05-25 | 1 | -7/+7 |
| | | |||||
* | | Add Hash#deep_transform_keys and Hash#deep_transform_keys! Also convert ↵ | Mark McSpadden | 2012-05-23 | 1 | -17/+26 |
|/ | | | | deep_*_keys to use deep_transform_keys. | ||||
* | Adding deep versions of stringify_keys and symbolize_keys (plain and bang) ↵ | Lucas Húngaro | 2012-05-23 | 1 | -0/+44 |
| | | | | for nested hashes | ||||
* | Add Hash#transform_keys and Hash#transform_keys! and refactor *_keys methods ↵ | Mark McSpadden | 2012-05-23 | 1 | -18/+25 |
| | | | | to use them. | ||||
* | changed xml type datetime to dateTime, fixes #6328 | Angelo capilleri | 2012-05-23 | 1 | -2/+2 |
| | | | | | | | | | XmlMini define the xml 'datatime', but according to http://www.w3.org/TR/xmlschema-2/#dateTime could be better change this to 'dateTime' with upper case letter 'T. So 'DateTime' and 'Time' are redefined from 'datetime' to 'dateTime' add the changing to the changelog | ||||
* | missing dot [ci skip] | Vijay Dev | 2012-05-15 | 1 | -1/+1 |
| | |||||
* | removing unnecessary 'examples' noise from activesupport | Francesco Rodriguez | 2012-05-13 | 1 | -2/+0 |
| | |||||
* | Fixing Hash#stringify_keys docs | Francesco Rodriguez | 2012-05-13 | 1 | -1/+1 |
| | |||||
* | marking self in Hash#symbolize_keys! | Francesco Rodriguez | 2012-05-13 | 1 | -1/+1 |
| | |||||
* | added example to Hash#symbolize_keys | Francesco Rodriguez | 2012-05-13 | 1 | -2/+5 |
| | |||||
* | unnecessary 'examples' noise in Hash#assert_valid_keys docs | Francesco Rodriguez | 2012-05-13 | 1 | -1/+0 |
| | |||||
* | added example to Hash#stringify_keys | Francesco Rodriguez | 2012-05-13 | 1 | -1/+5 |
| | |||||
* | adding examples to Hash#deep_merge method | Francesco Rodriguez | 2012-05-13 | 1 | -2/+7 |
| | |||||
* | Keep all methods in object/deep_dup | Piotr Sarnacki | 2012-05-06 | 1 | -8/+0 |
| | |||||
* | Nice logic for deep_dup in rails | Alexey Gaziev | 2012-05-06 | 1 | -4/+2 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-05-01 | 1 | -1/+1 |
|\ | |||||
| * | Minor English fix. | Erich Menge | 2012-04-30 | 1 | -1/+1 |
| | | |||||
* | | String quotes and trailing spaces | Alexey Gaziev | 2012-04-29 | 3 | -22/+22 |
| | | |||||
* | | AS core_ext refactoring pt.2 | Alexey Gaziev | 2012-04-29 | 4 | -7/+7 |
|/ | |||||
* | Inline the symbolize_keys/stringify_keys methods | Santiago Pastorino | 2012-04-08 | 1 | -2/+10 |
| | | | | | | user system total real symbolize_keys 5.980000 0.070000 6.050000 ( 6.048187) new_symbolize_keys 4.310000 0.050000 4.360000 ( 4.364745) | ||||
* | Remove Fixnum#to_sym support in 1.8.7 | Santiago Pastorino | 2012-04-08 | 1 | -1/+1 |
| | |||||
* | remove redundant variable | Dmitrii Golub | 2012-03-28 | 1 | -2/+1 |
| | |||||
* | search private and protected methods for convert_key | Aaron Patterson | 2012-03-20 | 1 | -2/+2 |
| | |||||
* | refactor Hash#slice and Hash#extract! | Vasiliy Ermolovich | 2012-03-06 | 1 | -8/+4 |
| | |||||
* | fixes in api docs | Vijay Dev | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | docs formatting changes | Vijay Dev | 2011-09-01 | 1 | -1/+1 |
| | |||||
* | Document Hash#extract!. | Sebastian Martinez | 2011-08-15 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1296 from c42engineering/issue636 | José Valim | 2011-07-11 | 1 | -1/+1 |
|\ | | | | | Resubmitting issue #636 as a pull request | ||||
| * | Issue #636 - Parsing an xml file with multiple records and extra attributes ↵ | Sidu Ponnappa | 2011-07-11 | 1 | -1/+1 |
| | | | | | | | | (besides type) fails | ||||
* | | with -> will | Uģis Ozols | 2011-06-12 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/date_helper.rb railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt | ||||
| * | Follow code conventions on docs | Sebastian Martinez | 2011-05-10 | 1 | -1/+1 |
| | | |||||
* | | indifferent access should recurse Hash subclasses | David Lee | 2011-05-08 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Fix bug with empty CDATA not being handled in Hash.from_xml | Bradley Harris | 2011-04-29 | 1 | -1/+2 |
|/ | |||||
* | files are a special case and need whitespace to be significant | Andre Arko | 2011-04-14 | 1 | -1/+1 |
| | |||||
* | gsub is not needed (thanks @fxn!) | Andre Arko | 2011-04-14 | 1 | -1/+1 |
| | |||||
* | attributes no longer disappear if a tag contains whitespace | Andre Arko | 2011-04-14 | 1 | -1/+1 |
| | | | | | | | | | | old: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>"\n"} new: Hash.from_xml("<tag foo='bar'>\n</tag>") => {"tag"=>{"foo"=>"bar", "__content__"=>"\n"} | ||||
* | revises the RDoc of Hash#reverse_merge | Xavier Noria | 2011-03-05 | 1 | -13/+7 |
| | |||||
* | Correct example that did not do what it claimed. Rework explanation. | Ben Orenstein | 2011-03-05 | 1 | -5/+5 |
| | |||||
* | corrected docs for Hash#to_xml and added examples. | Nick Sutterer | 2011-01-06 | 1 | -2/+14 |
| | |||||
* | Added Hash#deep_dup function which performs deep duplication on given hash | Piotr Sarnacki | 2010-11-02 | 1 | -0/+11 |
| | |||||
* | Make assert_valid_keys slightly faster. | thedarkone | 2010-09-27 | 1 | -4/+6 |
| | |||||
* | No need for an extra wrapper array. | thedarkone | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Refactor inject use in hash conversions. | Emilio Tagua | 2010-09-22 | 1 | -8/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | making variable names a little more clear | Aaron Patterson | 2010-08-23 | 1 | -1/+2 |
| | |||||
* | avoids a ton o warnings ↵ | Xavier Noria | 2010-08-19 | 1 | -3/+1 |
| | | | | 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 |