Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Active Support] require_relative => require | Akira Matsuda | 2017-10-21 | 1 | -1/+1 |
| | | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc | ||||
* | [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment` | Koichi ITO | 2017-07-11 | 1 | -0/+1 |
| | |||||
* | Use frozen-string-literal in ActiveSupport | Kir Shatrov | 2017-07-09 | 1 | -0/+1 |
| | |||||
* | [Active Support] require => require_relative | Akira Matsuda | 2017-07-01 | 1 | -1/+1 |
| | |||||
* | Raise in the initialize not in the execute | Rafael Mendonça França | 2017-01-31 | 1 | -5/+5 |
| | |||||
* | Raise an error if FileUpdateChecker#execute is called with no block | kenta-s | 2017-01-28 | 1 | -1/+5 |
| | |||||
* | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -1/+1 |
| | |||||
* | Fix broken comments indentation caused by rubocop auto-correct [ci skip] | Ryuta Kamizono | 2016-09-14 | 1 | -7/+7 |
| | | | | | | All indentation was normalized by rubocop auto-correct at 80e66cc4d90bf8c15d1a5f6e3152e90147f00772. But comments was still kept absolute position. This commit aligns comments with method definitions for consistency. | ||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -43/+43 |
| | |||||
* | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Remove time calculatiosn extension | Rafael Mendonça França | 2016-04-13 | 1 | -0/+2 |
| | | | | We are using compare_without_coercion. | ||||
* | copy edits some comments [ci skip] | Xavier Noria | 2016-04-12 | 1 | -8/+5 |
| | | | | | | | Note that the fact that mtimes in the future are ignore was documented just a few lines above. Since we know this has to be done, and the code is quite clear due to variable naming, I think we can get rid of the comment in the middle of the loop and shorten it even further. | ||||
* | No more need for an early return | Blake Mesdag | 2016-04-12 | 1 | -2/+0 |
| | |||||
* | More readable version | Blake Mesdag | 2016-04-12 | 1 | -13/+10 |
| | |||||
* | Handle max_time edge cases for epoch times and add test | Blake Mesdag | 2016-04-12 | 1 | -3/+12 |
| | |||||
* | Use Time#compare_without_coercion for super speed | Blake Mesdag | 2016-04-12 | 1 | -1/+6 |
| | |||||
* | Use a single memoized loop to find max mtime in ↵ | Blake Mesdag | 2016-04-12 | 1 | -1/+12 |
| | | | | ActiveSupport::FileUpdateChecker#max_mtime | ||||
* | use `ActiveSupport::Reloader.to_prepare` instead of deprecated ↵ | yuuji.yaginuma | 2016-03-11 | 1 | -1/+1 |
| | | | | `ActionDispatch::Reloader.to_prepare` [ci skip] | ||||
* | Publish AS::Executor and AS::Reloader APIs | Matthew Draper | 2016-03-02 | 1 | -0/+1 |
| | | | | | | These should allow external code to run blocks of user code to do "work", at a similar unit size to a web request, without needing to get intimate with ActionDipatch. | ||||
* | applies code style guidelines | Xavier Noria | 2015-11-11 | 1 | -1/+1 |
| | |||||
* | clean up some warnings on trunk ruby | Aaron Patterson | 2013-10-31 | 1 | -1/+1 |
| | |||||
* | Fix some typos | Vipul A M | 2013-06-07 | 1 | -1/+1 |
| | |||||
* | Replace comments' non-breaking spaces with spaces | claudiob | 2012-12-04 | 1 | -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 Rodriguez | 2012-09-17 | 1 | -10/+8 |
| | |||||
* | explains why the file update checker ignores mtimes in the future, plus a ↵ | Xavier Noria | 2012-07-02 | 1 | -2/+12 |
| | | | | little refactor for the same price | ||||
* | fix FileUpdateChecker when file has wrong mtime (from future) | abonec | 2012-06-29 | 1 | -1/+3 |
| | |||||
* | Stop relying on mutable structures in the FileUpdateChecker | José Valim | 2012-06-12 | 1 | -15/+4 |
| | |||||
* | Initialize variables in file update checker to avoid warnings | Carlos Antonio da Silva | 2012-04-05 | 1 | -0/+3 |
| | |||||
* | the file update checker now also detects removed files | Xavier Noria | 2012-04-03 | 1 | -24/+38 |
| | |||||
* | Remove deprecation from AS::Deprecation behavior, some minor cleanups | Carlos Antonio da Silva | 2012-03-16 | 1 | -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 Rowe | 2012-03-15 | 1 | -1/+5 |
| | |||||
* | Remove Array.wrap calls in ActiveSupport | Rafael Mendonça França | 2012-01-06 | 1 | -2/+1 |
| | |||||
* | FileUpdateChecker should be able to handle deleted files. | José Valim | 2011-12-13 | 1 | -28/+45 |
| | |||||
* | Clean up FileUpdateChecker API. | José Valim | 2011-12-13 | 1 | -12/+13 |
| | |||||
* | Speed up development by only reloading classes if dependencies files changed. | José Valim | 2011-12-12 | 1 | -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é Valim | 2011-12-12 | 1 | -2/+41 |
| | |||||
* | Update checker returns a boolean if callback was executed or not. | José Valim | 2011-12-12 | 1 | -0/+3 |
| | |||||
* | Allow FileUpdateChecker to work with globs. | José Valim | 2011-12-12 | 1 | -1/+3 |
| | |||||
* | Use shorter class-level File methods instead of going through File.stat. | thedarkone | 2011-07-25 | 1 | -1/+1 |
| | |||||
* | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare | John Firebaugh | 2010-12-20 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 1 | -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 ↵ | rohit | 2010-06-21 | 1 | -2/+2 |
| | | | | | | test suite. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add ActiveSupport::FileUpdateChecker. | José Valim | 2010-06-20 | 1 | -0/+37 |