Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Documentation for Array#sample | Thiago Pradi | 2010-06-28 | 1 | -0/+7 |
| | |||||
* | String#[] doesn't return the byte representation on 1.9.2, we should use ↵ | Santiago Pastorino | 2010-06-27 | 1 | -1/+1 |
| | | | | | | getbyte that was already added as a Ruby < 1.9 core_ext Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Added getbyte as a core_ext to Ruby < 1.9 | Santiago Pastorino | 2010-06-27 | 2 | -0/+12 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Load JSON additions (as to_json) on active_support/all. | Santiago Pastorino | 2010-06-26 | 1 | -0/+1 |
| | | | | | | [#4730 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move constantize from conversions to inflections. | Santiago Pastorino | 2010-06-26 | 2 | -11/+11 |
| | | | | | | | | This removes ActiveModel dependency on TZInfo. [#4979 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Oops. Make previous commit pass on 1.9.2. | José Valim | 2010-06-26 | 1 | -1/+2 |
| | |||||
* | Tidy up tests in previous commit since they did not assure an OrderedHash is ↵ | José Valim | 2010-06-26 | 1 | -3/+2 |
| | | | | | | returned (the test would pass for an array and would pass by chance for hashes). [#4875 state:resolved] | ||||
* | Add OrderedHash#invert to preserve order in ruby 1.8 [#4875] | chaitanyav | 2010-06-26 | 2 | -0/+10 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Work around the fact the JSON gem was overwriting to_json implementation for ↵ | José Valim | 2010-06-26 | 2 | -5/+21 |
| | | | | | | | all Ruby core classes. This is required because the JSON gem is incompatible with Rails behavior and was not allowing ActiveModel::Errors to be serialized. So we need to ensure Rails implementation is the one triggered. [#4890 state:resolved] | ||||
* | Move some methods into 1.8.x-only proxy. [#4978 state:resolved] | Norman Clarke | 2010-06-26 | 1 | -40/+39 |
| | | | | | | | | These methods had been overridden because they had bugs on 1.9.1. Since Rails now supports only 1.9.2, and these methods now work properly on that version, there's no longer any need to override them. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove previously defined class method logger to supress warnings in Active ↵ | rohit | 2010-06-26 | 1 | -0/+4 |
| | | | | | | Support test suites. [#4618 state:open] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Alias ActiveSupport::OrderedHash#update to ActiveSupport::OrderedHash.merge! | Paul Mucur | 2010-06-25 | 2 | -0/+8 |
| | | | | | | | | This ensures that an OrderedHash's keys are set up appropriately when using update. [#4973 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | AS::Isolation functional on Windows/JRuby. | Nick Sieger | 2010-06-24 | 1 | -8/+11 |
| | | | | | | Doesn't make up for the fact that it's slooooooooow, though. Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 4 | -1/+329 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | Avoid using Pathname on Resolver and AS::Dependencies. | José Valim | 2010-06-24 | 1 | -6/+15 |
| | |||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 3 | -30/+32 |
| | |||||
* | Missing require for the class/attribute.rb [4812 state:resolved] | Prem Sichanugrist | 2010-06-22 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | preventing memcached initialization errors with default servers list [#4921 ↵ | David Calavera | 2010-06-22 | 2 | -2/+2 |
| | | | | | | | | state:resolved] As of this writing the JRuby client does not support a default port. Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | defines ORIG_ARGV in Active Support's abstract_unit.rb (used in ↵ | David Calavera | 2010-06-22 | 1 | -0/+2 |
| | | | | | | isolation.rb) [#4922 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | removed default Formatter in logger, not needed with 1.8.7 upwards | Josh Kalderimis | 2010-06-22 | 1 | -38/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | removed 'unless const_defined?' code smell | Josh Kalderimis | 2010-06-21 | 2 | -149/+147 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Initialize @last_update_at in file_update_checker to hide warnings in AS ↵ | rohit | 2010-06-21 | 1 | -2/+2 |
| | | | | | | test suite. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Allow instrumentation of cache hits and misses. [#4888 state:resolved] | Hongli Lai (Phusion) | 2010-06-21 | 1 | -25/+40 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | adds parens to silence a warning in the test suite of AS | Xavier Noria | 2010-06-20 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 21 | -164/+410 |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | ||||
| * | Update ActiveSupport CHANGELOG with latest changes. | José Valim | 2010-06-20 | 1 | -0/+4 |
| | | |||||
| * | I18n.reload! is only called if any of the locale files actually changed. | José Valim | 2010-06-20 | 3 | -71/+82 |
| | | |||||
| * | Add ActiveSupport::FileUpdateChecker. | José Valim | 2010-06-20 | 3 | -1/+96 |
| | | |||||
| * | Adds titleize/titlecase to AS::Multibyte::Chars | Norman Clarke | 2010-06-20 | 2 | -0/+24 |
| | | | | | | | | | | | | [#2794 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 2 | -0/+0 |
| | | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | <=> is defined twice on multibyte/chars.rb for Ruby < 1.9 | Sam Elliott and Santiago Pastorino | 2010-06-20 | 1 | -14/+10 |
| | | | | | | | | | | | | [#4850 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Merge branch 'master' of github.com:rails/rails | José Valim | 2010-06-20 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix Yajl backend discovery in ActiveSupport::JSON | Maxime RETY | 2010-06-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | [#4897 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | | Remove descendants warning while executing tests. | José Valim | 2010-06-19 | 2 | -2/+5 |
| | | | |||||
| * | | Change callbacks to automatically include DescendantsTracker and rename ↵ | José Valim | 2010-06-19 | 3 | -10/+17 |
| | | | | | | | | | | | | descendents to descendants. | ||||
| * | | Add ActiveSupport::DescendantsTracker. | José Valim | 2010-06-19 | 3 | -0/+109 |
| |/ | |||||
| * | enable_stats added back in since Benchmarker doesn't start RubyProf | Gonçalo Silva | 2010-06-17 | 1 | -1/+9 |
| | | | | | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
| * | check if the profiler patch is applied, otherwise GC::Profiler doesn't have ↵ | Gonçalo Silva | 2010-06-17 | 1 | -1/+1 |
| | | | | | | | | the 'data' method | ||||
| * | added information about what is being used | Gonçalo Silva | 2010-06-17 | 1 | -2/+6 |
| | | |||||
| * | heap_live_objects+heap_free_objects is broken, use heap_total_objects instead | Gonçalo Silva | 2010-06-17 | 1 | -2/+1 |
| | | |||||
| * | also use GC profiler extended patch to retrieve GC time on 1.9 | Gonçalo Silva | 2010-06-17 | 1 | -1/+12 |
| | | |||||
| * | ruby's GC doesn't support the time method, removed support for it | Gonçalo Silva | 2010-06-17 | 1 | -4/+0 |
| | | |||||
| * | use GC profiler extended patch to retrieve GC runs on 1.9 | Gonçalo Silva | 2010-06-17 | 1 | -1/+12 |
| | | |||||
| * | ruby's GC doesn't support collections and heap_info, RubyProf can handle it | Gonçalo Silva | 2010-06-17 | 1 | -8/+0 |
| | | |||||
| * | GC at 1.9.X doesn't have malloc_allocated_size, remove support for it | Gonçalo Silva | 2010-06-17 | 1 | -12/+0 |
| | | |||||
| * | removed support for 1.8's GC alternative hacks (railsbench and lloyd ↵ | Gonçalo Silva | 2010-06-17 | 1 | -25/+0 |
| | | | | | | | | patches). RubyProf can handle it | ||||
| * | check if the data method is defined (meaning it's correctly patched) | Gonçalo Silva | 2010-06-17 | 1 | -4/+4 |
| | | |||||
| * | the official profiler (present in 1.9) should have the highest priority | Gonçalo Silva | 2010-06-17 | 1 | -31/+31 |
| | | |||||
| * | don't set cpu_frequency if RubyProf resolved it | Gonçalo Silva | 2010-06-17 | 1 | -2/+2 |
| | | |||||
| * | when the timezone is nil, a TimeWithZone object should not be constructed. ↵ | Aaron Patterson | 2010-06-17 | 3 | -0/+11 |
| | | | | | | | | | | | | [#4881 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |