aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/xml_mini.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix base64 requiresSergey Nartimov2012-01-031-0/+1
|
* deprecate ActiveSupport::Base64Sergey Nartimov2012-01-031-4/+4
| | | | extend and define ::Base64 if needed
* require 'time' Vishnu Atrai2011-05-221-1/+2
|
* Fix todo Time.xmlschema used instead of Time.parseVishnu Atrai2011-05-221-3/+2
|
* Fix failing test.José Valim2011-05-091-1/+1
|
* xml_mini.rb:_dasherize() replacement 20 to 25% fasterMike Howard2011-05-091-4/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix failing xml mini test.José Valim2011-05-081-1/+4
|
* xml_mini_test.rb now runs.José Valim2011-05-071-0/+1
|
* add more tests surrounding camlize in xmlmini, refactor rename_key()Aaron Patterson2010-11-031-6/+2
|
* Allowing to_xml :camelize option to be set to :lower to enable ↵Jeremy Holland2010-11-031-1/+7
| | | | lower-camelcase tags [#5903 state:resolved]
* Fix copy/paste bugErik Michaels-Ober2010-10-061-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* XmlMini.rename_key emits valid xml with dasherizeBernerd Schaefer2010-07-261-1/+5
| | | | | | | | This resolves issues for libraries which use '_' prefixed keys in their attributes hash, such as Mongoid. A key like "_id" or "_type" will no longer be converted to "<-id>" and "<-type>". Signed-off-by: wycats <wycats@gmail.com>
* reformatting sentenceNeeraj Singh2010-07-231-1/+1
|
* Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵José Valim2010-04-291-1/+126
| | | | | | both Hash and Array depends on. Also, refactored ActiveModel serializers to just use ActiveSupport::XmlMini.to_tag. As consequence, if a serialized attribute is an array or a hash, it's not encoded as yaml, but as a hash or array.
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-0/+2
|
* Make it easier to swap XmlMini backends. Require Nokogiri >= 1.1.1 for ↵Jeremy Kemper2009-03-101-6/+15
| | | | XmlMini backend tests.
* Nokogiri backend for XmlMiniAaron Patterson2009-03-101-0/+4
| | | | | | [#2190 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use the REXML parser by default. XmlMini.backend = 'LibXML' to use libxml-ruby.Jeremy Kemper2009-03-091-6/+5
|
* Require libxml-ruby 0.9.4 or 0.9.7 pending a segfault bugfix for 1.0.Jeremy Kemper2009-03-091-14/+12
| | | | Delegate parsing to a switchable backend.
* Revert "Revert "XmlMini supports different backend parsers, starting with ↵Jeremy Kemper2009-03-091-101/+9
| | | | | | | | libxml"" Will change to require a known-working libxml-ruby. This reverts commit a995a738ca10f9bef023689df70d26aad8931b9a.
* Revert "XmlMini supports different backend parsers, starting with libxml"David Heinemeier Hansson2009-03-091-9/+101
| | | | | | Spews a ton undefined method `default_keep_blanks=' for XML:Module errors. This reverts commit 822c41d69d9228c9912d29ac45155d3a16bb5c50.
* XmlMini supports different backend parsers, starting with libxmlBart ten Brinke2009-03-081-101/+9
| | | | | | [#2084 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make sure XmlMini is being correctly autoloaded by Ruby 1.9.1Luca Guidi2009-01-311-90/+92
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Don't re-require 'rexml/document'Pratik Naik2008-11-261-1/+1
|
* Extract XmlMini. Namespace FileLike extension.Jeremy Kemper2008-11-251-0/+111