Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add before_remove_const callback to ↵ | Andrew White | 2010-09-01 | 1 | -0/+11 |
| | | | | | | ActiveSupport::Dependencies.remove_unloadable_constants! Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Sadly, this segv's in 1.8 :( | wycats | 2010-08-17 | 1 | -5/+5 |
| | |||||
* | This is for making sure const_missing is triggered without warnings | Santiago Pastorino | 2010-07-26 | 1 | -4/+6 |
| | |||||
* | Fix a bug where requires inside of autoloads were being added to the ↵ | wycats | 2010-07-26 | 1 | -0/+49 |
| | | | | autoloaded_constants list, causing mayhem. [#5165 state:resolved] | ||||
* | Removes unused vars | Santiago Pastorino | 2010-07-24 | 1 | -2/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Makes restore previosly saved warnings_on_first_load value and avoid warning | Santiago Pastorino | 2010-07-24 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 1 | -18/+18 |
| | |||||
* | ActiveSupport::Dependencies.constantize shortcut for caching named constant ↵ | Jeremy Kemper | 2010-06-05 | 1 | -0/+6 |
| | | | | lookups | ||||
* | Optimize LookupContext | wycats | 2010-06-04 | 1 | -0/+15 |
| | |||||
* | 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> | ||||
* | Make dependencies_test pass running standalone [#4215 state:resolved] | Santiago Pastorino and Sebastian Martinez | 2010-03-18 | 1 | -1/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Simplify dependencies.rb some. Remove alias of Kernel::Foo to Object::Foo as ↵ | Yehuda Katz | 2010-02-14 | 1 | -11/+6 |
| | | | | it was not used and breaks Ruby semantics. | ||||
* | Since require_dependency cannot be cleared, remove the dependencies | Yehuda Katz | 2010-02-10 | 1 | -0/+5 |
| | |||||
* | removes Module#as_load_path, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -5/+0 |
| | |||||
* | Symbol#to_proc is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -1/+0 |
| | |||||
* | Fix failing dependencies test relying on . being in LOAD_PATH | Jeremy Kemper | 2009-08-09 | 1 | -2/+4 |
| | |||||
* | Extract repetitive method | Jeremy Kemper | 2009-08-09 | 1 | -33/+37 |
| | |||||
* | Uses &:foo | Jeremy Kemper | 2009-08-09 | 1 | -0/+1 |
| | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 1 | -0/+2 |
| | |||||
* | Opt in to Dependencies | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 |
| | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -11/+11 |
| | | | | [#1617 state:resolved] | ||||
* | Only track new constant definitions when we're reloading dependencies | Jeremy Kemper | 2008-11-10 | 1 | -5/+5 |
| | |||||
* | Remove stuff that was deprecated in 2-1-stable | Pratik Naik | 2008-10-21 | 1 | -1/+0 |
| | |||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 1 | -9/+9 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Added config.dependency_loading to enable or disable the dependency loader ↵ | Joshua Peek | 2008-07-24 | 1 | -0/+12 |
| | | | | after initialization | ||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 1 | -120/+120 |
| | | | | ActiveSupport [#238 state:resolved] | ||||
* | Fixed Dependencies so load errors are not masked behind a 'Expected x.rb to ↵ | Tom Ward | 2008-05-31 | 1 | -6/+14 |
| | | | | | | define X' message when mechanism is not set to :load [#87 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix Dependencies watch_frames collection. [#24 state:resolved] | Tom Ward | 2008-05-20 | 1 | -0/+6 |
| | | | | | | | | | | Previously, the code collecting watch_frames could fail leaving watch_frames defined but nil. The cleanup code checks watch_frames is defined, but not that it holds a value, raising an undefined method on NilClass error rather than the original cause. This can make debugging the underlying cause a total pain. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | remove some more absolute requires | Jeremy Kemper | 2008-01-05 | 1 | -5/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Dependencies Ruby 1.9 compat | Jeremy Kemper | 2007-09-27 | 1 | -31/+30 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update Dependencies to ignore constants inherited from ancestors. Closes #6951. | Nicholas Seckar | 2007-03-14 | 1 | -0/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | tighten test_load_once_paths_should_behave_when_recursively_loading | Jeremy Kemper | 2007-01-01 | 1 | -2/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Check for nil name also. Closes #6561. | Jeremy Kemper | 2006-12-31 | 1 | -1/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix Dependencies.autoloaded? to ignore anonymous modules. Closes #6561. | Nicholas Seckar | 2006-12-31 | 1 | -1/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5811 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Checkin failing test case related to load once paths | Nicholas Seckar | 2006-12-24 | 1 | -0/+28 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix remove_constant to correctly handle constant names of the form ↵ | Nicholas Seckar | 2006-12-09 | 1 | -0/+11 |
| | | | | | | "::A::...". References #6720. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Test autoloading nested subclass of parent. | Jeremy Kemper | 2006-11-16 | 1 | -0/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update dependencies to delete partially loaded constants. | Nicholas Seckar | 2006-11-07 | 1 | -2/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update failing autoload tests. | Jeremy Kemper | 2006-11-07 | 1 | -8/+18 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix warning and incorrect test trigger | Nicholas Seckar | 2006-11-06 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Failing test for autoloading shadowed exceptions. | Jeremy Kemper | 2006-11-06 | 1 | -83/+122 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update dependencies to allow constants to be defined alongside their siblings. | Nicholas Seckar | 2006-11-01 | 1 | -0/+147 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add 'unloadable', a method used to mark any constant as requiring an unload ↵ | Nicholas Seckar | 2006-10-15 | 1 | -0/+30 |
| | | | | | | after each request. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix loadable_constants_for_path to handle load paths that do not end with a ↵ | Nicholas Seckar | 2006-09-06 | 1 | -0/+7 |
| | | | | | | slash. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix logic error in determining what was loaded by a given file. Closes #6039. | Nicholas Seckar | 2006-09-05 | 1 | -0/+18 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Equate Kernel.const_missing with Object.const_missing. Fixes #5988. | Nicholas Seckar | 2006-09-05 | 1 | -0/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add ApplicationController special case to Dependencies. | Nicholas Seckar | 2006-09-02 | 1 | -1/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update Initializer to use load_once_paths to avoid plugin reloading. ↵ | Nicholas Seckar | 2006-08-29 | 1 | -24/+41 |
| | | | | | | | | | References #5852. Add Dependencies.load_once_paths. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add tests for prior checkin | Nicholas Seckar | 2006-08-17 | 1 | -1/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |