Commit Graph

2130 Commits

Author SHA1 Message Date
Joshua Peek
6c8d852056 fix up activesupport test load paths 2010-02-28 18:16:57 -06:00
Yehuda Katz
1c9de08734 Escape the file name (who knows when a "(" might appear in a filename!) 2010-02-27 12:18:28 -08:00
Yehuda Katz
d8acaf2b66 Remove the noisy lines involving AS::Dependencies from the NameError stack trace if a constant cannot be found. 2010-02-27 11:51:19 -08:00
Santiago Pastorino
b4b158ee10 no more interpreted as grouped expression warnings on array_ext_test 2010-02-26 14:54:02 -08:00
Jeremy Kemper
66d537852b Bump i18n for new public I18n.normalize_keys 2010-02-25 15:06:11 -08:00
Jeremy Kemper
763f32ab47 metaclass deprecated in 2.3.6 2010-02-25 11:12:27 -08:00
Jeremy Kemper
0b87d114bd Missed singleton_class 2010-02-25 10:57:29 -08:00
Jeremy Kemper
f7b0a857e9 Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. 2010-02-25 09:32:29 -08:00
Jeremy Kemper
6b12d74026 Commented metaprogramming turned out to be noisier not clearer 2010-02-25 09:28:18 -08:00
Carlhuda
47498a7f59 Woops, forgot to actually add active_support/core_ext/file/path.rb 2010-02-23 17:42:26 -08:00
Carlhuda
24ab5665b2 Revert "Fix test load paths for those not using bundler"
This reverts commit eec2d301d4.

This commit broke tests. You cannot have a file called "bundler" on the load path.
2010-02-23 17:31:17 -08:00
Carlhuda
3345af61fb Fix streaming by having it create a File object, which can be handled by Rack servers as appropriate 2010-02-23 15:37:17 -08:00
José Valim
fed72b5842 Rename engines_load_path to railties_load_path. 2010-02-20 15:46:55 +01:00
Santiago Pastorino
e4b910f6a3 require publicize_conversion_method to ensure to_date and to_datetime became public before redefining them (avoid warnings) 2010-02-19 13:36:34 -08:00
Santiago Pastorino
7ad2c5c06f warning: instance variable @_const_missing not initialized fixed 2010-02-19 11:35:03 -08:00
Yehuda Katz
2f821a0a98 Fix test ordering bug related to introducing masked Name class 2010-02-19 10:31:51 -08:00
Yehuda Katz
2f98032fc9 Fix a problem where nil was appearing in the list 2010-02-19 10:12:04 -08:00
Yehuda Katz
e6ce856462 Git fail 2010-02-18 16:48:28 -08:00
Carl Lerche
ae8c384e2c Avoid calling triggering const_missing if const_missing is private when doing constantize 2010-02-18 16:29:32 -08:00
Yehuda Katz
98c299fba5 Don't constantize possible module names when looking for new constants unless they exist 2010-02-18 14:04:26 -08:00
Jeremy Kemper
cc852e2580 Use FileUtils.mv instead of rename to copy in case of cross-device links 2010-02-18 10:48:01 -08:00
José Valim
3f948a0e29 Merge master. 2010-02-17 00:48:04 +01:00
Yehuda Katz
762088a0ef Clear the attribute after done 2010-02-16 15:00:10 -08:00
Prem Sichanugrist
f0523f72b4 Rename Rails::Subscriber to Rails::LogSubscriber 2010-02-16 22:36:15 +01:00
Joshua Peek
546e319a5f CI has a bunch of duplicate load paths 2010-02-15 10:53:44 -06:00
Joshua Peek
4419497e40 Make sure AS test env doesn't have duplicate libs in load path 2010-02-15 10:38:39 -06:00
Joshua Peek
eec2d301d4 Fix test load paths for those not using bundler 2010-02-15 10:20:11 -06:00
Yehuda Katz
38eb2f1454 Right. 2010-02-14 12:13:37 -08:00
Yehuda Katz
411c15ed52 require Strings, not Symbols 2010-02-14 11:56:21 -08:00
Yehuda Katz
8e4363de72 Save off Module's const_missing, not Class' 2010-02-14 11:35:05 -08:00
Yehuda Katz
a1b60696e2 Missing require 2010-02-14 11:18:34 -08:00
Xavier Noria
b68f5f77e3 name.blank? -> anonymous? in a few places
Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
2010-02-14 11:09:22 -08:00
Xavier Noria
f7db067b12 adds a few missing requires in AS object.rb and module.rb
Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
2010-02-14 11:07:29 -08:00
Yehuda Katz
4da45060a2 Simplify dependencies.rb some. Remove alias of Kernel::Foo to Object::Foo as it was not used and breaks Ruby semantics. 2010-02-14 10:48:06 -08:00
Xavier Noria
a506bac586 fixes Module#anonymous? for 1.9 2010-02-11 23:58:15 +01:00
Xavier Noria
aa82bdf929 moves Class#reachable? to Module#reachable?, bases implementation on anonymous? and constantize, and adds test coverage 2010-02-11 23:41:16 +01:00
Xavier Noria
b8bb54af7f defines Module#anonymous? 2010-02-11 23:15:04 +01:00
Yehuda Katz
77f630d317 Since require_dependency cannot be cleared, remove the dependencies 2010-02-10 15:06:42 -08:00
Yehuda Katz
a3eaaf6b50 Fix a JSON ordering issue 2010-02-10 14:46:16 -08:00
Yehuda Katz
ff7db40464 No need to emulate default Ruby behavior in initialize 2010-02-10 14:40:36 -08:00
Yehuda Katz
bea38d64ee Don't rely on @message in Error classes being available for use 2010-02-10 14:40:36 -08:00
Jeremy Kemper
f84b4b4e5f Reinstate object/extending require too for Object.subclasses_of 2010-02-09 19:42:08 -08:00
Jeremy Kemper
d1938953f4 Reinstate Object.subclasses_of and Class#descendents for plugin compat.
This reverts commits 7d312e54ba, 5f981ff029, f85f5dfc8f, 245bfafe33, and ec7c642f5f
2010-02-09 18:20:57 -08:00
Jeremy Kemper
ad98f21c21 Merge remote branch 'fxn/master' 2010-02-08 11:37:56 -08:00
Mikel Lindsaar
5fe3dc4bf5 Adding ruby version spec to all gemspec files to at least 1.8.7
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-08 09:42:12 +01:00
Xavier Noria
cf9a52a7b6 removes Module#as_load_path, which is no longer used 2010-02-07 23:06:15 +01:00
Xavier Noria
afd2e19be3 removes Module#included_in_classes, which is no longer used 2010-02-07 23:03:13 +01:00
Jeremy Kemper
a1a6e54d14 Fix doc typo and update fast_xs URL. Thanks to Dmitrii Golub. 2010-02-07 11:42:24 -08:00
José Valim
345e0b274c Add backtrace cleaner on test unit railtie. 2010-02-07 13:45:47 +01:00
Jeremy Kemper
9423c2a7d8 Merge remote branch 'fxn/master' 2010-02-06 13:03:41 -08:00