Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | It was decided that Multibyte does not belong to as/mini. | Michael S. Klishin | 2008-12-29 | 1 | -8/+2 |
| | |||||
* | Pull up some other changes from rails/rails/master | Michael S. Klishin | 2008-12-29 | 1 | -7/+2 |
|\ | |||||
| * | Allow multiple conditions for callbacks [#1627 state:resolved] | Joshua Peek | 2008-12-28 | 1 | -7/+2 |
| | | |||||
* | | Sync i18n update from rails/rails/master | Michael S. Klishin | 2008-12-28 | 15 | -71/+882 |
|\| | |||||
| * | Fix 'i18n' require broken by 0.0.1 -> 0.1.1 commit [#1658 state:committed] | Yaroslav Markin | 2008-12-28 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
| * | Update i18n gem to version 0.1.1 (Rails' changes were backported) [#1635 ↵ | Yaroslav Markin | 2008-12-28 | 15 | -71/+882 |
| | | | | | | | | | | | | state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | | Sync with rails/rails/master, merge two metaprogramming annotation efforts | Michael S. Klishin | 2008-12-28 | 12 | -160/+170 |
|\| | |||||
| * | Inline code comments for class_eval/module_eval [#1657 state:resolved] | Xavier Noria | 2008-12-28 | 15 | -182/+194 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Use active_support/mini instead of active_support/minimalistic | Michael S. Klishin | 2008-12-28 | 1 | -15/+0 |
| | | |||||
* | | Sync with wycats/rails/master | Michael S. Klishin | 2008-12-28 | 12 | -161/+178 |
|\ \ | |||||
| * | | Annotated metaprogramming code across ActiveSupport | Michael S. Klishin | 2008-12-28 | 13 | -162/+183 |
| |/ | |||||
* | | active_support/minimalistic.rb => active_support/mini.rb | Michael S. Klishin | 2008-12-28 | 1 | -0/+0 |
| | | |||||
* | | Introduce minimalistic package for ActiveSupport. | Michael S. Klishin | 2008-12-28 | 2 | -1/+20 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To simplify using of ActiveSupport in 3rd party libraries, a simple way to require only minimum of commonly used extensions (multibyte, inflections, array and hash extensions, #blank?, and a few others) is needed. For exactly this reason some out-of-Rails-space libraries adopted Extlib, originally from DataMapper. To keep it 2067% backwards compatible, and still available to everyone even in 2.x releases, active_support/minimalistic.rb was added. Use it like this: gem 'active_support', '>=2.3' require 'active_support/minimalistic' instead of require 'activesupport' Right now this package with RubyGems uses about 10 megs of RAM (10.01 or so). It can be further slimmed down though, once we simplify multibyte implementation that right now uses advanced accessors from Module extensions. To compare RAM usage with previous ActiveSupport versions and Extlib, at the time of writing, see http://gist.github.com/40401. | ||||
* | MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved] | trans | 2008-12-26 | 1 | -1/+8 |
| | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | Add :allow_nil option to delegate [#1127 state:resolved] | Sergio Gil | 2008-12-21 | 1 | -1/+27 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Revert "Make constantize look into ancestors" | Jeremy Kemper | 2008-12-15 | 1 | -24/+41 |
| | | | | | | [#410 state:open] This reverts commit 262fef7ed57520b857605a0105fe7ba9265654f6. | ||||
* | Make constantize look into ancestors | Frederick Cheung | 2008-12-15 | 1 | -41/+24 |
| | | | | | | [#410 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Properly parenthasize calls to defined?(Rails) in 75fa82418 [#1563 ↵ | Frederick Cheung | 2008-12-15 | 2 | -2/+2 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Make delete_if/reject faster and fix other mutators | Frederick Cheung | 2008-12-15 | 1 | -13/+24 |
| | | | | | | [#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 | -0/+25 |
| | | | | | | | | 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> | ||||
* | Prefer Rails.logger over RAILS_DEFAULT_LOGGER | Joshua Peek | 2008-12-10 | 2 | -4/+4 |
| | |||||
* | Squash memory leak when calling flush with an empty buffer | Frederick Cheung | 2008-12-10 | 1 | -1/+4 |
| | | | | | | [#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 | -7/+13 |
| | | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Rework ActiveSupport::OrderedHash to make lookups faster | Frederick Cheung | 2008-12-10 | 1 | -36/+23 |
| | | | | | | [#1352 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-12-09 | 2 | -223/+242 |
|\ | | | | | | | | | Conflicts: activesupport/CHANGELOG | ||||
| * | Updated included memcache-client to the 1.5.0.5 version which includes fixes ↵ | David Heinemeier Hansson | 2008-12-09 | 2 | -223/+242 |
| | | | | | | | | | | | | from fiveruns and 37signals to deal with failover and timeouts (Joshua Sierles) [#1535 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | | Benchmark.ms | Jeremy Kemper | 2008-12-09 | 2 | -8/+15 |
|/ | |||||
* | Add ActiveSupport::Multibyte::Chars#ord method so that it returns correct ↵ | Jason Cheow | 2008-12-08 | 1 | -0/+8 |
| | | | | | | | | 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 | -11/+13 |
| | | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge with docrails | Pratik Naik | 2008-12-07 | 3 | -1/+5 |
| | |||||
* | Silence server backtrace in rescue templates and log files. Also remove some ↵ | Joshua Peek | 2008-12-05 | 1 | -8/+11 |
| | | | | noise from missing template errors. | ||||
* | Add Memoizable#flush_cache to clear the cache of a specific method [#1505 ↵ | Joshua Peek | 2008-12-03 | 1 | -16/+28 |
| | | | | state:resolved] | ||||
* | Ruby 1.9 compat: no Unicode normalization support yet | Jeremy Kemper | 2008-11-26 | 1 | -1/+8 |
| | |||||
* | Ruby 1.9 compat: CGI#escape_skipping_slashes | Jeremy Kemper | 2008-11-26 | 1 | -5/+14 |
| | |||||
* | MiniTest::Unit#method_name alias for Test::Unit compat | Jeremy Kemper | 2008-11-26 | 1 | -0/+1 |
| | |||||
* | Don't re-require 'rexml/document' | Pratik Naik | 2008-11-26 | 1 | -1/+1 |
| | |||||
* | Added ActiveSupport::OrderedHash#each_key and ↵ | Christoffer Sawicki | 2008-11-26 | 1 | -0/+8 |
| | | | | | | ActiveSupport::OrderedHash#each_value [#1410 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Simpler and clearer to just explicitly require the JSON encoders | Jeremy Kemper | 2008-11-26 | 1 | -9/+15 |
| | |||||
* | Autoload ActiveSupport::XmlMini | Jeremy Kemper | 2008-11-26 | 1 | -1/+0 |
| | |||||
* | Require as little of REXML as possible to apply the entity_expansion_limit fix | Jeremy Kemper | 2008-11-26 | 1 | -24/+29 |
| | |||||
* | Lazy-require CGI for Object#to_query | Jeremy Kemper | 2008-11-26 | 1 | -2/+1 |
| | |||||
* | Extract XmlMini. Namespace FileLike extension. | Jeremy Kemper | 2008-11-25 | 2 | -128/+125 |
| | |||||
* | Rescue OpenSSL::Cipher::CipherError or OpenSSL::CipherError depending on ↵ | Jeremy Kemper | 2008-11-25 | 1 | -3/+4 |
| | | | | which is present | ||||
* | Unbundled XmlSimple | Jeremy Kemper | 2008-11-25 | 2 | -1027/+0 |
| | |||||
* | Extract XmlMini from XmlSimple. [#1474 state:committed] | Joseph Holsten | 2008-11-25 | 1 | -21/+106 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵ | Michael Koziarski | 2008-11-25 | 1 | -0/+69 |
| | | | | | | | | 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. | ||||
* | Require builder before fast_xs so we don't tickle its over-eager ↵ | Jeremy Kemper | 2008-11-24 | 1 | -1/+2 |
| | | | | String#to_xs collision check | ||||
* | Revert "Hack builder to look for fast_xs instead of insisting on its own ↵ | Jeremy Kemper | 2008-11-24 | 1 | -2/+2 |
| | | | | | | String#to_xs" This reverts commit 5d3712a81e502f46b2745d238d9bb76fcdb31f5b. | ||||
* | Allow optional arguments and/or block for Object#try like Object#send does. ↵ | Eloy Duran | 2008-11-24 | 1 | -2/+7 |
| | | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Autoload cache stores | Jeremy Kemper | 2008-11-23 | 1 | -6/+7 |
| |