We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
&.
**options
1 parent 44cc2e7 commit 83a8721Copy full SHA for 83a8721
activesupport/lib/active_support/messages/rotation_configuration.rb
@@ -10,19 +10,12 @@ def initialize
10
end
11
12
def rotate(kind, *args, **options)
13
+ args << options unless options.empty?
14
case kind
15
when :signed
- if options&.any?
16
- @signed << (args << options)
17
- else
18
- @signed << args
19
- end
+ @signed << args
20
when :encrypted
21
22
- @encrypted << (args << options)
23
24
- @encrypted << args
25
+ @encrypted << args
26
27
28
0 commit comments