InfluxCommunity / influxdb-ruby

Ruby client for InfluxDB
MIT License
370 stars 133 forks source link

Updated usage of kwargs for Ruby 3.0 #247

Closed paul closed 3 years ago

paul commented 3 years ago

Pretty standard fixes that were warnings in Ruby 2.7. The only interesting part was in Config spec, I had to split the args array into kwargs manually.

Further reading: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

Fixes #245

paul commented 3 years ago

It looks like your travis build has errors with rvm...