aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix instance variable not defined warning from Active Support test suiteJuanitoFatas2015-11-121-1/+1
| | | | | | | | | | Before ./Users/Juan/dev/rails/activesupport/test/file_update_checker_shared_tests.rb:20: warning: instance variable @tmpdir not initialized After No warnings
* base (refined) Pathname#ascendant_of? also on Pathname#ascendXavier Noria2015-11-121-7/+2
| | | | | | | | | A small rewrite in a last attempt at writing obvious and portable code without manual string manipulation. Note that Pathname#== uses string comparison on Windows, so if client code passes "C:\foo" and "c:/foo/bar" the predicate won't see the former is an ascendant of the latter. Risky business.
* Merge pull request #22269 from dharamgollapudi/patch-1Xavier Noria2015-11-111-1/+1
|\ | | | | Use the file watcher defined by the app config
| * Use the file watcher defined by the app configDharam Gollapudi2015-11-111-1/+1
|/ | | This can make use of the FileEventedUpdateChecker, if available.
* let filter_out_descendants do less passesXavier Noria2015-11-111-9/+9
| | | | | | Whatever the inner loop selects, we already know is a descendant and can be filtered out right away from dirs_sorted_by_nparts to skip useless iterations.
* Merge pull request #22264 from rails/fix-21230Rafael França2015-11-111-1/+5
|\ | | | | Show middleware classes on /rails/info/properties
| * Show middleware classes on /rails/info/propertiesclaudiob2015-11-111-1/+5
|/ | | | | | | Closes #21230 by following the indication of @rafaelfranca: > I think the output change would be simpler. > What is really important to show is the class of the middleware, so we should change the output to show that.
* Merge pull request #22258 from rymai/patch-1Claudio B2015-11-111-1/+1
|\ | | | | Fix typo: "in" should be "is"
| * Fix typo: "in" should be "is"Rémy Coutable2015-11-111-1/+1
| |
* | revises the implementation of Pathname#ascendant_of? (in refinement)Xavier Noria2015-11-112-1/+37
|/
* normalizes spacing in a CHANGELOG [ci skip]Xavier Noria2015-11-111-6/+6
|
* Merge branch 'fxn-master'Xavier Noria2015-11-1113-105/+581
|\
| * update docs for MessageEncryptor#new to recommend a KDF [ci skip]Paul Kehrer2015-11-111-2/+2
| |
| * Add days_in_year methodJon Pascoe2015-11-113-3/+33
| |
| * Fix week_field returning invalid valueChristoph2015-11-113-5/+16
| | | | | | | | | | | | | | According to the W3 spec[1] the value should use a 1-based index and not a 0-based index for the week number. [1]: http://www.w3.org/TR/html-markup/datatypes.html#form.data.week
| * Minor fix in Module#mattr_reader documentationYuri Kasperovich2015-11-111-1/+1
| |
| * Clarify i18n active[model/record] key differencesJames Coleman2015-11-111-0/+2
| | | | | | | | I spent a decent amount of time the other day trying to figure out why my active model including class wasn't generating the properly localized validation messages, and a note like this would have saved me a lot of time.
| * fast and consistent return when local_cache does not existMichael Grosser2015-11-111-9/+12
| |
| * modernizes the test definitions in the file monitors suiteXavier Noria2015-11-111-16/+17
| |
| * applies code style guidelinesXavier Noria2015-11-115-14/+14
| |
| * simplifies the implementation of #watching?Xavier Noria2015-11-111-16/+12
| |
| * simplifies directories_to_watchXavier Noria2015-11-111-7/+4
| |
| * registers these changes in the CHANGELOGsXavier Noria2015-11-112-0/+16
| |
| * adds a comment about how does filter_out_descendants preserve orderXavier Noria2015-11-111-0/+1
| |
| * rewrites bare loop as untilXavier Noria2015-11-111-3/+1
| |
| * simplifies the implementation of existing parentXavier Noria2015-11-101-13/+2
| |
| * indents private methods as per our guidelinesXavier Noria2015-11-101-28/+28
| |
| * encapsulates the logic to choose the file monitor in app configXavier Noria2015-11-101-1/+9
| |
| * renames the module with shared tests for file monitorsXavier Noria2015-11-103-5/+5
| |
| * simplifies PathHelper with a Pathname refinementXavier Noria2015-11-101-22/+22
| |
| * the evented monitor filters out descendantsXavier Noria2015-11-102-10/+66
| |
| * better tmp file management in the monitors suiteXavier Noria2015-11-101-36/+88
| |
| * adds another test case in the monitors suiteXavier Noria2015-11-101-1/+17
| |
| * editorial pass over test method namesXavier Noria2015-11-091-5/+5
| |
| * improves waiting in the file monitors suiteXavier Noria2015-11-093-23/+21
| |
| * adds more tests for the file monitorsXavier Noria2015-11-091-0/+60
| |
| * s/watcher/checker/gXavier Noria2015-11-081-3/+3
| | | | | | | | "checker" is the name being used everywhere.
| * more ad-hoc sleepsXavier Noria2015-11-081-2/+4
| | | | | | | | This sucks, but otherwise I get occasional Fs on Mac OS X.
| * create the tmpdir under testXavier Noria2015-11-081-1/+1
| | | | | | | | | | Mac OS X tries by all means to hide that /var is /private/var, and that is what FSEvents reports back.
| * encapsulate sleep margin when touching filesXavier Noria2015-11-081-5/+6
| |
| * renames the monitor creation helperXavier Noria2015-11-083-11/+11
| |
| * refactors the file monitors test suiteXavier Noria2015-11-083-57/+47
| | | | | | | | | | In particular files are no longer created in the current working directory, but in a temporary folder.
| * let listen stop all listeners on teardownXavier Noria2015-11-081-0/+5
| |
| * s/@modified/@updated/gXavier Noria2015-11-081-6/+6
| |
| * stop ascending at the longest common subpathXavier Noria2015-11-082-33/+126
| | | | | | | | This commit also bases everything on Pathname internally.
| * remove unused constants in the file monitor suitesXavier Noria2015-11-082-4/+0
| |
| * upgrade listen to 3.0.4Xavier Noria2015-11-084-5/+5
| | | | | | | | 3.0.3 has a bug in OS X.
| * document the evented file system monitor opt-in in the config guide [ci skip]Xavier Noria2015-11-081-0/+22
| |
| * remove explicit File.expand_path callXavier Noria2015-11-081-1/+1
| |
| * no need to have access to the listenerXavier Noria2015-11-081-4/+1
| |