mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
These options
are not defined as keyword arguments
Fixes Ruby 2.6 warnings
This commit is contained in:
parent
c8e7f3ca7b
commit
3f27aa8cdf
2 changed files with 3 additions and 3 deletions
|
@ -327,7 +327,7 @@ module ActiveSupport
|
|||
end
|
||||
|
||||
if entry
|
||||
get_entry_value(entry, name, **options)
|
||||
get_entry_value(entry, name, options)
|
||||
else
|
||||
save_block_result_to_cache(name, **options) { |_name| yield _name }
|
||||
end
|
||||
|
@ -448,7 +448,7 @@ module ActiveSupport
|
|||
payload[:hits] = reads.keys
|
||||
payload[:super_operation] = :fetch_multi
|
||||
|
||||
write_multi(writes, **options)
|
||||
write_multi(writes, options)
|
||||
|
||||
ordered
|
||||
end
|
||||
|
|
|
@ -162,7 +162,7 @@ module ActiveSupport
|
|||
cache = local_cache
|
||||
cache.mute do
|
||||
if value
|
||||
cache.write(name, value, **options)
|
||||
cache.write(name, value, options)
|
||||
else
|
||||
cache.delete(name, **options)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue