igrigorik / http-2

Pure Ruby implementation of HTTP/2 protocol
https://httpwg.github.io/specs/rfc7540.html
MIT License
894 stars 63 forks source link

Fix Ruby 2.7 keyword parameter deprecations #156

Closed jzzocc closed 4 years ago

jzzocc commented 4 years ago

This fixes warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call and warning: Passing the keyword argument as the last hash parameter is deprecated when using Ruby 2.7 (see https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/)

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 97.268% when pulling 1ed3af7d3e531cf383da18ec4f05002da5fc972f on jzzocc:master into 90cbf145cee9add1a0f86b268ac54b31a18002fa on igrigorik:master.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 97.268% when pulling 1ed3af7d3e531cf383da18ec4f05002da5fc972f on jzzocc:master into 90cbf145cee9add1a0f86b268ac54b31a18002fa on igrigorik:master.