Jeremy Kemper
|
615d05f5de
|
Test autoloading nested subclass of parent.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-16 22:50:46 +00:00 |
|
Marcel Molina
|
309a6bd550
|
Add Module#attr_accessor_with_default to initialize value of attribute before setting it. Closes #6538. [Stuart Halloway, Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-16 19:35:13 +00:00 |
|
Jeremy Kemper
|
b97ffa2a4f
|
Hash#to_xml handles keys with the same name as Kernel methods. Closes #6613.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-14 09:08:40 +00:00 |
|
Sam Stephenson
|
2516063f61
|
Don't quote hash keys in Hash#to_json if they're valid JavaScript identifiers.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-11 18:25:26 +00:00 |
|
Nicholas Seckar
|
ad06514257
|
Update dependencies to delete partially loaded constants.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-07 20:45:36 +00:00 |
|
Jeremy Kemper
|
e1140f876e
|
Update failing autoload tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-07 20:29:50 +00:00 |
|
Nicholas Seckar
|
a7d0e0e011
|
Fix warning and incorrect test trigger
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-06 23:45:39 +00:00 |
|
Jeremy Kemper
|
07c51829ab
|
Failing test for autoloading shadowed exceptions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-06 19:23:30 +00:00 |
|
Jeremy Kemper
|
9a39a86f65
|
Test multiple timezones' DST. Closes #5617.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-03 00:40:34 +00:00 |
|
Jeremy Kemper
|
6770c8d7fa
|
Use US timezone for DST tests. Closes #5617.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-02 20:36:06 +00:00 |
|
Jeremy Kemper
|
5ba85d84fb
|
next_week respects DST changes. Closes #5617, closes #2353, closes #2509, references #4551.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-02 01:52:11 +00:00 |
|
Nicholas Seckar
|
5cc682da07
|
Update dependencies to allow constants to be defined alongside their siblings.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-01 23:21:13 +00:00 |
|
Jeremy Kemper
|
0f5f05b51e
|
next_week respects DST changes. Closes #6483.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-24 23:35:27 +00:00 |
|
Jamis Buck
|
3a318970b1
|
Extend deprecate so that alternatives can be specified via the deprecation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-24 16:56:59 +00:00 |
|
Michael Koziarski
|
911f3db00a
|
Ensure Chars#tidy_bytes only tidies broken bytes. Closes #6397 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-17 08:29:16 +00:00 |
|
Nicholas Seckar
|
497b5dcf19
|
Add 'unloadable', a method used to mark any constant as requiring an unload after each request.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-15 23:32:31 +00:00 |
|
Nicholas Seckar
|
4257fd6970
|
Rename overlapping test names
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5302 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-14 20:27:29 +00:00 |
|
Jamis Buck
|
d73f32ce00
|
make sure the String::Access methods return strings, and not multibyte Char instances
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-13 20:27:46 +00:00 |
|
Michael Koziarski
|
48cef84150
|
Make core_ext/string/access.rb multibyte safe. Closes #6388 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-12 21:03:32 +00:00 |
|
Michael Koziarski
|
cb927c8774
|
Make String#chars slicing behaviour consistent with String. Closes #6387 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5286 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-12 21:00:34 +00:00 |
|
Michael Koziarski
|
e899190826
|
Pull in latest multibyte patch. Closes #6346 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-04 09:03:57 +00:00 |
|
Michael Koziarski
|
f238d495b7
|
Add ActiveSupport::Multibyte. Provides String#chars which lets you deal with strings as a sequence of chars, not of bytes. Closes #6242 [Julian Tarkhanov, Manfred Stienstra & Jan Behrens]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-03 23:45:32 +00:00 |
|
Rick Olson
|
928c84b65b
|
Fix issue with #class_inheritable_accessor saving updates to the parent class when initialized with an Array or Hash [mojombo]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-02 19:12:57 +00:00 |
|
Jeremy Kemper
|
cb978baafa
|
Hash#to_xml supports Bignum and BigDecimal. Closes #6313.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-29 22:23:16 +00:00 |
|
Rick Olson
|
d6925b14fa
|
Don't undefine #class in OptionMerger [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-27 18:46:46 +00:00 |
|
David Heinemeier Hansson
|
54c393f5fa
|
Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist until Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-20 09:34:29 +00:00 |
|
Jeremy Kemper
|
d0c000ab9e
|
assert_deprecated returns result of block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 05:54:18 +00:00 |
|
Jeremy Kemper
|
069b0eaf0b
|
assert_deprecated matches any warning caught in block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 03:56:25 +00:00 |
|
Jeremy Kemper
|
643571ca25
|
alias_method_chain yields method target and punctuation to simplify wrapper method definition. Used by the deprecate module method.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-15 03:42:54 +00:00 |
|
Jeremy Kemper
|
74f60c032e
|
alias_method_chain works with accessor= methods also. Closes #6153.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-12 07:10:43 +00:00 |
|
Nicholas Seckar
|
93659978d5
|
Fix loadable_constants_for_path to handle load paths that do not end with a slash.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-06 20:31:28 +00:00 |
|
Nicholas Seckar
|
7441b19d0c
|
Fix logic error in determining what was loaded by a given file. Closes #6039.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-05 23:36:14 +00:00 |
|
Nicholas Seckar
|
1d554b84f8
|
Equate Kernel.const_missing with Object.const_missing. Fixes #5988.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-05 22:36:28 +00:00 |
|
Jeremy Kemper
|
9f3ba03bc7
|
reloadable deprecation tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4979 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 06:02:16 +00:00 |
|
Jeremy Kemper
|
7269b086e1
|
silenced writer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 05:55:55 +00:00 |
|
Jeremy Kemper
|
be54075956
|
set ActiveSupport::Deprecation.debug = true to see backtraces for deprecation callers. off by default. on for Rails tests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 03:38:13 +00:00 |
|
Jeremy Kemper
|
23d579b262
|
Quiet while testing, you.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 02:57:40 +00:00 |
|
Jeremy Kemper
|
29cec6d0ab
|
get deprecation methods and callers straight
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-04 00:17:01 +00:00 |
|
Nicholas Seckar
|
6fcc81b7f9
|
Add forgotten file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 19:39:08 +00:00 |
|
Jeremy Kemper
|
5dfec7b217
|
More tests for alias_method_chain with feature and method punctuation. Closes #4954.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-03 18:39:35 +00:00 |
|
Nicholas Seckar
|
26f28e7cfa
|
Add ApplicationController special case to Dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-02 21:13:30 +00:00 |
|
Marcel Molina
|
9db407f578
|
Don't pad remaining places with in_groups_of if specified padding value is false. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4900 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-02 18:02:36 +00:00 |
|
Rick Olson
|
e4a4287c97
|
Fix cases where empty xml nodes weren't being translated to nil in Hash.create_from_xml [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-01 16:09:18 +00:00 |
|
Jeremy Kemper
|
12ff554cd4
|
Tighten rescue clauses. Closes #5985.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-31 03:16:28 +00:00 |
|
Jeremy Kemper
|
965ae90bc6
|
Eliminate Active Support warnings.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 08:24:04 +00:00 |
|
Nicholas Seckar
|
68c9c93118
|
Update Initializer to use load_once_paths to avoid plugin reloading. References #5852.
Add Dependencies.load_once_paths.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-29 06:52:39 +00:00 |
|
Thomas Fuchs
|
bb531a946d
|
Fix unit tests for JSON emitters
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-20 17:27:28 +00:00 |
|
Nicholas Seckar
|
4584376a91
|
Add tests for prior checkin
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 17:32:23 +00:00 |
|
Nicholas Seckar
|
924ef18d4b
|
Detect missing_constants calls from removed modules and fail accordingly.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-17 03:35:36 +00:00 |
|
Nicholas Seckar
|
2b37d59976
|
Fix const_missing to behave responsibly when called within anonymous modules
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-16 20:54:25 +00:00 |
|