Skip to content

Commit

Permalink
Merge pull request #260 from oieioi/ruby-2.7
Browse files Browse the repository at this point in the history
Suppress Ruby 2.7's warning about keyword arguments
  • Loading branch information
gazay authored May 14, 2020
2 parents e5bbbd8 + a067b56 commit 9924c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gon/spec_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Rails

module ClassMethods
module GonSession
def process(*)
def process(*, **)
# preload threadlocal & store controller instance
if controller.is_a? ActionController::Base
controller.gon
Expand Down

0 comments on commit 9924c70

Please sign in to comment.