aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/dependencies
Commit message (Collapse)AuthorAgeFilesLines
* Improve the logic that detects non-autoloaded constantsJan Habermann2018-10-281-0/+8
| | | | | | | If you require `nokogiri` from `app/models/user.rb`, dependencies.rb does not mark `Nokogiri` as an autoloaded constant, as expected. But the logic to detect these non-autoloaded constants is incomplete. See the tests defined in the patch for some cases incorrectly handled.
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-1111-0/+11
|
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-0911-0/+11
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0211-11/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-0111-0/+11
|
* normalizes indentation and whitespace across the projectXavier Noria2016-08-064-4/+4
|
* applies new string literal convention in activesupport/testXavier Noria2016-08-066-10/+10
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Don't blindly call blame_file! on exceptions in ↵Andrew Kreiling2013-06-091-0/+5
| | | | | | | | | | | | ActiveSupport::Dependencies::Loadable It is possible under some environments to receive an Exception that is not extended with Blamable (e.g. JRuby). ActiveSupport::Dependencies::Loadable#load_dependency blindly call blame_file! on the exception which throws it's own NoMethodError exception and hides the original Exception. This commit fixes #9521
* Checkin failing test case related to load once pathsNicholas Seckar2006-12-241-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update Initializer to use load_once_paths to avoid plugin reloading. ↵Nicholas Seckar2006-08-292-0/+2
| | | | | | | | | 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 checkinNicholas Seckar2006-08-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New dependencies implementationNicholas Seckar2006-08-081-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Handle mutual dependencies with .rb suffix.Jeremy Kemper2005-11-282-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sever infinite loop for mutual dependencies. Closes #2997.Jeremy Kemper2005-11-243-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable warnings on first load only. File which are loaded but raise an ↵Jeremy Kemper2005-11-232-0/+4
| | | | | | exception are not added to loaded set. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved support from both Action Pack and Active Record into a separate module ↵David Heinemeier Hansson2004-12-292-0/+7
called Active Support that can be included using svn:externals in both git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de