aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/file_update_checker_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix failing test in file update checkerCarlos Antonio da Silva2012-06-291-2/+3
| | | | | | | | Introduced in 1abe31670fdad2c357b4356b40a4567a46d16693 The test was failing when running on isolation, because the extensions were not being loaded, thus 1.year.from_now was failing. Just use mktime instead, adding 1 year to Time.now.
* fix FileUpdateChecker when file has wrong mtime (from future)abonec2012-06-291-0/+14
|
* the file update checker now also detects removed filesXavier Noria2012-04-031-2/+2
|
* Remove deprecation from AS::Deprecation behavior, some minor cleanupsCarlos Antonio da Silva2012-03-161-2/+2
| | | | | | | | | * 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
* fixed - warning: assigned but unused variable - checkerSandeep2012-03-161-1/+1
|
* escape commas in paths before globbing to avoid infinite hang in Dir[]Jon Rowe2012-03-151-0/+15
|
* removing unnecessary requiresAaron Patterson2012-01-061-2/+1
|
* use AS::TestCase as the base classAaron Patterson2012-01-051-1/+1
|
* FileUpdateChecker should be able to handle deleted files.José Valim2011-12-131-21/+15
|
* Clean up FileUpdateChecker API.José Valim2011-12-131-1/+1
|
* Speed up development by only reloading classes if dependencies files changed.José Valim2011-12-121-0/+13
| | | | | | | | 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-18/+26
|
* Update checker returns a boolean if callback was executed or not.José Valim2011-12-121-7/+6
|
* Allow FileUpdateChecker to work with globs.José Valim2011-12-121-5/+19
|
* Removal require again from tests.Arun Agrawal2011-05-221-1/+0
|
* Add ActiveSupport::FileUpdateChecker.José Valim2010-06-201-0/+56