aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/file_update_checker_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-2/+2
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* applies code style guidelinesXavier Noria2015-11-111-1/+1
|
* renames the module with shared tests for file monitorsXavier Noria2015-11-101-2/+2
|
* improves waiting in the file monitors suiteXavier Noria2015-11-091-0/+9
|
* renames the monitor creation helperXavier Noria2015-11-081-1/+1
|
* refactors the file monitors test suiteXavier Noria2015-11-081-3/+1
| | | | | In particular files are no longer created in the current working directory, but in a temporary folder.
* remove unused constants in the file monitor suitesXavier Noria2015-11-081-2/+0
|
* initial edit pass over the evented file checker patchXavier Noria2015-11-081-2/+3
|
* implements an evented file update checker [Puneet Agarwal]Xavier Noria2015-11-081-103/+4
| | | | | | | | | | | | This is the implementation of the file update checker written by Puneet Agarwal for GSoC 2015 (except for the tiny version of the listen gem, which was 3.0.2 in the original patch). Puneet's branch became too out of sync with upstream. This is the final work in one single clean commit. Credit goes in the first line using a convention understood by the contrib app.
* 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