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
|
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
|
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
|
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
|
d9dac76f53
|
Some platforms include colon in timezone offset, some don't. References #9744.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-10-03 23:54:45 +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
|
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
|
63eb9cae14
|
Ruby 1.9 compat for hash_ext_test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-29 22:33:17 +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 |
|
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
|
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
|
8886036867
|
Convert the Ruby 1.9 enumerator to an array
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 10:25:51 +00:00 |
|
Jeremy Kemper
|
42bc9b3b16
|
Mark String#each_char test failing with Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 10:21:39 +00:00 |
|
Jeremy Kemper
|
db9b2f5c22
|
Extract InflectorTestCases so both inflector and string inflections tests can use them.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 10:19:48 +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
|
f3560d5a95
|
Mark another Duration test failing with Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 09:54:43 +00:00 |
|
Jeremy Kemper
|
d4e164f670
|
Prefer class_eval with block to many sends for Ruby 1.9 compat
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 09:52:15 +00:00 |
|
Jeremy Kemper
|
c81bd19b13
|
Hax to workaround private send for Ruby 1.9. Consider moving to send! and aliasing to send for < 1.9.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7651 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 09:37:45 +00:00 |
|
Jeremy Kemper
|
e36b9b95fe
|
Use instance_variable_defined? instead of instance_variables.include? to 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
|
2007-09-27 09:27:37 +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
|
7974f4752b
|
Mark Duration test failing with Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 08:54:31 +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
|
7faeb0db07
|
Change test for ruby 1.9 crash
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-27 08:09:14 +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
|
106b236824
|
Include the tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-25 16:48:50 +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
|
32b31a2d0d
|
More tests (closes #7066) [sethladd]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 23:21:35 +00:00 |
|
David Heinemeier Hansson
|
953de118db
|
Improve tests (closes #7166) [zackchandler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 23:12:24 +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
|
15467a43f5
|
Fix tests across DST (closes #9020) [mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-22 17:58:31 +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
|
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
|
8a9f43ecbb
|
Fix activesupport atomic_write tests when Dir.tmpdir is on another partition. Closes #8573 [tpope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-06 03:26:14 +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 |
|