aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/file_update_checker.rb
Commit message (Collapse)AuthorAgeFilesLines
* clean up some warnings on trunk rubyAaron Patterson2013-10-311-1/+1
|
* Fix some typosVipul A M2013-06-071-1/+1
|
* Replace comments' non-breaking spaces with spacesclaudiob2012-12-041-1/+1
| | | | | | | | | | Sometimes, on Mac OS X, programmers accidentally press Option+Space rather than just Space and don’t see the difference. The problem is that Option+Space writes a non-breaking space (0XA0) rather than a normal space (0x20). This commit removes all the non-breaking spaces inadvertently introduced in the comments of the code.
* update AS docs [ci skip]Francesco Rodriguez2012-09-171-10/+8
|
* explains why the file update checker ignores mtimes in the future, plus a ↵Xavier Noria2012-07-021-2/+12
| | | | little refactor for the same price
* fix FileUpdateChecker when file has wrong mtime (from future)abonec2012-06-291-1/+3
|
* Stop relying on mutable structures in the FileUpdateCheckerJosé Valim2012-06-121-15/+4
|
* 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