influxdata / influxdb-client-ruby

InfluxDB 2.0 Ruby Client

Home Page:https://influxdata.github.io/influxdb-client-ruby/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby 2.2 does not support `.positive?`

niborg opened this issue · comments

I'm on a stack using Ruby 2.2.1. Batch processing fails due to this line in the Worker class.

I don't think Ruby added .positive? or .negative? methods until Ruby 2.3.

Hi @niborg,

The issue is fixed in 1.6.0 milestone.

If you would like to use a preview version use our nightly build: influxdb-client 1.6.0.pre.963.

Regards