Michael Koziarski
|
b3d9e2372b
|
Documentation for assert_valid_keys. Closes #7264 [tarmo, rsanheim]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-08 03:30:51 +00:00 |
|
Jeremy Kemper
|
c90d31eb37
|
Correct BufferedLogger#level? checks. Closes #9806.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 18:54:36 +00:00 |
|
Jeremy Kemper
|
2101c25faf
|
Reference current fast_xs URL
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7774 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 09:22:03 +00:00 |
|
Jeremy Kemper
|
845e6ff45a
|
String#to_xs uses the fast_xs extension if available for Builder speedup.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 09:15:26 +00:00 |
|
Jeremy Kemper
|
34b576700d
|
Introduce BasicObject as Builder::BlankSlate for Ruby 1.9 forward compatibility.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 01:07:00 +00:00 |
|
Jeremy Kemper
|
1f5c4365a7
|
Unbundle Builder in favor of a gem dependency.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-07 01:05:42 +00:00 |
|
Jeremy Kemper
|
58a5eef53e
|
Disambiguate Time, Date, and DateTime#to_json formatting. Closes #9750.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7746 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-05 09:43:24 +00:00 |
|
Jeremy Kemper
|
335c15005d
|
Bump versions for 1.2.4 release.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-05 05:20:37 +00:00 |
|
Jeremy Kemper
|
d0755b9814
|
Disabling auto_flushing still flushes when the buffer hits a maximum size, as a failsafe against memory-gobbling.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-04 19:52:10 +00:00 |
|
Jeremy Kemper
|
b1968708e1
|
Hash#to_json takes :only or :except options to specific or omit certain hash 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
|
2007-10-04 03:28:42 +00:00 |
|
Jeremy Kemper
|
f2d7e51da2
|
Explicitly convert the buffer array to a string before writing to head off 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
|
2007-10-03 23:56:34 +00:00 |
|
Jeremy Kemper
|
748e6873c2
|
BufferedLogger#auto_flushing = N flushes the log every N messages. Buffers with an array instead of string.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-03 23:43:12 +00:00 |
|
Jeremy Kemper
|
0ee1cb2cd3
|
Ruby 1.9 compat, consistent load paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-02 05:32:14 +00:00 |
|
David Heinemeier Hansson
|
22dc11c6b1
|
Fixed Date#xmlschema for dates outside the range of what can be created with Time (closes #9744) [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-01 02:16:15 +00:00 |
|
David Heinemeier Hansson
|
6ca789bf00
|
Fixed that La Paz was included in -25200 and -14400 offsets when it should only be in -14400 (closes #9735) [bermi]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-30 22:56:37 +00:00 |
|
David Heinemeier Hansson
|
7275d2749c
|
Fixed JSON encoding to use quoted keys according to the JSON standard (closes #8762) [choonkat/chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-30 20:57:50 +00:00 |
|
Jeremy Kemper
|
6ea4dd4a65
|
Mark Test::Unit#assert_difference incompatibility with Ruby 2 due to Proc#binding usage
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-29 22:08:41 +00:00 |
|
Jeremy Kemper
|
85a08bd99e
|
Test::Unit#assert_difference Ruby 1.9 compat
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-29 21:29:34 +00:00 |
|
Jeremy Kemper
|
8f68804fba
|
JSON decoding Ruby 1.9 compat. Mark a section that's unnecessarily slow.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-29 21:27:29 +00:00 |
|
David Heinemeier Hansson
|
e3b49c052b
|
Fixed spelling errors (closes #9706) [tarmo/rmm5t]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 14:18:47 +00:00 |
|
Jeremy Kemper
|
ccb87e2f69
|
BufferedLogger#add converts the message to a string. Closes #9724.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-28 14:09:35 +00:00 |
|
Jeremy Kemper
|
5f4d121798
|
Dependencies Ruby 1.9 compat
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 11:01:20 +00:00 |
|
Jeremy Kemper
|
053d057a88
|
send -> send! for some private methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 10:41:12 +00:00 |
|
Jeremy Kemper
|
b01a7c69fc
|
Alias Object#send to send! for Ruby 1.9 forward compatibility.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 10:38:37 +00:00 |
|
Jeremy Kemper
|
935f821537
|
Object#copy_instance_variables_from Ruby 1.9 compat
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 10:13:50 +00:00 |
|
Jeremy Kemper
|
d96e38be99
|
Backport Object#instance_variable_defined? for Ruby < 1.8.6.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 09:26:46 +00:00 |
|
Jeremy Kemper
|
cd1f2d7b0e
|
Date/Time/DateTime Ruby 1.9 compat
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 08:49:18 +00:00 |
|
Jeremy Kemper
|
ae165361c3
|
Cleanup comment. References #9702, closes #9703.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 06:16:20 +00:00 |
|
Jeremy Kemper
|
6f06ac6e1a
|
BufferedLogger#add doesn't modify the message argument. Closes #9702.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 04:50:58 +00:00 |
|
David Heinemeier Hansson
|
6f0390c957
|
Add BufferedLogger#add #9667 [tomafro]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-25 16:41:46 +00:00 |
|
David Heinemeier Hansson
|
79a9c7a702
|
Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit 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
|
2007-09-25 03:47:37 +00:00 |
|
Jeremy Kemper
|
8e78a4542e
|
Object#instance_exec produces fewer garbage methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-24 23:00:42 +00:00 |
|
Rick Olson
|
2a60093fa3
|
Decode json strings as Dates/Times if they're using a YAML-compatible format. Closes #9614 [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-24 17:41:55 +00:00 |
|
Jeremy Kemper
|
ea45680118
|
Object.subclasses_of includes anonymous subclasses.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-23 01:09:20 +00:00 |
|
David Heinemeier Hansson
|
3dcae9fefd
|
Fixed that pluralizing an empty string should return the same empty string, not "s" (closes #7720) [josh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7569 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 18:34:43 +00:00 |
|
David Heinemeier Hansson
|
05f173e2c2
|
Added call to inspect on non-string classes for the logger (closes #8533) [codahale]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 18:25:30 +00:00 |
|
David Heinemeier Hansson
|
f336cf463c
|
Fixes rake annotations to search erb and builder files as well (closes #9150) [m.langenberg]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 17:52:11 +00:00 |
|
Jeremy Kemper
|
3a696dd290
|
Deprecation: remove deprecated :mday option from Time, Date, and DateTime#change.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-18 06:38:28 +00:00 |
|
Jeremy Kemper
|
71e33d9650
|
Fix JSON decoder with nested quotes and commas. Closes #9579.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-17 21:37:48 +00:00 |
|
Jeremy Kemper
|
6b68b215c2
|
Hash#to_xml doesn't double-unescape. Closes #8806.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-17 21:31:57 +00:00 |
|
David Heinemeier Hansson
|
c30c1808c0
|
Missing file from previous patch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-15 22:56:25 +00:00 |
|
David Heinemeier Hansson
|
3f29043f45
|
Added Array#rand (closes #9170) [norbert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-15 21:39:04 +00:00 |
|
Jeremy Kemper
|
041b9b8a1c
|
Some 1.9 forward compatibility
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-14 00:34:43 +00:00 |
|
Jeremy Kemper
|
e6941149ab
|
Deprecation: removed Reloadable.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-14 00:25:59 +00:00 |
|
Jeremy Kemper
|
c70fd5df7f
|
Remove unused HashCaching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-11 21:49:35 +00:00 |
|
Michael Koziarski
|
f0dbd22c46
|
Allow Float#round to take a precision argument. Closes #8626 [norbert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-02 23:54:08 +00:00 |
|
Michael Koziarski
|
73f72eeec2
|
Make the utf-handler return the correct value for non-matching regular expressions. Closes #9049 [manfred]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-08-05 00:51:16 +00:00 |
|
Michael Koziarski
|
fe3e03e770
|
Add ljust, rjust and center to utf8-handler. Closes #9165 [manfred]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-08-05 00:48:00 +00:00 |
|
Rick Olson
|
4b64110086
|
Fix Time#advance bug when trying to advance a year from leap day. Closes #8655 [gbuesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-08-03 00:34:19 +00:00 |
|
Marcel Molina
|
be196f3f7e
|
Add support for []= on ActiveSupport::Multibyte::Chars. Closes #9142. [ewan, manfred]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-07-31 04:59:10 +00:00 |
|