Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Make Inflector#parameterize correctly squeeze multi-character separators ↵ | Henrik N | 2009-03-10 | 1 | -0/+6 | |
| | | | | | | | | | | | | [#1489 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Make it easier to swap XmlMini backends. Require Nokogiri >= 1.1.1 for ↵ | Jeremy Kemper | 2009-03-10 | 1 | -9/+7 | |
| | | | | | | | | XmlMini backend tests. | |||||
* | | Nokogiri backend for XmlMini | Aaron Patterson | 2009-03-10 | 2 | -0/+127 | |
| | | | | | | | | | | | | [#2190 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Properly decode \u escape sequences in JSON [#1100 state:resolved] [Tim ↵ | Tim Pope | 2009-03-10 | 1 | -1/+3 | |
| | | | | | | | | | | | | Pope, Philip Hallstrom] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | 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 | 16 | -55/+55 | |
| | | | | | | | | [#1617 state:resolved] | |||||
* | | Make Chars#slice! behave more like String#slice! [#1243 state:resolved] | George Ogata | 2009-03-07 | 1 | -5/+9 | |
| | | | | | | | | | | | | | | - Chars#slice! now returns the slice instead of itself - Chars#slice! now removes the slice from itself Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Allow String#parameterize to accept a separator [#2157 state:resolved] | Sam Granieri | 2009-03-07 | 2 | -0/+34 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Ensure ActiveSupport::Memoizable respects private methods. [#2138 ↵ | Niels Ganser | 2009-03-06 | 1 | -1/+22 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | | Fix OrderedHash#inspect recursion | Jeremy Kemper | 2009-03-04 | 1 | -1/+7 | |
| | | ||||||
* | | Fix OrderedHash#to_hash to return self instead of a new hash with self as ↵ | Jeremy Kemper | 2009-03-03 | 1 | -1/+5 | |
| | | | | | | | | default value | |||||
* | | Deprecated warnings for :skip_last_command and :connector of to_sentence ↵ | Guillermo Álvarez | 2009-02-22 | 1 | -0/+18 | |
| | | | | | | | | | | | | [#1847 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
* | | Broaden URI.unescape fix to all affected 1.9.x by checking for broken ↵ | Jeremy Kemper | 2009-02-20 | 1 | -5/+6 | |
| | | | | | | | | behavior instead of specific patchlevel | |||||
* | | Ruby 1.9.1p0's URI.decode() bug fix | moro | 2009-02-20 | 1 | -0/+11 | |
| | | | | | | | | | | | | backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005]. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Ruby 1.9 compat: fix JSON decoding to work properly with multibyte values | Akira Matsuda | 2009-02-17 | 1 | -0/+3 | |
| | | | | | | | | | | | | [#1969 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Remove obsolete silence_warnings wrappers from TZInfo-dependent tests in ↵ | Levin Alexander | 2009-02-14 | 4 | -332/+212 | |
| | | | | | | | | ActiveSupport [#1914 state:resolved] | |||||
* | | Adding inflection of databases (usually we wouldn't amend the current ↵ | Jiri Zajpt | 2009-02-12 | 1 | -1/+2 | |
| | | | | | | | | | | | | defaults, but this seems to obvious) [#1942 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
* | | Array#wrap should use #to_ary so association collections and named scopes ↵ | Will Bryant | 2009-02-10 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | are not re-wrapped [#1935 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and ↵ | Zachary Zolton | 2009-02-09 | 1 | -0/+4 | |
| | | | | | | | | non-standard %z directive [#1899 state:resolved] | |||||
* | | Make TimeWithZone#to_formatted_s an alias to TimeWithZone#to_s [#1796 ↵ | Levin Alexander | 2009-02-08 | 1 | -0/+6 | |
| | | | | | | | | state:resolved] | |||||
* | | Introduce Array.wrap(foo) to wrap the argument in an array unless it's ↵ | Jeremy Kemper | 2009-02-06 | 1 | -0/+24 | |
| | | | | | | | | already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. | |||||
* | | Include failed difference expression in assert message | Jeremy Kemper | 2009-02-06 | 1 | -2/+5 | |
| | | ||||||
* | | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -1/+2 | |
|/ | ||||||
* | Only dup local cache values if duplicable [#1653 state:resolved] | Joshua Peek | 2009-01-28 | 1 | -0/+12 | |
| | ||||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -2/+2 | |
| | ||||||
* | Decouple the local cache strategy from MemCacheStore for reuse with other ↵ | Lourens Naude | 2009-01-17 | 1 | -17/+19 | |
| | | | | | | remote stores [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Dup keys in OrderedHash to prevent them from being modified [#1676 ↵ | Brandon Keepers | 2009-01-16 | 1 | -1/+9 | |
| | | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | |||||
* | Properly quote json keys. | Michael Koziarski | 2009-01-16 | 1 | -2/+2 | |
| | | | | | According to the RFC and the json.org site all json keys must be strings, and those strings must be quoted with double quotes. [#1755 state:committed] | |||||
* | Added in a local per request cache to MemCacheStore. It acts as a buffer to ↵ | Nahum Wild | 2009-01-15 | 1 | -16/+103 | |
| | | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Change Object#try to raise NoMethodError on private methods and always ↵ | Pratik Naik | 2009-01-13 | 1 | -9/+10 | |
| | | | | return nil when Object is nil [Pratik Naik, Lawrence Pit] | |||||
* | TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 ↵ | Nicholas Dainty | 2009-01-11 | 1 | -0/+9 | |
| | | | | state:resolved] | |||||
* | Object#tap for Ruby < 1.8.7 | Jeremy Kemper | 2009-01-07 | 1 | -0/+8 | |
| | ||||||
* | Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonathan del ↵ | Pratik Naik | 2009-01-07 | 1 | -1/+2 | |
| | | | | Strother] | |||||
* | TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime ↵ | gbuesing | 2009-01-04 | 1 | -0/+9 | |
| | | | | argument | |||||
* | Allow multiple conditions for callbacks [#1627 state:resolved] | Joshua Peek | 2008-12-28 | 1 | -1/+41 | |
| | ||||||
* | 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> | |||||
* | Add :allow_nil option to delegate [#1127 state:resolved] | Sergio Gil | 2008-12-21 | 1 | -0/+27 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Revert "Make constantize look into ancestors" | Jeremy Kemper | 2008-12-15 | 1 | -16/+1 | |
| | | | | | | [#410 state:open] This reverts commit 262fef7ed57520b857605a0105fe7ba9265654f6. | |||||
* | Make constantize look into ancestors | Frederick Cheung | 2008-12-15 | 1 | -1/+16 | |
| | | | | | | [#410 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Make delete_if/reject faster and fix other mutators | Frederick Cheung | 2008-12-15 | 1 | -0/+37 | |
| | | | | | | [#1559 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Fixed ActiveSupport::OrderedHash #delete_if, #reject!, and #reject, which ↵ | Eloy Duran | 2008-12-11 | 1 | -1/+21 | |
| | | | | | | | | did not sync the @keys after the operation. This probably holds true for other mutating methods as well. Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Squash memory leak when calling flush with an empty buffer | Frederick Cheung | 2008-12-10 | 1 | -0/+6 | |
| | | | | | | [#1552 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | 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> | |||||
* | Rework ActiveSupport::OrderedHash to make lookups faster | Frederick Cheung | 2008-12-10 | 1 | -0/+10 | |
| | | | | | | [#1352 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Add ActiveSupport::Multibyte::Chars#ord method so that it returns correct ↵ | Jason Cheow | 2008-12-08 | 1 | -0/+4 | |
| | | | | | | | | Unicode value instead of falling back on String#ord in CoreExtensions, which is not multibyte compatible [#1483 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Change Array#to_sentence I18n options to pass comma and space character from ↵ | Akira Matsuda | 2008-12-08 | 2 | -15/+25 | |
| | | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Add Memoizable#flush_cache to clear the cache of a specific method [#1505 ↵ | Joshua Peek | 2008-12-03 | 1 | -0/+10 | |
| | | | | state:resolved] | |||||
* | Ruby 1.9 compat: no Unicode normalization support yet | Jeremy Kemper | 2008-11-26 | 2 | -2/+19 | |
| | ||||||
* | Added ActiveSupport::OrderedHash#each_key and ↵ | Christoffer Sawicki | 2008-11-26 | 1 | -0/+12 | |
| | | | | | | ActiveSupport::OrderedHash#each_value [#1410 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵ | Michael Koziarski | 2008-11-25 | 1 | -0/+46 | |
| | | | | | | | | encryption. The use of encryption prevents people from seeing any potentially secret values you've used. It also supports and encrypt_and_sign model to prevent people from tampering with the bits and creating random junk that gets fed to A motivated coder could use this to add an :encrypt=>true option to the cookie store. |