Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Whitespace | Rafael Mendonça França | 2016-10-25 | 1 | -0/+1 | |
|/ | ||||||
* | Remove the word "mongrel" from documents | Ryunosuke Sato | 2016-09-07 | 1 | -1/+1 | |
| | | | | | | | | | Currently mongrel is not maintained. And it couldn't be built with any Ruby versions that supported by Rails. It is reasonable to remove the word "mongrel" in order to avoid confusion from newcomer. | |||||
* | Merge pull request #25628 from ysksn/options | Rafael Mendonça França | 2016-08-17 | 2 | -4/+4 | |
|\ | | | | | | | Remove parameter "options = nil" for #clear | |||||
| * | Update CHANGELOG.md for #25628 [ci skip] | Yosuke Kabuto | 2016-07-02 | 2 | -4/+4 | |
| | | | | | | | | | | | | Move new CHANGELOG entry top [ci skip] Remove parameter "options = nil" for #clear | |||||
* | | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 4 | -9/+9 | |
| | | | | | | | | | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | |||||
* | | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 | |
| | | ||||||
* | | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -14/+14 | |
| | | ||||||
* | | modernizes hash syntax in activesupport | Xavier Noria | 2016-08-06 | 2 | -5/+5 | |
| | | ||||||
* | | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 5 | -19/+19 | |
|/ | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | |||||
* | Pass over all Rails 5 warnings, to make sure: | Vipul A M | 2016-04-12 | 1 | -1/+1 | |
| | | | | | | | | | | - we are ending sentences properly - fixing of space issues - fixed continuity issues in some sentences. Reverts https://github.com/rails/rails/commit/8fc97d198ef31c1d7a4b9b849b96fc08a667fb02 . This change reverts making sure we add '.' at end of deprecation sentences. This is to keep sentences within Rails itself consistent and with a '.' at the end. | |||||
* | Revert "Instrument read_multi". | Kasper Timm Hansen | 2016-02-20 | 1 | -9/+7 | |
| | | | | | | | | | | | | | | | | | | Reevaluating the log output generated from this instrumentation, we've found that it wasn't all that useful in practice. ``` Caches multi read: - views/david/2/4184ab71db6849621a4d8820fcd2c0ad - views/david/2/4184ab71db6849621a4d8820fcd2c0ad - views/david/3/4184ab71db6849621a4d8820fcd2c0ad - views/david/3/4184ab71db6849621a4d8820fcd2c0ad ``` If rendering many templates the output is inscrutable, and it's impossible to see how many cache misses there were. Revert ca6aba7f30 and implement a better way later. | |||||
* | Merge pull request #22278 from poporul/master | Godfrey Chan | 2016-01-15 | 1 | -3/+9 | |
|\ | | | | | Allow to store .keep file in cache directory | |||||
| * | Allow to store .keep file in cache directory | Alexey Pokhozhaev | 2015-11-13 | 1 | -3/+9 | |
| | | ||||||
* | | Merge pull request #22202 from grosser/grosser/write-consistent | Arthur Nogueira Neves | 2015-12-05 | 1 | -4/+4 | |
|\ \ | | | | | | | even if a write fails, store the raw value | |||||
| * | | even if a write fails, store the raw value | Michael Grosser | 2015-11-29 | 1 | -4/+4 | |
| | | | ||||||
* | | | Merge pull request #22361 from grosser/grosser/rescue | Arthur Nogueira Neves | 2015-11-30 | 1 | -26/+19 | |
|\ \ \ | |/ / |/| | | rescue memcached errors in a consistent way | |||||
| * | | rescue memcached errors in a consistent way | Michael Grosser | 2015-11-29 | 1 | -26/+19 | |
| | | | ||||||
* | | | add deprecations for a smooth transition after #22215 | Michael Grosser | 2015-11-19 | 3 | -3/+27 | |
|/ / | ||||||
* | | keep deprecated namespaced_key in case any subclass uses it | Michael Grosser | 2015-11-10 | 2 | -2/+2 | |
| | | ||||||
* | | send normalized keys to the cache backends so they do not need to manage ↵ | Michael Grosser | 2015-11-10 | 3 | -25/+24 | |
|/ | | | | this themselves | |||||
* | Merge pull request #22216 from grosser/grosser/fast-ret | Rafael França | 2015-11-10 | 1 | -9/+12 | |
|\ | | | | | fast and consistent return when local_cache does not exist | |||||
| * | fast and consistent return when local_cache does not exist | Michael Grosser | 2015-11-07 | 1 | -9/+12 | |
| | | ||||||
* | | Merge pull request #22206 from grosser/grosser/dry | Santiago Pastorino | 2015-11-08 | 1 | -20/+15 | |
|\ \ | |/ |/| | dry up increment/decrement | |||||
| * | dry up increment/decrement | Michael Grosser | 2015-11-07 | 1 | -20/+15 | |
| | | ||||||
* | | do not override fetch on local cache | Michael Grosser | 2015-11-07 | 1 | -9/+5 | |
|/ | | | | | | fetch is supposed to behave differently, this was a mistake merged in https://github.com/rails/rails/pull/22194 | |||||
* | Merge pull request #22193 from grosser/grosser/multi | Eileen M. Uchitelle | 2015-11-06 | 1 | -3/+3 | |
|\ | | | | | call local_cache 1 time instead of 3 times | |||||
| * | call local_cache 1 time instead of 3 times | Michael Grosser | 2015-11-06 | 1 | -3/+3 | |
| | | | | | | | | | | LocalCache read_entry previously called the local_cache method 3 times, now it only calls it once and keeps the result in a local variable. | |||||
* | | use prepend instead of extending every instance | Michael Grosser | 2015-11-06 | 3 | -30/+27 | |
|/ | | | | | extending an instance with a module puts the methods on top of it, prepend does the same but on the class level, so less work for us and more standard way of doing things | |||||
* | Merge pull request #22194 from grosser/grosser/read-nil | Sean Griffin | 2015-11-05 | 1 | -3/+6 | |
|\ | | | | | cache nil replies from backend cache so misses are fast too | |||||
| * | cache nil replies from backend cache so misses are fast too | Michael Grosser | 2015-11-05 | 1 | -3/+6 | |
| | | ||||||
* | | Merge pull request #19889 from cedrics/long-uri-encoded-keys | Sean Griffin | 2015-10-20 | 1 | -3/+4 | |
|\ \ | |/ |/| | FileStore: Long cache keys may result in too long paths due to encoding | |||||
| * | when checking for too long cache keys used the uri encoded fname | Cedric Sohrauer | 2015-04-24 | 1 | -3/+4 | |
| | | ||||||
* | | Merge pull request #20251 from davydovanton/doc-memory-store | Rafael Mendonça França | 2015-05-21 | 2 | -2/+2 | |
|\ \ | | | | | | | Add nodoc label for protected Cache methods | |||||
| * | | [skip ci] Add nodoc label for protected Cache methods | Anton Davydov | 2015-05-22 | 2 | -2/+2 | |
| |/ | ||||||
* / | [skip ci] Update documentation for MemCacheStore::build_mem_cache | Anton Davydov | 2015-05-21 | 1 | -1/+8 | |
|/ | ||||||
* | Allow AS::Cache::FileStore#clear without cache directory | Kohei Suzuki | 2015-04-09 | 1 | -0/+1 | |
| | | | | | | Currently `Rails.cache.clear` raises Errno::ENOENT if it's run just after cloning a new Rails project. It should succeed without removing files or directories. | |||||
* | Doc fix [ci skip] | Sushruth Sivaramakrishnan | 2015-03-05 | 1 | -1/+1 | |
| | ||||||
* | Instrument read_multi. | Kasper Timm Hansen | 2015-02-21 | 1 | -7/+10 | |
| | | | | | | | | | | Adds `read_multi` instrumentation formatted as: Caches multi read: - views/david/2/4184ab71db6849621a4d8820fcd2c0ad - views/david/2/4184ab71db6849621a4d8820fcd2c0ad - views/david/3/4184ab71db6849621a4d8820fcd2c0ad - views/david/3/4184ab71db6849621a4d8820fcd2c0ad | |||||
* | Require rack/utils | Rafael Mendonça França | 2014-08-19 | 1 | -0/+2 | |
| | ||||||
* | Protect against error when parsing parameters with Bad Request | Rafael Mendonça França | 2014-08-19 | 1 | -0/+3 | |
| | | | | Related with #11795. | |||||
* | fix error with long keys in ActiveSupport::Cache::FileStore | Adam Panzer | 2014-06-10 | 1 | -0/+5 | |
| | ||||||
* | Add missing require so requiring `active_support/cache` works again. | Lucas Mazza | 2014-04-09 | 1 | -0/+1 | |
| | ||||||
* | - Rename `increment_or_decrement` to an apt `set_cache_value` since it ↵ | Vipul A M | 2014-03-24 | 1 | -4/+5 | |
| | | | | actually doesn't increment/decrement in localstore. | |||||
* | Extract local cache middleware | Arthur Neves | 2014-02-23 | 2 | -32/+41 | |
| | | | | | Extract LocalCache Middleware, so it can requires rack dependencies, without adding rack dependencies to `AS::Cache::Strategy::LocalCache`. | |||||
* | clear cache on body close so that cache remains during rendering | Aaron Patterson | 2014-01-08 | 1 | -2/+8 | |
| | | | | | | | | fixes #13547 The body may use the local cache during rendering. `call`ing the app doesn't mean that rendering is finished, so we need to wait until `close` is called on the body. | |||||
* | Add 'e' var on rescue DalliError, in order to log it | Arthur Neves | 2014-01-06 | 1 | -2/+2 | |
| | ||||||
* | Raise if MemCacheStore doenst receive a Dalli obj | Arthur Neves | 2014-01-03 | 1 | -0/+3 | |
| | | | | | | :mem_cache_store should receive a list of hosts or a dalli client, otherwise raise it. Also adding a changelog. | |||||
* | mem_cache_store requires dalli, so only accept dalli/client | Arthur Neves | 2014-01-03 | 1 | -6/+1 | |
| | | | | | | | :mem_cache_store require dalli, rescue Dalli exceptions, and follow Dalli API. Memcached gem, for instance, doesnt work anymore, as the API are different. As we already require one client, we should make sure that client works, and not accept others, and if someone wants to use another memcache client they can write their own store adapter. | |||||
* | Copy-edit the parent commit | Rafael Mendonça França | 2013-12-12 | 1 | -6/+8 | |
| | ||||||
* | Merge pull request #13268 from aayushkhandelwal11/master | Rafael Mendonça França | 2013-12-12 | 1 | -22/+16 | |
|\ | | | | | | | Moving the common code of increment and decrement of cache file store in... |