aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/dependencies.rb
Commit message (Expand)AuthorAgeFilesLines
* Replaced `ThreadSafe::Map` with successor `Concurrent::Map`.Jerry D'Antonio2015-09-191-2/+2
* 10X speed improvements for AS::Dependencies.loadable_constants_for_pathJean Boussier2015-08-271-5/+5
* Merge pull request #20928 from matthewd/unload-interlockMatthew Draper2015-07-241-1/+8
|\
| * We need stricter locking before we can unloadMatthew Draper2015-07-201-1/+8
* | Don't apply locking around basic #load / #requireMatthew Draper2015-07-231-6/+4
|/
* Freeze string literals when not mutated.schneems2015-07-191-3/+3
* Document ShareLock and the InterlockMatthew Draper2015-07-091-3/+20
* Soften the lock requirements when eager_load is disabledMatthew Draper2015-07-091-34/+47
* let dependencies use Module#const_defined?Xavier Noria2015-01-281-2/+2
* Remove some comments about Ruby 1.9 behaviorsRafael Mendonça França2015-01-041-1/+1
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* dependencies.rb: keep the decorated #load and #require private [closes #17553]Xavier Noria2014-11-101-13/+18
* fixes circularity check in dependenciesXavier Noria2014-10-251-1/+9
* Fix a bug where NameError#name returns a qualified name in stringYuki Nishijima2014-06-241-2/+2
* Add regression test for NameError#nameArthur Neves2014-06-201-1/+1
* Make dependencies.rb add a name to NameErrorArthur Neves2014-06-201-4/+4
* [ci skip] Improve doc for ModuleConstMissing.guess_for_anonymousAkshay Vishnoi2014-05-241-4/+5
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-02-091-1/+2
|\
| * Specify what #starts_with? we're talking about. Also added a note whatZachary Scott2014-02-091-1/+2
* | Fixed an issue where reloading of removed dependencies would cause an unexpec...Noah Lindner2014-02-081-0/+8
|/
* better error message for constants autoloaded from anonymous modules [fixes #...Xavier Noria2013-12-061-7/+13
* Add missed require making `enable_warnings` availableDmitry Vorotilin2013-10-151-0/+1
* revises the docs of require_dependency [ci skip]Xavier Noria2013-10-011-1/+9
* Merge pull request #12412 from bf4/allow_pathname_for_require_dependencyXavier Noria2013-09-301-1/+3
|\
| * require_dependency should allow Pathname-like objects, not just StringBenjamin Fleischer2013-09-301-1/+3
* | Ensure all-caps nested consts marked as autoloadedSimon Coffey2013-08-271-1/+1
* | we only support 1.9+, so just check for a nameAaron Patterson2013-06-171-1/+1
* | be consistent about parameter types passed to new_constants_inAaron Patterson2013-06-171-1/+1
* | Don't blindly call blame_file! on exceptions in ActiveSupport::Dependencies::...Andrew Kreiling2013-06-091-1/+1
|/
* Replace some global Hash usages with the new thread safe cache.thedarkone2012-12-141-1/+2
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-041-3/+3
* prevent Dependencies#remove_const from autoloading parents [fixes #8301]Xavier Noria2012-11-281-32/+44
* let remove_constant still delete Kernel#autoload constants [rounds #8213]Xavier Noria2012-11-151-10/+22
* dependencies no longer trigger Kernel#autoload in remove_const [fixes #8213]Xavier Noria2012-11-151-13/+31
* update AS docs [ci skip]Francesco Rodriguez2012-09-171-36/+43
* we already have the module objects, do not constantizeXavier Noria2012-09-061-2/+6
* restores awesome commentXavier Noria2012-09-061-0/+19
* no more const_missing combinatoricsXavier Noria2012-09-061-41/+2
* revised the exception message "Expected #{file_path} to define #{qualified_na...Xavier Noria2012-09-041-1/+1
* fixes a regexpXavier Noria2012-08-291-1/+1
* detect circular constant autoloadingXavier Noria2012-08-281-4/+11
* fixes a bug in dependencies.rbXavier Noria2012-08-281-1/+1
* simplifies yet another regexpXavier Noria2012-08-251-1/+1
* instead of returning $& if =~ succeeds, use String#[]Xavier Noria2012-08-251-1/+1
* simplifies a regexpXavier Noria2012-08-251-1/+1
* simplifies a regexpXavier Noria2012-08-241-1/+1
* Revert "removes unused optional argument in AS::Dependencies::Loadable#load"Xavier Noria2012-08-201-1/+1
* removes unused optional argument in AS::Dependencies::Loadable#loadXavier Noria2012-08-201-1/+1
* removes the second argument of the AS const_missing hookXavier Noria2012-08-191-8/+22
* no need for AS::Dependencies.(hook!|unhook!) to return anything in particularXavier Noria2012-08-191-2/+0