Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor a bit dependencies logging | Carlos Antonio da Silva | 2010-09-05 | 1 | -4/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Improve dependencies by not calling constantize(const) twice while removing ↵ | Carlos Antonio da Silva | 2010-09-05 | 1 | -3/+4 |
| | | | | | | unloadable constants Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add before_remove_const callback to ↵ | Andrew White | 2010-09-01 | 1 | -1/+7 |
| | | | | | | ActiveSupport::Dependencies.remove_unloadable_constants! Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | 1.8 block variable shadowing strikes again | wycats | 2010-08-17 | 1 | -2/+2 |
| | |||||
* | Sadly, this segv's in 1.8 :( | wycats | 2010-08-17 | 1 | -38/+56 |
| | |||||
* | Revert "require_dependency should require using the normal mechanism if ↵ | José Valim | 2010-08-10 | 1 | -15/+7 |
| | | | | | | | possible to avoid double-requires" This was causing double requires since 991cd59a225b90ab1ba3 was reverted. This reverts commit 8bf79739b4219eb1d6464e6eb4853e92e81d7621. | ||||
* | Revert "If a file is in the load path, require it without its full path (in ↵ | José Valim | 2010-08-04 | 1 | -7/+2 |
| | | | | | | | | more places)" Caused failures in ActionMailer test suite. This reverts commit 991cd59a225b90ab1ba31867810b8fc0942713eb. | ||||
* | If a file is in the load path, require it without its full path (in more places) | wycats | 2010-08-04 | 1 | -2/+7 |
| | |||||
* | require_dependency should require using the normal mechanism if possible to ↵ | wycats | 2010-08-04 | 1 | -7/+15 |
| | | | | avoid double-requires | ||||
* | Fix a bug where requires inside of autoloads were being added to the ↵ | wycats | 2010-07-26 | 1 | -5/+12 |
| | | | | autoloaded_constants list, causing mayhem. [#5165 state:resolved] | ||||
* | Removes unused vars | Santiago Pastorino | 2010-07-24 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Avoid using Pathname on Resolver and AS::Dependencies. | José Valim | 2010-06-24 | 1 | -6/+15 |
| | |||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 1 | -12/+12 |
| | |||||
* | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-15 | 1 | -1/+1 |
|\ | |||||
| * | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -1/+1 |
| | | |||||
* | | Remove String#constantize deps | Jeremy Kemper | 2010-06-11 | 1 | -1/+1 |
|/ | |||||
* | Clear const references all at once | Jeremy Kemper | 2010-06-05 | 1 | -6/+9 |
| | |||||
* | ActiveSupport::Dependencies.constantize shortcut for caching named constant ↵ | Jeremy Kemper | 2010-06-05 | 1 | -3/+9 |
| | | | | lookups | ||||
* | Optimize LookupContext | wycats | 2010-06-04 | 1 | -0/+23 |
| | |||||
* | refactor evals and adds some __FILE__ and __LINE__ | Santiago Pastorino | 2010-05-20 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Escape the file name (who knows when a "(" might appear in a filename!) | Yehuda Katz | 2010-02-27 | 1 | -1/+1 |
| | |||||
* | Remove the noisy lines involving AS::Dependencies from the NameError stack ↵ | Yehuda Katz | 2010-02-27 | 1 | -0/+3 |
| | | | | trace if a constant cannot be found. | ||||
* | warning: instance variable @_const_missing not initialized fixed | Santiago Pastorino | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | Fix a problem where nil was appearing in the list | Yehuda Katz | 2010-02-19 | 1 | -4/+6 |
| | |||||
* | Git fail | Yehuda Katz | 2010-02-18 | 1 | -1/+0 |
| | |||||
* | Don't constantize possible module names when looking for new constants ↵ | Yehuda Katz | 2010-02-18 | 1 | -0/+1 |
| | | | | unless they exist | ||||
* | Right. | Yehuda Katz | 2010-02-14 | 1 | -1/+4 |
| | |||||
* | require Strings, not Symbols | Yehuda Katz | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | Save off Module's const_missing, not Class' | Yehuda Katz | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | Missing require | Yehuda Katz | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | name.blank? -> anonymous? in a few places | Xavier Noria | 2010-02-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local> | ||||
* | Simplify dependencies.rb some. Remove alias of Kernel::Foo to Object::Foo as ↵ | Yehuda Katz | 2010-02-14 | 1 | -190/+135 |
| | | | | it was not used and breaks Ruby semantics. | ||||
* | Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵ | Yehuda Katz | 2010-01-19 | 1 | -1/+1 |
| | | | | nil!) | ||||
* | Ruby 1.9.2: work around changes to flatten and nil.to_str | Jeremy Kemper | 2009-11-08 | 1 | -1/+1 |
| | |||||
* | Simplify helper use of ActiveSupport::Dependencies, and use super better for ↵ | Yehuda Katz + Carl Lerche | 2009-06-10 | 1 | -5/+10 |
| | | | | in #helpers | ||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -3/+5 |
| | |||||
* | Opt in to Dependencies | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | Explicit dependency on Module extensions | Jeremy Kemper | 2009-03-28 | 1 | -0/+3 |
| | |||||
* | Hack in env variable setting for Dependencies.mechanism | Jeremy Kemper | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | Narrow dependencies | Jeremy Kemper | 2009-03-26 | 1 | -1/+1 |
| | |||||
* | Explicit NameError dependency | Jeremy Kemper | 2009-03-26 | 1 | -0/+1 |
| | |||||
* | Explicit dependency on Inflector and Object#blank? | Jeremy Kemper | 2009-03-24 | 1 | -4/+6 |
| | |||||
* | Explicitly require set | Jeremy Kemper | 2009-03-21 | 1 | -0/+2 |
| | |||||
* | Ensure constant_watch_stack is protected by a mutex, so concurrent requires ↵ | Charles Nutter | 2009-01-30 | 1 | -5/+14 |
| | | | | | | | | do not corrupt it. [#1816 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Properly parenthasize calls to defined?(Rails) in 75fa82418 [#1563 ↵ | Frederick Cheung | 2008-12-15 | 1 | -1/+1 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Prefer Rails.logger over RAILS_DEFAULT_LOGGER | Joshua Peek | 2008-12-10 | 1 | -3/+3 |
| | |||||
* | alternative resolution to vendor load problem | Matt Jones | 2008-11-20 | 1 | -21/+22 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | add vendor/ back to load paths; catch errors in constant loading | Matt Jones | 2008-11-18 | 1 | -15/+19 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | BACKWARDS INCOMPATIBLE: Renamed application.rb to application_controller.rb ↵ | David Heinemeier Hansson | 2008-11-17 | 1 | -5/+1 |
| | | | | and removed all the special casing that was in place to support the former. You must do this rename in your own application when you upgrade to this version [DHH] | ||||
* | Only track new constant definitions when we're reloading dependencies | Jeremy Kemper | 2008-11-10 | 1 | -2/+10 |
| |