aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Style update for new Range extensionsJeremy Kemper2007-10-095-32/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash is ordered in Ruby 1.9Jeremy Kemper2007-10-091-17/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Add Range#overlaps?(range), Range#include?(range), and Range#step without ↵Michael Koziarski2007-10-086-0/+122
| | | | | | a block. [brandon] Closes #9746 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7800 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for assert_valid_keys. Closes #7264 [tarmo, rsanheim]Michael Koziarski2007-10-081-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Builder unbundle message directs to Bulk updating Gem source index for: ↵Jeremy Kemper2007-10-081-0/+7
| | | | | | http://gems.rubyforge.org git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct BufferedLogger#level? checks. Closes #9806.Jeremy Kemper2007-10-073-1/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reference current fast_xs URLJeremy Kemper2007-10-072-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* String#to_xs uses the fast_xs extension if available for Builder speedup.Jeremy Kemper2007-10-079-10/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility.Jeremy Kemper2007-10-074-3/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Unbundle Builder in favor of a gem dependency.Jeremy Kemper2007-10-078-724/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disambiguate Time, Date, and DateTime#to_json formatting. Closes #9750.Jeremy Kemper2007-10-055-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Bump versions for 1.2.4 release.Jeremy Kemper2007-10-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disabling auto_flushing still flushes when the buffer hits a maximum size, ↵Jeremy Kemper2007-10-043-12/+24
| | | | | | as a failsafe against memory-gobbling. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hash#to_json takes :only or :except options to specific or omit certain hash ↵Jeremy Kemper2007-10-0416-25/+52
| | | | | | keys. Enumerable#to_json passes through its options to each element. Closes #9751. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Explicitly convert the buffer array to a string before writing to head off ↵Jeremy Kemper2007-10-031-1/+1
| | | | | | compatibility issues with outputs that don't fully quack like an IO. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some platforms include colon in timezone offset, some don't. References #9744.Jeremy Kemper2007-10-032-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers ↵Jeremy Kemper2007-10-033-14/+65
| | | | | | with an array instead of string. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-0225-64/+70
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Date#xmlschema for dates outside the range of what can be created with ↵David Heinemeier Hansson2007-10-014-2/+32
| | | | | | Time (closes #9744) [gbuesing] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that La Paz was included in -25200 and -14400 offsets when it should ↵David Heinemeier Hansson2007-09-302-2/+4
| | | | | | only be in -14400 (closes #9735) [bermi] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JSON encoding to use quoted keys according to the JSON standard ↵David Heinemeier Hansson2007-09-305-44/+8
| | | | | | (closes #8762) [choonkat/chuyeow] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat for hash_ext_testJeremy Kemper2007-09-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated CHANGELOGs. They need to be filtered for duplicatesDavid Heinemeier Hansson2007-09-291-7/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mark Test::Unit#assert_difference incompatibility with Ruby 2 due to ↵Jeremy Kemper2007-09-292-33/+37
| | | | | | Proc#binding usage git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test::Unit#assert_difference Ruby 1.9 compatJeremy Kemper2007-09-291-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* JSON decoding Ruby 1.9 compat. Mark a section that's unnecessarily slow.Jeremy Kemper2007-09-291-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling errors (closes #9706) [tarmo/rmm5t]David Heinemeier Hansson2007-09-2811-12/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BufferedLogger#add converts the message to a string. Closes #9724.Jeremy Kemper2007-09-283-2/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dependencies Ruby 1.9 compatJeremy Kemper2007-09-272-42/+40
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* send -> send! for some private methodsJeremy Kemper2007-09-272-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Alias Object#send to send! for Ruby 1.9 forward compatibility.Jeremy Kemper2007-09-273-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Convert the Ruby 1.9 enumerator to an arrayJeremy Kemper2007-09-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mark String#each_char test failing with Ruby 1.9Jeremy Kemper2007-09-271-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract InflectorTestCases so both inflector and string inflections tests ↵Jeremy Kemper2007-09-274-217/+225
| | | | | | can use them. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Object#copy_instance_variables_from Ruby 1.9 compatJeremy Kemper2007-09-274-22/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mark another Duration test failing with Ruby 1.9Jeremy Kemper2007-09-271-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prefer class_eval with block to many sends for Ruby 1.9 compatJeremy Kemper2007-09-271-53/+72
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hax to workaround private send for Ruby 1.9. Consider moving to send! and ↵Jeremy Kemper2007-09-271-7/+7
| | | | | | aliasing to send for < 1.9. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7651 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use instance_variable_defined? instead of instance_variables.include? to ↵Jeremy Kemper2007-09-272-11/+11
| | | | | | account for string/symbol differences between 1.8 and 1.9 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backport Object#instance_variable_defined? for Ruby < 1.8.6.Jeremy Kemper2007-09-273-0/+17
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mark Duration test failing with Ruby 1.9Jeremy Kemper2007-09-271-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Date/Time/DateTime Ruby 1.9 compatJeremy Kemper2007-09-275-11/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change test for ruby 1.9 crashJeremy Kemper2007-09-271-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleanup comment. References #9702, closes #9703.Jeremy Kemper2007-09-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* BufferedLogger#add doesn't modify the message argument. Closes #9702.Jeremy Kemper2007-09-273-1/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include the testsDavid Heinemeier Hansson2007-09-251-0/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add BufferedLogger#add #9667 [tomafro]David Heinemeier Hansson2007-09-251-6/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit ↵David Heinemeier Hansson2007-09-254-0/+86
| | | | | | with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [DHH] Changed the default logger from Ruby's own Logger with the clean_logger extensions to ActiveSupport::BufferedLogger for performance reasons [DHH]. (You can change it back with config.logger = Logger.new(/path/to/log, level).) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Object#instance_exec produces fewer garbage methods.Jeremy Kemper2007-09-243-5/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Decode json strings as Dates/Times if they're using a YAML-compatible ↵Rick Olson2007-09-243-8/+29
| | | | | | format. Closes #9614 [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de