Suppress keyword arguments warning
Hi,
Since Ruby 2.7, it warns **kwargs
in method signatures and Oga is warned:
/home/kitaitimakoto/src/gitlab.com/yorickpeterse/oga/lib/oga/xml/querying.rb:67: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /home/kitaitimakoto/src/gitlab.com/yorickpeterse/oga/lib/oga/xml/querying.rb:43: warning: The called method `xpath' is defined here
/home/kitaitimakoto/src/gitlab.com/yorickpeterse/oga/spec/oga/xml/querying_spec.rb:22: warning: Passing the keyword argument as the last hash parameter is deprecated /home/kitaitimakoto/src/gitlab.com/yorickpeterse/oga/lib/oga/xml/querying.rb:43: warning: The called method `xpath' is defined here
This patches suppress the warnings.
Thanks.