JsonApiClient / json_api_client

Build client libraries compliant with specification defined by jsonapi.org
MIT License
362 stars 186 forks source link

fix warnings #371

Closed dpep closed 4 years ago

dpep commented 4 years ago

Ruby 2.7 deprecates automatic conversion from a hash to keyword arguments https://blog.saeloun.com/2019/10/07/ruby-2-7-keyword-arguments-redesign.html

fixing those up, plus one more I noticed in the logs from https://github.com/JsonApiClient/json_api_client/pull/370#issuecomment-683349721 / https://travis-ci.org/github/JsonApiClient/json_api_client/jobs/722402404

thanks @sharshenov