aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/file_update_checker.rb
Commit message (Collapse)AuthorAgeFilesLines
* Initialize variables in file update checker to avoid warningsCarlos Antonio da Silva2012-04-051-0/+3
|
* the file update checker now also detects removed filesXavier Noria2012-04-031-24/+38
|
* Remove deprecation from AS::Deprecation behavior, some minor cleanupsCarlos Antonio da Silva2012-03-161-8/+5
| | | | | | | | | * Refactor log subscriber, use select! to avoid a new object * Remove deprecation messages related to AS::Deprecation behavior This was added about 2 years ago for Rails 3: https://github.com/rails/rails/commit/d4c7d3fd94e5a885a6366eaeb3b908bb58ffd4db * Remove some not used requires * Refactor delegate to avoid string conversions and if statements inside each block
* escape commas in paths before globbing to avoid infinite hang in Dir[]Jon Rowe2012-03-151-1/+5
|
* Remove Array.wrap calls in ActiveSupportRafael Mendonça França2012-01-061-2/+1
|
* FileUpdateChecker should be able to handle deleted files.José Valim2011-12-131-28/+45
|
* Clean up FileUpdateChecker API.José Valim2011-12-131-12/+13
|
* Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-121-10/+33
| | | | | | | | This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
* Provide a dir => extension API to file update checker.José Valim2011-12-121-2/+41
|
* Update checker returns a boolean if callback was executed or not.José Valim2011-12-121-0/+3
|
* Allow FileUpdateChecker to work with globs.José Valim2011-12-121-1/+3
|
* Use shorter class-level File methods instead of going through File.stat.thedarkone2011-07-251-1/+1
|
* Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Avoid calls to Rails::Application since this is not the official API.José Valim2010-07-011-6/+5
| | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
* Initialize @last_update_at in file_update_checker to hide warnings in AS ↵rohit2010-06-211-2/+2
| | | | | | test suite. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add ActiveSupport::FileUpdateChecker.José Valim2010-06-201-0/+37