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 |
|
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
|
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
|
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
|
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 |
|
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
|
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
|
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 |
|
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 |
|
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 |
|
David Heinemeier Hansson
|
34b0811125
|
Added Array#extract_options! to encapsulate the pattern of getting an options hash out of a variable number of parameters (closes #8759) [norbert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-07-24 14:17:09 +00:00 |
|
Michael Koziarski
|
1eb79bcc3b
|
Let alias_attribute work with attributes with initial capital letters (legacy columns etc). Closes #8596 [mpalmer]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-07-19 10:09:40 +00:00 |
|
Tobias Lütke
|
187e1f85d0
|
Support for non heterogeneous arrays when serializing to xml. Unless guessable from array name the type name will be included as attribute
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-07-09 22:07:39 +00:00 |
|
David Heinemeier Hansson
|
cb23816960
|
Added Hash#except which is the inverse of Hash#slice -- return the hash except the keys that are specified [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-07-09 21:49:37 +00:00 |
|
Jeremy Kemper
|
3aadfcef88
|
Improve various test coverage. Closes #8676 [kamal]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-25 18:22:31 +00:00 |
|
Rick Olson
|
9e4461438f
|
Added proper handling of arrays. Closes #8537 [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-21 15:07:15 +00:00 |
|
Jeremy Kemper
|
594581685e
|
Oh please. References #8646.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-14 01:59:27 +00:00 |
|
Jeremy Kemper
|
164a9ea4c7
|
Maybe passing an explicit offset mollifies CIA. References #8646.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-14 01:28:00 +00:00 |
|
Jeremy Kemper
|
50861013c2
|
Improve Time and Date test coverage. Closes #8646.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-14 01:17:42 +00:00 |
|
Jeremy Kemper
|
29ce2eb9d1
|
Clean up junk test. Closes #7973 [Rob Sanheim]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-08 22:19:15 +00:00 |
|
Rick Olson
|
ed1ed9ed97
|
revert [6924]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-05 14:09:15 +00:00 |
|
Jeremy Kemper
|
1b32a305df
|
Add Date#since, ago, beginning_of_day, and end_of_day. Date + seconds works now. Closes #8575.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-04 22:00:53 +00:00 |
|
Jeremy Kemper
|
4685fa0c20
|
String#to_time overflows to DateTime. Add String#to_datetime. Closes #8572.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-04 19:49:13 +00:00 |
|
Jeremy Kemper
|
601778e38a
|
Date.yesterday and .tomorrow. Closes #8571.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-04 18:14:42 +00:00 |
|
Jeremy Kemper
|
1312259294
|
Readable Date and DateTime#inspect. Closes #8570.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-04 17:49:43 +00:00 |
|
David Heinemeier Hansson
|
846e858727
|
Added proper handling of arrays (closes #8537) [hasmanyjosh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-01 06:48:09 +00:00 |
|
Jeremy Kemper
|
507da04a14
|
Move common DateTime calculations to Date. Closes #8536.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-06-01 04:03:46 +00:00 |
|
David Heinemeier Hansson
|
ff5c7c8c40
|
Added Date#change (like Time#change) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-31 16:37:09 +00:00 |
|
Jeremy Kemper
|
962b12fb9f
|
Fix imprecise duration addition test. Closes #8516 [Geoff Buesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-30 07:21:14 +00:00 |
|
Jeremy Kemper
|
b7d2dae6dc
|
DateTime#to_time converts to Time unless out of range. Date#to_datetime and Date#to_s(:rfc822). Closes #8512.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-30 06:24:32 +00:00 |
|
Jeremy Kemper
|
6503da6991
|
Time durations use since instead of + for accuracy. Closes #8513.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-30 06:21:08 +00:00 |
|
Jeremy Kemper
|
77eb0a8493
|
Fix chained duration operation tests. Closes #8489 [Geoff Buesing]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-27 23:12:07 +00:00 |
|
Jeremy Kemper
|
652fe645f6
|
Array#to_xml yields the builder just like Hash and ActiveRecord::Base. Closes #8472.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 06:20:07 +00:00 |
|
Jeremy Kemper
|
66bde4ca52
|
DateTime uses Time formats. Closes #8476.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6854 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-26 01:07:25 +00:00 |
|
Jeremy Kemper
|
ad4f1fd630
|
Date, Time, and DateTime support formatting blocks in addition to strftime strings. Introduce :long_ordinal format, e.g. 'February 21st, 2005'. Closes #8191.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6844 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-25 21:43:19 +00:00 |
|