Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make XmlMini.with_backend usable with threads | Nikita Afanasenko | 2012-11-15 | 1 | -9/+29 |
| | | | | | | | | | | | | | `XmlMini.with_backend` now may be safely used with threads: Thread.new do XmlMini.with_backend("REXML") { rexml_power } end Thread.new do XmlMini.with_backend("LibXML") { libxml_power } end Each thread will use it's own backend. | ||||
* | Symbol responds_to :upcase & :downcase in Ruby >= 1.9 | Akira Matsuda | 2012-06-06 | 1 | -1/+1 |
| | |||||
* | changed xml type datetime to dateTime, fixes #6328 | Angelo capilleri | 2012-05-23 | 1 | -4/+5 |
| | | | | | | | | | 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 | ||||
* | remove ActiveSupport::Base64 in favor of ::Base64 | Sergey Nartimov | 2012-01-02 | 1 | -4/+5 |
| | |||||
* | require 'time' | Vishnu Atrai | 2011-05-22 | 1 | -1/+2 |
| | |||||
* | Fix todo Time.xmlschema used instead of Time.parse | Vishnu Atrai | 2011-05-22 | 1 | -3/+2 |
| | |||||
* | Fix failing test. | José Valim | 2011-05-09 | 1 | -1/+1 |
| | |||||
* | xml_mini.rb:_dasherize() replacement 20 to 25% faster | Mike Howard | 2011-05-09 | 1 | -4/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix failing xml mini test. | José Valim | 2011-05-08 | 1 | -1/+4 |
| | |||||
* | xml_mini_test.rb now runs. | José Valim | 2011-05-07 | 1 | -0/+1 |
| | |||||
* | add more tests surrounding camlize in xmlmini, refactor rename_key() | Aaron Patterson | 2010-11-03 | 1 | -6/+2 |
| | |||||
* | Allowing to_xml :camelize option to be set to :lower to enable ↵ | Jeremy Holland | 2010-11-03 | 1 | -1/+7 |
| | | | | lower-camelcase tags [#5903 state:resolved] | ||||
* | Fix copy/paste bug | Erik Michaels-Ober | 2010-10-06 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | XmlMini.rename_key emits valid xml with dasherize | Bernerd Schaefer | 2010-07-26 | 1 | -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 sentence | Neeraj Singh | 2010-07-23 | 1 | -1/+1 |
| | |||||
* | Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵ | José Valim | 2010-04-29 | 1 | -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 isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | Make it easier to swap XmlMini backends. Require Nokogiri >= 1.1.1 for ↵ | Jeremy Kemper | 2009-03-10 | 1 | -6/+15 |
| | | | | XmlMini backend tests. | ||||
* | Nokogiri backend for XmlMini | Aaron Patterson | 2009-03-10 | 1 | -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 Kemper | 2009-03-09 | 1 | -6/+5 |
| | |||||
* | Require libxml-ruby 0.9.4 or 0.9.7 pending a segfault bugfix for 1.0. | Jeremy Kemper | 2009-03-09 | 1 | -14/+12 |
| | | | | Delegate parsing to a switchable backend. | ||||
* | Revert "Revert "XmlMini supports different backend parsers, starting with ↵ | Jeremy Kemper | 2009-03-09 | 1 | -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 Hansson | 2009-03-09 | 1 | -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 libxml | Bart ten Brinke | 2009-03-08 | 1 | -101/+9 |
| | | | | | | [#2084 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Make sure XmlMini is being correctly autoloaded by Ruby 1.9.1 | Luca Guidi | 2009-01-31 | 1 | -90/+92 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Don't re-require 'rexml/document' | Pratik Naik | 2008-11-26 | 1 | -1/+1 |
| | |||||
* | Extract XmlMini. Namespace FileLike extension. | Jeremy Kemper | 2008-11-25 | 1 | -0/+111 |