1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/cache
Ryuta Kamizono 892e38c78e Enable Style/RedundantBegin cop to avoid newly adding redundant begin block
Currently we sometimes find a redundant begin block in code review
(e.g. https://github.com/rails/rails/pull/33604#discussion_r209784205).

I'd like to enable `Style/RedundantBegin` cop to avoid that, since
rescue/else/ensure are allowed inside do/end blocks in Ruby 2.5
(https://bugs.ruby-lang.org/issues/12906), so we'd probably meets with
that situation than before.
2018-12-21 06:12:42 +09:00
..
strategy Fix Cache read_multi with local_cache return values. 2018-03-21 14:16:00 +08:00
file_store.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
mem_cache_store.rb Switch to supports_cache_versioning? check to a class method 2018-09-20 20:40:31 -05:00
memory_store.rb Switch to supports_cache_versioning? check to a class method 2018-09-20 20:40:31 -05:00
null_store.rb Switch to supports_cache_versioning? check to a class method 2018-09-20 20:40:31 -05:00
redis_cache_store.rb Switch to supports_cache_versioning? check to a class method 2018-09-20 20:40:31 -05:00