Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove more dead code from AS. | José Valim | 2011-12-20 | 1 | -18/+4 |
| | |||||
* | Just track "require" if we have something in the watching stack. | José Valim | 2011-12-06 | 1 | -1/+5 |
| | | | | | | | | A patch has been provided earlier and we have asked for feedback: https://gist.github.com/1437939 Except one case, all other cases showed improvements in boot time. | ||||
* | make method signatures match the superclass signature | Aaron Patterson | 2011-12-05 | 1 | -2/+2 |
| | |||||
* | return value is never tested, so stop calling `presence` | Aaron Patterson | 2011-12-05 | 1 | -1/+1 |
| | |||||
* | switch WatchStack to use composition, tighten up API | Aaron Patterson | 2011-11-30 | 1 | -6/+13 |
| | |||||
* | Revert "avoid hundreds of thousands of calls to (Symbol|String)#to_s" | Aaron Patterson | 2011-11-30 | 1 | -2/+2 |
| | | | | | Test coverage isn't comprehensive enough to catch what this breaks. :( This reverts commit 45dad592e47944704ab6951351b2fa29d4a2385f. | ||||
* | avoid hundreds of thousands of calls to (Symbol|String)#to_s | Aaron Patterson | 2011-11-30 | 1 | -2/+2 |
| | |||||
* | Rely solely on active_model_serializer and remove the fancy constant lookup. | José Valim | 2011-11-23 | 1 | -0/+1 |
| | |||||
* | Add safe_constantize to ActiveSupport::Dependencies. | José Valim | 2011-11-23 | 1 | -13/+20 |
| | |||||
* | Fixed typo: expect -> expected | Philip Arndt | 2011-11-18 | 1 | -1/+1 |
| | |||||
* | defines Module#qualified_const_(defined?|get|set) and String#deconstantize | Xavier Noria | 2011-10-29 | 1 | -6/+8 |
| | | | | | | | | | | This commit also implements a faster version of #demodulize I was unable to isolate with git add --patch. Not a big fan of the name #deconstantize. It complements #demodulize getting rid of the rightmost constant, hence the name, but it is unrelated to the well-known #constantize. So unsure. Could not come with anything better, please feel free to rename. | ||||
* | Fix autoload_once_paths when using Pathnames & ruby 1.9 | Jonathan del Strother | 2011-08-24 | 1 | -1/+2 |
| | | | | | | | Under ruby 1.9.2 - "/var/log".starts_with?(Pathname.new("/var")) # => false so setting config.autoload_once_paths with Pathnames would not work | ||||
* | `load` should also return the value from `super` | Aaron Patterson | 2011-08-23 | 1 | -1/+3 |
| | |||||
* | require needs to return true or false. thank you Ryan "zenspider" Davis | Aaron Patterson | 2011-08-23 | 1 | -1/+3 |
| | |||||
* | delay backtrace scrubbing until we actually raise an exception. fixes #1936 | Aaron Patterson | 2011-07-29 | 1 | -7/+4 |
| | |||||
* | Replace unnecessary regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-07-27 | 1 | -2/+1 |
| | |||||
* | Constantize a regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-07-26 | 1 | -1/+2 |
| | |||||
* | Remove obsolete compatibility module | Andrew White | 2011-06-13 | 1 | -11/+0 |
| | |||||
* | Raise NameError instead of ArgumentError in ActiveSupport::Dependencies | Andrew White | 2011-06-01 | 1 | -1/+1 |
| | | | | | | | | ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423 | ||||
* | Removed deprecated methods and related tests from ActiveSupport | Josh Kalderimis | 2011-05-25 | 1 | -23/+0 |
| | |||||
* | Remove extra white spaces on ActiveSupport docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Active Support typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | require deprecation so that we can deprecate methods! | Aaron Patterson | 2011-03-02 | 1 | -0/+1 |
| | |||||
* | anonymous classes have blank names on ruby 1.8 | Aaron Patterson | 2011-03-02 | 1 | -1/+1 |
| | |||||
* | adding deprecation noticies to deprecated class cache methods | Aaron Patterson | 2011-03-02 | 1 | -0/+13 |
| | |||||
* | adding backwards compat for class cache references. <3<3 | Aaron Patterson | 2011-03-02 | 1 | -1/+12 |
| | |||||
* | yo dawg, directly use the class cache rather than the cache of the cache | Aaron Patterson | 2011-03-01 | 1 | -5/+2 |
| | |||||
* | refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵ | Aaron Patterson | 2011-03-01 | 1 | -11/+32 |
| | | | | that anonymous classes are supported | ||||
* | Remove extra f | Ryan Bigg | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | replace if ! with unless | Neeraj Singh | 2010-10-17 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Reference watch_namespaces in comments instead of watch_modules | Marcelo Giorgi | 2010-09-13 | 1 | -3/+3 |
| | |||||
* | 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 |
| |