1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/cache
Kasper Timm Hansen 969577d960
Refactor #33254.
Firstly, increment and decrement shouldn't care about the particulars of
key expiry. They should only know that they have to pass that responsibility
on to somewhere else.

Secondly, it moves the key normalization back inside the instrumentation like
it was originally. I think that matches the original design intention or at
the very least it lets users catch haywire key truncation.

Thirdly, it moves the changelog entry to the top of the file, where new entries
go. I couldn't understand what the entry was saying so I tried to rewrite it.
2018-07-01 12:46:15 +02:00
..
behaviors Fix test: threads being nil in ensure 2018-04-30 17:32:37 +02:00
stores Refactor #33254. 2018-07-01 12:46:15 +02:00
behaviors.rb Add missing instrumentation to RedisCacheStore#read_multi 2018-02-05 11:57:14 -08:00
cache_entry_test.rb Fix CustomCops/AssertNot to allow it to have failure message 2018-05-13 11:32:47 +09:00
cache_key_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
cache_store_logger_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
cache_store_namespace_test.rb Replace assert ! with assert_not 2018-04-19 08:11:33 -04:00
cache_store_setting_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
local_cache_middleware_test.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00