Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed some bugs and fixed some tests in new SAX-based XmlMini backends. | Willem van Bergen | 2010-01-01 | 1 | -3/+5 |
| | | | | | | [#3636 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 1 | -41/+0 |
| | |||||
* | Support deep-merging HashWithIndifferentAccess. | Andrew Moreland | 2009-08-09 | 1 | -0/+12 |
| | | | | | | [#2732 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵ | David Burger | 2009-08-09 | 1 | -0/+7 |
| | | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fixed Hash#from_xml with keys that are all caps. | codebrulee | 2009-05-04 | 1 | -0/+16 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | Explicit test dependencies | Jeremy Kemper | 2009-03-28 | 1 | -0/+1 |
| | |||||
* | Only require builder at startup if we need to monkey with its String#to_xs ↵ | Jeremy Kemper | 2009-03-21 | 1 | -1/+0 |
| | | | | demands | ||||
* | Use xmlschema when serializing TimeWithZones to xml [#2223 state:resolved] | Jonathan del Strother | 2009-03-12 | 1 | -0/+9 |
| | | | | | | When using Hash#to_xml, any TimeWithZone objects now use xmlschema (iso8601), rather than a simple TimeWithZone#to_s. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure HWIA#reverse_merge! retrurns HWIA [#421 state:resolved] | Bradford Folkens | 2009-03-12 | 1 | -0/+7 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | adding more nokogiri tests and making the main rails tests pass | Aaron Patterson | 2009-03-10 | 1 | -1/+6 |
| | | | | | | [#2190 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Require libxml-ruby 0.9.4 or 0.9.7 pending a segfault bugfix for 1.0. | Jeremy Kemper | 2009-03-09 | 1 | -1/+2 |
| | | | | Delegate parsing to a switchable backend. | ||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -2/+2 |
| | | | | [#1617 state:resolved] | ||||
* | MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved] | trans | 2008-12-26 | 1 | -3/+17 |
| | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Added a :camelize option to ActiveRecord and Hash to_xml serialization and ↵ | Bruce Krysiak | 2008-12-10 | 1 | -0/+7 |
| | | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Explicitly require Builder in test that uses it | Jeremy Kemper | 2008-11-24 | 1 | -0/+1 |
| | |||||
* | Revert "Hack builder to look for fast_xs instead of insisting on its own ↵ | Jeremy Kemper | 2008-11-24 | 1 | -1/+0 |
| | | | | | | String#to_xs" This reverts commit 5d3712a81e502f46b2745d238d9bb76fcdb31f5b. | ||||
* | Hack builder to look for fast_xs instead of insisting on its own String#to_xs | Jeremy Kemper | 2008-11-23 | 1 | -0/+1 |
| | |||||
* | Require mocha >= 0.9.0 for AS tests | Jeremy Kemper | 2008-11-22 | 1 | -6/+4 |
| | |||||
* | Adds failed test case for slicing hash with indifferent access with symbol keys | adam | 2008-09-23 | 1 | -0/+10 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Ensure Hash#except is allowed on a frozen hash. References #382 | Mislav Marohnić | 2008-09-13 | 1 | -0/+14 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge rexml-expansion-fix gem into activesupport. | Michael Koziarski | 2008-09-02 | 1 | -0/+21 |
| | | | | | Addresses the security issue documented at: * http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/ | ||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 1 | -4/+4 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Add extra tests to ensure Hash#slice works with an array as a key. #613 | MatthewRudy | 2008-07-17 | 1 | -0/+21 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Revert "Hash#slice supports an array of keys [#613 state:resolved]" | Pratik Naik | 2008-07-17 | 1 | -35/+21 |
| | | | | This reverts commit 396f9df8916b71f83aad8d56559cf55fc8501679. | ||||
* | Allow deep merging of hash values for nested with_options. [#490 state:resolved] | Lawrence Pit | 2008-07-17 | 1 | -0/+10 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Hash#slice supports an array of keys [#613 state:resolved] | Josh Owens | 2008-07-16 | 1 | -21/+35 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out ↵ | gbuesing | 2008-05-18 | 1 | -0/+38 |
| | | | | of range of Time. Adding tests for utc offsets | ||||
* | Revert [9209] Use Hash#except | Pratik Naik | 2008-04-02 | 1 | -32/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding Hash#without Closes #7369 [eventualbuddha] | Pratik Naik | 2008-04-02 | 1 | -0/+32 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use a decorator module for Files instantiated by Hash.from_xml. Add test ↵ | Jeremy Kemper | 2008-01-06 | 1 | -3/+31 |
| | | | | | | coverage. Closes #10726 [Cheah Chu Yeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Hash#symbolize_keys skips keys that can't be symbolized. Closes #10500. | Jeremy Kemper | 2007-12-20 | 1 | -3/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: shadowed vars, kcode | Jeremy Kemper | 2007-12-15 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix HashWithIndifferentAccess#to_options! so it doesn't clear the options ↵ | Rick Olson | 2007-12-08 | 1 | -0/+8 |
| | | | | | | hash. Closes #10419 [ReinH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix that empty collections should be treated as empty arrays regardless of ↵ | David Heinemeier Hansson | 2007-11-25 | 1 | -0/+11 |
| | | | | | | whitespace for Hash#from_xml (closes #10255) [adamj] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Hash#to_xml handles symbol values. Closes #9954. | Jeremy Kemper | 2007-10-23 | 1 | -2/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Hash#symbolize_keys behaves well with integer keys. Closes #9890. | Jeremy Kemper | 2007-10-16 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat, consistent load paths | Jeremy Kemper | 2007-10-02 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat for hash_ext_test | Jeremy Kemper | 2007-09-29 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Hash#to_xml doesn't double-unescape. Closes #8806. | Jeremy Kemper | 2007-09-17 | 1 | -0/+28 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Support for non heterogeneous arrays when serializing to xml. Unless ↵ | Tobias Lütke | 2007-07-09 | 1 | -0/+17 |
| | | | | | | guessable from array name the type name will be included as attribute git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Hash#except which is the inverse of Hash#slice -- return the hash ↵ | David Heinemeier Hansson | 2007-07-09 | 1 | -0/+13 |
| | | | | | | except the keys that are specified [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added proper handling of arrays. Closes #8537 [hasmanyjosh] | Rick Olson | 2007-06-21 | 1 | -4/+39 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | revert [6924] | Rick Olson | 2007-06-05 | 1 | -37/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added proper handling of arrays (closes #8537) [hasmanyjosh] | David Heinemeier Hansson | 2007-06-01 | 1 | -2/+37 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Pull file from xml value only if it's a Hash. Closes #8190. | Jeremy Kemper | 2007-04-26 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use XSD-compatible type names for Hash#to_xml and make the converters ↵ | David Heinemeier Hansson | 2007-04-21 | 1 | -1/+29 |
| | | | | | | extendable #8047 [Tim Pope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added yielding of builder in Hash#to_xml [DHH] | David Heinemeier Hansson | 2007-04-19 | 1 | -0/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed that parameters from XML should also be presented in a hash with ↵ | David Heinemeier Hansson | 2007-04-16 | 1 | -0/+5 |
| | | | | | | indifferent access [DHH] Hash#with_indifferent_access now also converts hashes kept in arrays to indifferent access (makes it easier to treat HTML and XML parameters the same) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |