Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | String quotes and trailing spaces | Alexey Gaziev | 2012-04-29 | 1 | -18/+18 |
| | |||||
* | Issue #636 - Parsing an xml file with multiple records and extra attributes ↵ | Sidu Ponnappa | 2011-07-11 | 1 | -1/+1 |
| | | | | (besides type) fails | ||||
* | 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"} | ||||
* | corrected docs for Hash#to_xml and added examples. | Nick Sutterer | 2011-01-06 | 1 | -2/+14 |
| | |||||
* | Refactor inject use in hash conversions. | Emilio Tagua | 2010-09-22 | 1 | -8/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -11/+11 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | make a throwaway value equals to _ to avoid warnings | Santiago Pastorino | 2010-07-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Unforce builder from AS | Santiago Pastorino | 2010-06-01 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move several configuration values from Hash to ActiveSupport::XmlMini, which ↵ | José Valim | 2010-04-29 | 1 | -100/+16 |
| | | | | | | 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. | ||||
* | array.to_xml should be able to handle all types of data elements [#4490 ↵ | Neeraj Singh | 2010-04-29 | 1 | -47/+8 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add support for a type=binary with an optional encoding=base64. If the ↵ | Josh Franklin | 2010-03-26 | 1 | -0/+9 |
| | | | | | | encoding attribute is absent, the data is considered unencoded. [#2966 state:resolved] | ||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -0/+48 |
| | |||||
* | hash/conversions.rb needs active_support/core_ext/string/inflections because ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | it uses singularize and a few others | ||||
* | hash/conversions.rb needs active_support/core_ext/object/blank because it ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | | | | uses blank? | ||||
* | Ruby 1.9.2: work around changes to flatten and nil.to_str | Jeremy Kemper | 2009-11-08 | 1 | -1/+2 |
| | |||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 1 | -17/+0 |
| | |||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 1 | -1/+1 |
| | | | | vendor requires. | ||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵ | David Burger | 2009-08-09 | 1 | -0/+1 |
| | | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Remove 'core' fluff. Hookable ActiveSupport.load_all! | Jeremy Kemper | 2009-05-20 | 1 | -2/+1 |
| | |||||
* | Fixed Hash#from_xml with keys that are all caps. | codebrulee | 2009-05-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 1 | -2/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | ||||
| * | Hash::XML_TYPE_NAMES: no longer a need for a TimeWithZone entry; this class ↵ | Geoff Buesing | 2009-04-05 | 1 | -2/+1 |
| | | | | | | | | will now match "Time" | ||||
* | | Convert Hash conversions extension module to class reopen | Jeremy Kemper | 2009-03-28 | 1 | -217/+209 |
|/ | |||||
* | Use xmlschema when serializing TimeWithZones to xml [#2223 state:resolved] | Jonathan del Strother | 2009-03-12 | 1 | -2/+3 |
| | | | | | | 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> | ||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -1/+1 |
| | |||||
* | Added a :camelize option to ActiveRecord and Hash to_xml serialization and ↵ | Bruce Krysiak | 2008-12-10 | 1 | -7/+13 |
| | | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Autoload ActiveSupport::XmlMini | Jeremy Kemper | 2008-11-26 | 1 | -1/+0 |
| | |||||
* | Extract XmlMini. Namespace FileLike extension. | Jeremy Kemper | 2008-11-25 | 1 | -128/+14 |
| | |||||
* | Extract XmlMini from XmlSimple. [#1474 state:committed] | Joseph Holsten | 2008-11-25 | 1 | -21/+106 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Lazy-require XmlSimple. Move CGI require to object conversions where it's ↵ | Jeremy Kemper | 2008-11-23 | 1 | -2/+2 |
| | | | | actually used. | ||||
* | Lazy-require builder lib | Jeremy Kemper | 2008-11-23 | 1 | -1/+2 |
| | |||||
* | Fix indentation mismatch | Jeremy Kemper | 2008-09-08 | 1 | -1/+1 |
| | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out ↵ | gbuesing | 2008-05-18 | 1 | -1/+1 |
| | | | | of range of Time. Adding tests for utc offsets | ||||
* | Fix Hash#from_xml with Type records. Closes #9242 [Juanjo Bazan, Isaac Feliu] | Jeremy Kemper | 2008-02-27 | 1 | -2/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | ActiveSupport::Base64.encode64s since Base64 is deprecated | Jeremy Kemper | 2008-02-07 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8817 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/+18 |
| | | | | | | coverage. Closes #10726 [Cheah Chu Yeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Moved the caching stores from ActionController::Caching::Fragments::* to ↵ | David Heinemeier Hansson | 2008-01-03 | 1 | -0/+2 |
| | | | | | | ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [DHH] Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [DHH] All fragment cache keys are now by default prefixed with the 'views/' namespace [DHH] Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [DHH] Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Luetke] Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel] Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: move from the deprecated Base64 module to ↵ | Jeremy Kemper | 2007-12-18 | 1 | -2/+1 |
| | | | | | | ActiveSupport::Base64. Closes #10554. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Move #to_query methods where they ought to belong. Closes #10395 [Chu Yeow] | Jeremy Kemper | 2007-12-09 | 1 | -17/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix that empty collections should be treated as empty arrays regardless of ↵ | David Heinemeier Hansson | 2007-11-25 | 1 | -13/+13 |
| | | | | | | 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 | -0/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Rebundle Builder 2.1.2 but prefer a newer RubyGem if available. | Jeremy Kemper | 2007-10-10 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | String#to_xs uses the fast_xs extension if available for Builder speedup. | Jeremy Kemper | 2007-10-07 | 1 | -0/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Hash#to_xml doesn't double-unescape. Closes #8806. | Jeremy Kemper | 2007-09-17 | 1 | -9/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |